mIRC Home    About    Download    Register    News    Help

Print Thread
#2647 19/12/02 10:40 PM
Joined: Dec 2002
Posts: 5
E
EClaw Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
E
Joined: Dec 2002
Posts: 5
i do need something that blocks querys form everybody but ppl who have [L] or [L-*] at the beginning of their name...

my script looks like this

on *:open:?:{
if ([L]* iswm $nick) { goto middle }
if ([L-*]* iswm $nick) { goto middle }
if (%queryblock == 1) { msg $nick Your Query is blocked ( auto msg ) | close -m $nick | halt }
:middle
msg $nick Hello $nick !
}

i tried isin instead of iswm, but that didnt work too
plz help =)

#2648 19/12/02 10:52 PM
Joined: Dec 2002
Posts: 18
W
Pikka bird
Offline
Pikka bird
W
Joined: Dec 2002
Posts: 18
Code:
on ^*:open:?:{ if [L]* !iswm $nick || [L-*]* !iswm $nick { halt } }
smile


-watcher
#2649 19/12/02 10:55 PM
Joined: Dec 2002
Posts: 5
E
EClaw Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
E
Joined: Dec 2002
Posts: 5
sry missundastood =)

Last edited by EClaw; 19/12/02 10:56 PM.
#2650 20/12/02 12:12 PM
Joined: Dec 2002
Posts: 75
wyx Offline
Babel fish
Offline
Babel fish
Joined: Dec 2002
Posts: 75
try to not used * wildcard behind [L] and [L*]


-= Win 95 Virusses =-
-= Try To Infecting Virus =-
#2651 20/12/02 07:37 PM
Joined: Dec 2002
Posts: 5
E
EClaw Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
E
Joined: Dec 2002
Posts: 5
thanks watcher, it works that way


Link Copied to Clipboard