Another Boring Math Question (With a Twist)

Posted by Invariel on Tue 01 Jun 2004 03:42 PM — 2 posts, 10,470 views.

Canada #0
Every time I hit enter, I get the following MUD status line, which I have triggered to toss to my status bar:
HP: * CP: * Cash: * XP: */*

What I would like to see in my status bar is:
HP: %1 CP: %2 Cash: %3 XP: %4 To Goal: (%5 - %4)

I've tried looking at the other posts of this sort, but can't seem to get anything to work. I don't do the script thing, but would really like to see this working.

Thanks, in advance.
USA #1
Sent To: Script
Send:
SetStatus "HP: %1 CP: %2 Cash: %3 XP: %4 To Goal: " & (Cint(%5) - Cint(%4))