Example code only
Code:
 on *:text:!*:#:{
var %commands = $numtok($1-,58), %command = 1
while %command <= %commands {
set $+(%,command,.,%command) $gettok($1-,%command,58)
inc %command
}
}
 

That will give you each of your "commands" in separate variables
First command will be in %command.1
Second command will be in %command.2
Third command will be in %command.3
and so on

Each command will have to be separated by the : (colon) character