special commands
What I want to do is use a text box to launch commands.
For instance if some one inputs a text command in a semi full sentence, or just a word or two, I would like the script to be able to read the words and do what I want it to do.
What is the best way I can do that?
For example…
! username example@host.com
I would like the ! to be a command and the next set of letters to be a username and the next set to be an email address. So that if I used & or # they’ll be different commands.
For instance if some one inputs a text command in a semi full sentence, or just a word or two, I would like the script to be able to read the words and do what I want it to do.
What is the best way I can do that?
For example…
! username example@host.com
I would like the ! to be a command and the next set of letters to be a username and the next set to be an email address. So that if I used & or # they’ll be different commands.
