mIRC Home    About    Download    Register    News    Help

Print Thread
#2647 19/12/02 10:40 PM
E
EClaw
EClaw
E
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
W
watcher
watcher
W
Code:
on ^*:open:?:{ if [L]* !iswm $nick || [L-*]* !iswm $nick { halt } }
smile

#2649 19/12/02 10:55 PM
E
EClaw
EClaw
E
sry missundastood =)

Last edited by EClaw; 19/12/02 10:56 PM.
#2650 20/12/02 12:12 PM
W
wyx
wyx
W
try to not used * wildcard behind [L] and [L*]

#2651 20/12/02 07:37 PM
E
EClaw
EClaw
E
thanks watcher, it works that way


Link Copied to Clipboard