Some bot named BOT is on a channel named #bot wich is the staff/main channel of it. Someone invites this BOT in their channel #channel. This #channel has a problem. So someone with voice access or higher typs: !support/!help.
If all statements are false the bot's support script(this one) will trigger. It will send a message to #bot, the someone and the #channel. An operator of #bot typs: !accept #channel. The bot will say that is going to support the channel.
The Operator joins the channel and the bot will say that a operator has joined and will help them now.
My Point: The Bot was on both channels allready. Otherwise the whole script wont work. This means that the bot already knows all statements.
Edit: I improved the script a bit aswell. Didnt have time to update it.