I appreciate all the help guys, but your going to kill me when you find out how easy this was.


on 51:TEXT:!add:#: {
/msg # $nick set
/set %name.of.user. $+ $nick 1
}

on 51:TEXT:!read *:#: {
if (%name.of.user. $+ $2 == 1) {
/msg # Found!
}
else {
/msg # user not found.
}
}

Logs:
<~Black_Ninja> !add
<+Wormbot> Black_Ninja set
<~Black_Ninja> !read Black_Ninja
<+Wormbot> Found!

It has successfully saved a variable named
%name.of.user.Black_Ninja

Sorry you guys had to go through a large coding tutorial, but this seemed to work after a few minutes of playing around

The reason I didn't think this would work is because normally when you define a variable, whatever the next word is after the variable is what is saved. So I figured
%name.of.user.
would have a value of
$+ Black_Ninja
But it DID parse the $+ which I was surprised to see.

Last edited by BNX; 03/07/05 09:57 PM.