I'm trying to develop some IRC scripts for my work and have hit a bit of a snag.

I'm trying to do a nick change and want it to read the current users nick and append the text I want after it. So I thought this would work:

nick $me_sometext but only get an error

$me_sometext Erroneous nickname.

I noticed that with passed in paramater variables it seems to work... ie.

/alias /cookie say Don't eat $1's cookie

so if I went /cookie Brian it would produce:

Don't eat Brian's cookie

Just curious why you can't append things to the predefined variables... or if there is a way.. how?