[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  General
. . -> [Subject]  help with trigger/variables

help with trigger/variables

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


Posted by Belzebuth   (5 posts)  [Biography] 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 :)
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] 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
[Go to top] top

Posted by Belzebuth   (5 posts)  [Biography] 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
[Go to top] top

Posted by Nick Gammon   Australia  (22,975 posts)  [Biography] 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
[Go to top] top

Posted by Flannel   USA  (1,230 posts)  [Biography] 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.
[Go to top] top

Posted by Belzebuth   (5 posts)  [Biography] 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
[Go to top] 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.


14,975 views.

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

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

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

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at HostDash]