mIRC Home    About    Download    Register    News    Help

Print Thread
bad word kick #159080 13/09/06 03:52 PM
Joined: Jan 2006
Posts: 40
D
DjJax Offline OP
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Jan 2006
Posts: 40
on 1:text:*:#: {
set %palabras $gettok($1,1,32)
if %palabras iswm $1- { .mode # +b $nick | kick # $nick has dicho $1- }
}

set %palabras fool mother boobs

doesnt works , can you helpme

thnx

Re: bad word kick #159081 13/09/06 04:26 PM
Joined: Dec 2005
Posts: 58
S
SCNDRL Offline
Babel fish
Offline
Babel fish
S
Joined: Dec 2005
Posts: 58
Code:
on *:text:*:#: {
var %i 1
while %i <= $numtok(%palabras,32) {
if ($gettok(%palabras,%i,32) isin $strip($1-)) { ban -k $nick has dicho $1- | return }
inc %i
}
}


UNTESTED


i like that