ok i know how to get a script to say some text when somebody says certain text in a channel, eg

Code:
 on *:TEXT:text to respond to :#:{ msg $chan text that appears } 


but what i want is for the script to say something back to someone if my name is said, i tried

Code:
on *:TEXT:*$me text to respond to:#:{ msg $chan $nick text that appears } 


but it dosen't work, my nick isn't always the same either so i cant just put my nick as it appears on irc either, any ideas ?