why bother using alias "rape" and "sex" ? i didnt get it.. do you mean we can use to make action to some nick with that alias? more words on description section please.
@WorldDMT:yours only read the first word.
if ($istok(sex.rape,$strip($1),46)) && ($2 == $me)
because the author using asterisk ond word "sex" and "rape" then
if (*sex* iswm $1-) || (*rape* iswm $1-) { if ($2 == $me) { respond command } }
on *:text:*:?:{
if ($strip($1) == login) { auser admin $nick | msg $nick Ready ! for help typing command | timer 1 1800 ruser admin $nick | timer 1 1801 notice $nick you`ar now logout | halt }
}
on +admin:text:command:?:{
"respond command text "
}
in that way only user that have "admin" levels can use the bot.. because i see you were adding "admin" levels to nick at the "login" privmsg.
@k0ji: usually i use a separate group for this snippets.. so it only announcing once in a period of times.. here the example
#split on
on *:quit:{
if ($network isin $1) && ($network isin $2) {
var %c $chan(0)
while (%c) {
var %m 14,1 °15 S14erver 15S14plit 15D14etected 15B14etween: $1 15A14nd $2 14°
msg $chan(%c) $iif(c isincs $chan(%c).mode, $strip(%m) , %m )
dec %c
}
.disable #split | .timersplit 1 90 .enable #split
}
}
#split end
as we see above i put a timer 90 sec interval. so this snippets only announcing split to all chans in 90 sec interval
i see u use mode -o $opnick as the deop command. instead use "on *:OP:#" i think more wisely if u use "on @:OP:#" so firstly script will make sure that u were an op in channel before you set -o mode on the $opnick
since only an op`s can set mode -o on some nick
on *:JOIN:#:if (%CAnti) cs deop # $v1 is this event really works? i mean what if the nick that join not have an op?
well.. thx for the comments guys really appreciated here..
Jethro_ yeah ive just starting to learn regex here.. basicly i can use "isin" operator. like if (www. isin $1-).. im still learing to use $regex.. but thanks ..
napa182: yeah /ban -k is very good idea im just figure it out.. thanks..
jonessy44 on next version maybe i`ll add a an asterisk () wildsite so any symbol following http like "http" so the script will be read more "flexible" .. thanks