I'm needing some help with a script I'm working on. What I want is when someone types in, for example,
Code:
!add [test] [this is a test command]

with the brackets, it will add a new remote so when they now type in !test it will reply 'this is a test command'. I would also like the new command they added to only be available on that channel.
Any help would be appreciated.