Here is my commands:

Quote:
on *:text:!setColor *:#:{
set %color. $+ $nick $2
msg $chan $nick Your favorite color $qt($2) was saved!
}
on *:text:!favColor *:#:{
var %color = %color. [ $+ [ $2 ] ]
if (%color != $null) {
msg $chan $nick $2's favorite color is %color $+ .
}
else {
msg $chan $nick $2 does't have a favorite color set yet.
}
}


The code works perfectly fine, except for one thing. You have to type !favcolor (then the username). I want to remove the requirement of putting a username in the command. Is it possible to make a command that pulls variables using the $nick that said the command instead of the person mentioned in the command?