in your script, you need to change the "me" into "describe $active
me $2-
becomes
describe $active $2-
similar goes for "say", becomes "msg $active"
say $2-
becomes
msg $active $2-
Using $active instead of $chan allows this to work in a query window instead of just a channel. If you want this script to reply only in a channel, change the ":*:" into ":#*:"
Also, this script is only allowing input of your special keywords. Any other value for $1 is getting blocked. If you want to allow it to display text normally if it's not one of your keywords, insert this line right above the haltdef:
else return