mIRC Home    About    Download    Register    News    Help

Print Thread
#22805 06/05/03 09:44 PM
Joined: May 2003
Posts: 2,265
P
pheonix Offline OP
Hoopy frood
OP Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
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

Last edited by pheonix; 06/05/03 09:46 PM.

new username: tidy_trax
#22806 06/05/03 10:58 PM
Joined: Apr 2003
Posts: 23
H
Ameglian cow
Offline
Ameglian cow
H
Joined: Apr 2003
Posts: 23
This is hella tite saves alot of sh*t in the end, nice 1 i like cool

#22807 07/05/03 09:00 AM
Joined: May 2003
Posts: 2,265
P
pheonix Offline OP
Hoopy frood
OP Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
smile


new username: tidy_trax
#22808 07/05/03 09:44 AM
Joined: May 2003
Posts: 2,265
P
pheonix Offline OP
Hoopy frood
OP Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
this works with many other things as well eg kick,ban,host,/auser etc


new username: tidy_trax

Link Copied to Clipboard