You are better off just doing a simple command and then adding the commands in the script itself. For example if you had this
on *:TEXT:!cmd:#: {
msg $chan YOUR COMMANDS HERE
}
That way all you have to do is go into the script and type the command. It will save a lot of time