mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: May 2006
Posts: 87
S
Babel fish
OP Offline
Babel fish
S
Joined: May 2006
Posts: 87
Code:
on *:text:*!begin*:#: {
  if (($1 == %c $+ !begin) && (!$var($+(%,$nick),1))) {
    set $+(%,$nick) 50 | msg $chan Thanks for signing up!  You have been given 50 tokens.  Type in !stash
  }
  else {
    msg $chan Sorry, but you already have your 50 tokens.
  }
}


That is a code I have used before. Now instead of setting this variable with $nick I want to use the address.

(!$var($+(%,$mask(address,2)),1)))

Would something like that work? So basically, instead of using $nick, I want to use address 2 (*!*@host).

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Use $address($nick,2) in place of $nick


Invision Support
#Invision on irc.irchighway.net

Link Copied to Clipboard