mIRC Home    About    Download    Register    News    Help

Print Thread
#259612 03/01/17 01:44 PM
Joined: Dec 2016
Posts: 16
H
Hazman Offline OP
Pikka bird
OP Offline
Pikka bird
H
Joined: Dec 2016
Posts: 16
Anyone have a script that can target a user who uses a specific word in a sentence and time them out for certain amount of seconds?
on *:TEXT:word:#channel: {
msg $chan /timeout $nick 600
}
this one doesn't work when they use the key word in a sentence. frown

Joined: Feb 2015
Posts: 243
O
Fjord artisan
Offline
Fjord artisan
O
Joined: Feb 2015
Posts: 243
If it's a certain word and not a list of words you are in the right way.. Just a minor change...
Code:
on *:TEXT:*word*:#channel: {
msg $chan /timeout $nick 600 
}

Your script would trigger when the message was single word.

Last edited by OrFeAsGr; 03/01/17 01:58 PM.
Joined: Dec 2016
Posts: 16
H
Hazman Offline OP
Pikka bird
OP Offline
Pikka bird
H
Joined: Dec 2016
Posts: 16
Thanks I appreciate it smile


Link Copied to Clipboard