Replace
Code:
 /ghost { 
with
Code:
 alias ghost { 

and
Code:
 /joinChannels { 
with
Code:
 alias joinChannels { 


Aliases can only be written in the format that you're currently using, if they are in the Aliases section

The ON START & ON CONNECT events won't work in the Aliases section, so they have to go in the Remotes section.

Making the changes I indicated will allow the entire code to work in the Remotes section.