mIRC Home    About    Download    Register    News    Help

Print Thread
Auto check if I responded in timeframe #255769 20/11/15 03:15 PM
Joined: Aug 2012
Posts: 59
Maelish Offline OP
Babel fish
OP Offline
Babel fish
Joined: Aug 2012
Posts: 59
I was trying to determine how to block an automated greeting if I have already responded within a time frame. So for instance if I have said `good morning` in the last hour, then my greeting script wouldn't respond.

Any good ideas how to do that?


Find Gamers, my player finder for tabletop RPGers and Wargamers.
Re: Auto check if I responded in timeframe [Re: Maelish] #255771 20/11/15 04:25 PM
Joined: May 2015
Posts: 133
K
keyeslol Offline
Vogon poet
Offline
Vogon poet
K
Joined: May 2015
Posts: 133
I would just set a $nick flood for 3600 seconds.

Code:
set -u3600 %floodcounter. $+ $nick On


twitter @keyeslol