Thank you but that was just an example; what I'm actually doing is trying to keep a huge number of variables for each user, about 60, so instead of assigning each user who enters a number and then corresponding the individual variable to the number like:
on *:TEXT:newgame*:#chan: {
if ($nick = %user1) { set %user1HP 10 set %user1Def 1 }
if ($nick = %user2) { etc... } }
instead I want to write it:
on *:TEXT:newgame*:#chan: { set % $+ $nick $+ HP 10 set % $+ $nick $+ Def 1 }
But this doesn't work. I need to be able to write a script where each time it calls the script up the VARIABLE that it's checking changes based on the $nick of the user who typed it.