A little more information is required here.
Are you using the node irc library? If so, you want to use client.send('TWITCHCLIENT', '3');.
As for getting globally banned, you’ll probably want to rate limit your bot so that it cannot send more than 20 commands (privmsg or other) in 30 seconds. This doesn’t seem like it would be an issue with twitchclient though, as you only need to send it once per connection.