mIRC Homepage

Queryblocker

Posted By: EClaw

Queryblocker - 19/12/02 10:40 PM

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 =)
Posted By: watcher

Re: Queryblocker - 19/12/02 10:52 PM

Code:
on ^*:open:?:{ if [L]* !iswm $nick || [L-*]* !iswm $nick { halt } }
smile
Posted By: EClaw

Re: Queryblocker - 19/12/02 10:55 PM

sry missundastood =)
Posted By: wyx

Re: Queryblocker - 20/12/02 12:12 PM

try to not used * wildcard behind [L] and [L*]
Posted By: EClaw

Re: Queryblocker - 20/12/02 07:37 PM

thanks watcher, it works that way
© 2019 mIRC Discussion Forums