I'm creating a dialog for easy advertisement set up for the IRC network for a game I play. It'll have an option to input the text you want to advertise (with bold and underline able to be used), as well as a check box of all the channels meant to advertise in on the network (only three right now).

So far, I have this:
Code:
dialog SWC-AD {
  title "Combine Trade Advertisement"
  size -1 -1 300 200
  box "SWC-AD Setup", 12, 5 5 290 190
  button "Ok", 1, 95 160 50 25, ok
  button "Cancel", 2, 155 160 50 25, cancel
  text "Your advertisement:", 3, 10 20 280 50
  edit "Input advertisement here..", 4, 10 40 280 18
  text "Advertise in:", 5, 15 60 62 15
  check "#SWC-Trade", 6, 20 80 102 15
  check "#TheTraders", 7, 20 100 132 15
  check "#Stock_Exchange", 8, 20 120 120 15
  text "© Talon Xor, 2007" 9, 107 135 100 15
}


Now, that is pretty much exactly what I want, except for a few added things I will put in later. Such as more space to see a preview of the advertisement they put in, as well as a preview button, and maybe some other added text for other things. Anyhow..

What I'm wondering is how do I make it so if people upload the script, all they have to type it /swcad-su instead of /dialog -m SWC-AD SWC-AD to open the dialog?

Also, where can I find a good tutorial on how to add commands to all those things?