The correct format would be:
on *:TEXT:!commandtest *:#:{
commandtest $2-
}
And $2 should be used instead of $2-... not? I don't think spaces are allowed in .ini items.
Remote scripts can also only be triggered by other users, in case you didn't know.