Also, you should probably put in some protection to the script -- prevent it from running dangerous/bad commands.

For example:

!say hello | quit

That will make you say hello, then quit. And that's a very minor issue... there are commands that can be used that can do some real damage. Yes, you're limiting this to specific user(s), but even so, unless only YOU have access to it, it's best to play it safe.

Invision Support
#Invision on