script based report command help

Posted by NinjaKick on Thu 17 Nov 2005 09:37 AM — 2 posts, 12,701 views.

USA #0
I really suck at these scripts.. And I'm trying to make it so it moniter my prompts if that's not too insanely slow and check for differences in my stats, and if there is one, to change the variables.. Then when I type report it will output to the mud my stats.. such as:

<I 359/1073hp 725/3696m 762mv 1942tnl>

Then I get hit so now I'm at:

<I 259/1073hp 725/3696m 762mv 1942tnl>

So it would se that there is a change and change the variables it has stored.


now when I type report, it calls on those variables to output them like so:

report ;
emote reports, 'I have 259/1073hp 725/3696m 762mv and I need 1942 till my next level.'


Is this possible?
Australia Forum Administrator #1
I don't see why you need to monitor when they change. You can simply store the prompt each time you get it. You could probably do that with a minimal amount of scripting.