also on ur on input you forgot to add a * to it urs looks like this
on @:INPUT:#: {
it should be
on @*:INPUT:#: {
also when you type the trigger word it get\'s silenced so why not just make this an aliases instead of an on input. anyways funny script