mIRC Home    About    Download    Register    News    Help

Print Thread
#255611 09/11/15 08:14 PM
Joined: Aug 2015
Posts: 19
S
Pikka bird
OP Offline
Pikka bird
S
Joined: Aug 2015
Posts: 19
Im currently using this script to time someone out:
on $*:TEXT:/\d{6,8}/:#: { msg $chan /timeout $nick 1 }

It works perfectly but i want it to add a message like $nick ---> no level requests [warning] the first time and the second time they do it i want it to be $nick ---> no level requests [timeout] (600 seconds)

How do i do that?

Joined: Sep 2014
Posts: 259
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Sep 2014
Posts: 259
When they get the warning you need to store that info somewhere. For example in a .ini file http://en.wikichip.org/wiki/mirc/ini_files

At the beginning of that text event you have, you should make an IF statement that checks if their name is in the .ini file


Link Copied to Clipboard