mIRC Home    About    Download    Register    News    Help

Print Thread
#133484 21/10/05 05:34 AM
Joined: Oct 2005
Posts: 1
G
geegee Offline OP
Mostly harmless
OP Offline
Mostly harmless
G
Joined: Oct 2005
Posts: 1
Hey,

Need help with this simple script:

on *:JOIN:*#lol,#newb*: { //msg $chan LOL@ $nick }

where $nick = a specific name or hostmask. Help appreciated greatly.

Thanks.

#133485 21/10/05 05:44 AM
Joined: Mar 2005
Posts: 420
X
Fjord artisan
Offline
Fjord artisan
X
Joined: Mar 2005
Posts: 420
Here's for a specific nick, you would use the operator "=="

Code:
 on *:JOIN:#lol,#newb: { 
   if ( $nick == NICK ) msg $chan LOL@ $nick 
} 


For a specific host

Code:
 on *:JOIN:#lol,#newb: { 
   if ( $wildsite == *!*@host ) msg $chan LOL@ $nick 
} 


If you want to use wildcards for the nick/host, use "iswm"

Code:
 on *:JOIN:#lol,#newb: { 
   if ( *NICK* iswm $nick ) msg $chan LOL@ $nick 
} 


See /help ==
/help iswm


If you have a plastic floor runner over your tiles, then you're one Hella Pinoy!

Link Copied to Clipboard