Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to "verify" your details, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.
 Entire forum ➜ MUSHclient ➜ Jscript ➜ script based report command help

script based report command help

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by NinjaKick   USA  (17 posts)  Bio
Date Thu 17 Nov 2005 09:37 AM (UTC)
Message
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?

I'm tired.
Top

Posted by Nick Gammon   Australia  (23,057 posts)  Bio   Forum Administrator
Date Reply #1 on Tue 22 Nov 2005 06:31 AM (UTC)
Message
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.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


9,674 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.