Code:
whois $nick
    raw 311:*: { set %addvar2 ($gettok($+($3,@,$4),1,46),2,64) }
    ;  set %addvar2 $gettok($address($nick,2),2,64)
    set %addvar1 $gettok(%addvar2,1,46)
    set %qvar1 $2
    set %qvar2 $gettok($2,1,35)
    set %qnick4 $nick

I am writing out a bot for a company. I am using an on Text to set these vars but I am having a problem with this nick.
talent-prostar is ~talent@pRoStAr-.user.gamesurge
for some reason $address($nick,2) wont work and neither will the current script above work. It will not set his name in a var and I cant find the reason why. :|