If you made that script, you should understand that $nick refers to the nickname typing the text, when typing !view <nick>, you want to use <nick> instead of $nick, <nick> is just the second parameter, $2 .

You used $2 in your others on text event to get each informations, here it's the same.


#mircscripting @ irc.swiftirc.net == the best mIRC help channel