eqrunner commented on a Page, Twitter (out dated)   -  Jun 16, 2012

@ryan7461035 Below is code you can add into the 'Main code' section to give you the option to turn it off per channel.

    ;;;---Below is used to turn the script on or off, but only if user is an op of a channel ---

    if (%t_2 == on) || (%t_2 == off) && (%t_nick isop %t_chan) {
      if (%t_2 == on) {
        set $+(%,twitter_,%t_chan) ON
        .notice %t_nick !twitter script is now ON
        twitter_cleanup
        halt   
      }
      if (%t_2 == off) {
        set $+(%,twitter_,%t_chan) OFF
        .notice %t_nick !twitter script is now OFF
        twitter_cleanup
        halt     
      }
    } ;end of %t_on/off

  ;--- Checks if twitter is suppost to be OFF for the channel --
  if ($($+(%,twitter_,%t_chan),2) == OFF) {
    twitter_cleanup
    halt
  }
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.