help with trigger/variables

Posted by Belzebuth on Sat 20 Nov 2004 05:34 PM — 6 posts, 23,244 views.

#0
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 :)
USA #1
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?
#2
i'm trying to see how many tomes the trigger was triggerd
Australia Forum Administrator #3
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.
USA #4
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).
#5
i found the solution, was posted before , i dindn't know what exactly to look for, so soory for any inconvinience

thank