I have searched the .tcl page for a trigger script but I did not see one that included the following. I'd like a simple trigger script to send a line or two of text to a particular channel when specified !trigger is typed. That part I have found. I was wondering if there was one that had a pre-determined time limit before the !trigger could be used again to prevent someone from typing !trigger repeatedly? Or even being to set it so only certain users are able to USE the !trigger. Not determined by user flags, but nicks themselves.
Last edited by DrTongue on Tue May 06, 2003 3:20 pm, edited 1 time in total.
Store the time it was triggered ([clock seconds] or [unixtime]) in a global variable and check if that time + delay > current time each time the proc is triggered.
Thank you both for responding. Unfortunetly I am not up to that level of .tcl yet as to write my own. I also do not expect anyone to write it FOR me, was just wondering if there was one like this already in exsistance out there somewhere.