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).