mIRC Homepage
Posted By: pheonix scan owner - 06/05/03 09:44 PM
for all you newbie scripters this is quite a handy shortcut
code:

on admin:TEXT:`owner*:#:{
var %i 1
while (%i <= $nick($chan,0)) {
if ($2 iswm $nick($chan,%i)) {
mode # +q $nick($chan,%i)
}
inc %i
}
}




this is used as follows:


`owner bl* would scan the room for the letters bl in nicknames and anything after them and owner them if found.
(bl* for e.g would owner blah).
`owner *bl would scan the room for the letters bl in nicknames and anything before them and owner them if found.(*bl for e.g would owner umbl).
`owner *bl* would scan the room for the letters bl in nicknames and anything either side of it and owner them if found. (*bl* for e.g would owner cable).
cool
Posted By: Haze Re: scan owner - 06/05/03 10:58 PM
This is hella tite saves alot of sh*t in the end, nice 1 i like cool
Posted By: pheonix Re: scan owner - 07/05/03 09:00 AM
smile
Posted By: pheonix Re: scan owner - 07/05/03 09:44 AM
this works with many other things as well eg kick,ban,host,/auser etc
© mIRC Discussion Forums