Code:
on *:FILESENT:*.*:msg #channel I sent the file to $nick $+ .

You don't need to use "/" inside of scripts.
If this is for multiple channels might want to look into using "$chan" instead of "#channel".

/help $+

Examples:
Shows "Hello":
Code:
//echo -ag H $+ e $+ l $+ l $+ o 

Show your main nick:
Code:
//echo -ag My name is $mnick $+ .