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, confirm your email, resolve issues, 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.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ General ➜ help with trigger/variables

help with trigger/variables

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


Posted by Belzebuth   (5 posts)  Bio
Date Sat 20 Nov 2004 05:34 PM (UTC)
Message
hi
i wanna know how can i count a variable, or a trigger?
ik i check keep evaluatin, it mach me that trigeer but i lost all information when i quit the program. all i want is to keep counting something whithout any looses of infos.
if anyone understand me, any help will be great
thanks :)
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #1 on Sat 20 Nov 2004 09:57 PM (UTC)
Message
Are you trying to count how many times the trigger was triggered, or how many times the variable was accessed? What exactly are you trying to do?

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Belzebuth   (5 posts)  Bio
Date Reply #2 on Sun 21 Nov 2004 08:07 AM (UTC)
Message
i'm trying to see how many tomes the trigger was triggerd
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #3 on Sun 21 Nov 2004 08:11 PM (UTC)
Message
See:

http://www.gammon.com.au/scripts/doc.php?function=GetTriggerInfo

Selector 21 tells you how many times the trigger matched. You could save that by writing a small script for "world close" and save it to a variable or a file.

- Nick Gammon

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

Posted by Flannel   USA  (1,230 posts)  Bio
Date Reply #4 on Sun 21 Nov 2004 09:05 PM (UTC)
Message
Or you can just increment a variable. Since I think thats what you're asking about anyway. Keeping track of how many times someone says something, or how many [somethings] there have been (recent examples).

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
Top

Posted by Belzebuth   (5 posts)  Bio
Date Reply #5 on Mon 22 Nov 2004 05:30 AM (UTC)
Message
i found the solution, was posted before , i dindn't know what exactly to look for, so soory for any inconvinience

thank
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.


22,378 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.