Top

Multi Or Single Network Topic Script


mIRC Code
+ 0 likes
Please Register to submit score.
Bookmark and Share
Average Score  0.0 (of 0 scores)
Date Added  Nov 02, 2009
Last Updated  Nov 03, 2009
Tags  mirc  multi  network  single  topic 

Introduction

This is the topic script i use on my mIRC bot... you can set it to do multiple channels at once... and if you wanted it to.. it would set the topic on all the networks with your channel name.. being that you had the same channel name.

Trigger Syntax is:
!update <on/off> (Set's it to update on all networks depending on if the same channel name is used, Although I would set this first)
!topic <on/off> (Turns topic in the channel on or off)
!topic <topic here> (Set's the topic in the channel)
!topic <hops> <on/off> (Makes it so Halfops can change the topic or not)
!prepend <on/off/Custom Prepend> (Set's the start of the topic, Default is: Topic:)
!Divider <Divider here> (Set's the divider you would like in your topic)
!owner <Nick> (Set's the owner of the channel)
!verb <Verb here> (Set's the verb within your topic)
!status <Status here> (Set's the status in your topic)
!static <Static here> (Set's the status/url/link or whatever you want it to be at the end of the topic)


Grab the Code

on *:text:!topic*:#: {
  if ($2 == off && $3 == $null) {
    if ( $nick isop $chan ) {
      set % [ $+ [ $chan ] $+ topicon ] off
      msg $chan Topic/Status/Static OFF!
      halt
    }
  }
  if ($2 == hops) {
    if ( $nick isop $chan ) {
      if ($3 == on) {
        set % [ $+ [ $chan ] $+ hopschange ] on
        msg $chan HalfOps may now change the topic/status/static.
        halt
      }
      if ($3 == off) {
        set % [ $+ [ $chan ] $+ hopschange ] off
        msg $chan HalfOps may now not change the topic/status/static.
        halt
      }
    }
  }
  if ($2 == on && $3 == $null) {
    if ( $nick isop $chan ) {
      set % [ $+ [ $chan ] $+ topicon ] on
      msg $chan Topic/Status/Static ON!
      halt
    }
  }
  if (% [ $+ [ $chan ] $+ topicon ] == off) { halt }
  if (% [ $+ [ $chan ] $+ update ] == on) {
    if (% [ $+ [ $chan ] $+ hopschange ] == on) {
      if ( $nick ishop $chan ) {
        { /set % [ $+ [ $chan ] $+ topic ] $2- | /set % [ $+ [ $chan ] $+ topic2 ] % [ $+ [ $chan ] $+ topic ] | /scon -a /topic $chan % [ $+ [ $chan ] $+ prepend2 ] % [ $+ [ $chan ] $+ topic2 ] % [ $+ [ $chan ] $+ divider2 ] % [ $+ [ $chan ] $+ owner2 ] % [ $+ [ $chan ] $+ verb2 ] % [ $+ [ $chan ] $+ status2 ] % [ $+ [ $chan ] $+ divider2 ] % [ $+ [ $chan ] $+ static2 ]
        }
        halt
      }
    }
    if ( $nick isop $chan ) {
      { /set % [ $+ [ $chan ] $+ topic ] $2- | /set % [ $+ [ $chan ] $+ topic2 ] % [ $+ [ $chan ] $+ topic ] | /scon -a /topic $chan % [ $+ [ $chan ] $+ prepend2 ] % [ $+ [ $chan ] $+ topic2 ] % [ $+ [ $chan ] $+ divider2 ] % [ $+ [ $chan ] $+ owner2 ] % [ $+ [ $chan ] $+ verb2 ] % [ $+ [ $chan ] $+ status2 ] % [ $+ [ $chan ] $+ divider2 ] % [ $+ [ $chan ] $+ static2 ]
      }
      halt
    }
  }
  if (% [ $+ [ $chan ] $+ hopschange ] == on) {
    if ( $nick ishop $chan ) {
      { /set % [ $+ [ $chan ] $+ topic ] $2- | /topic $chan % [ $+ [ $chan ] $+ prepend ] % [ $+ [ $chan ] $+ topic ] % [ $+ [ $chan ] $+ divider ] % [ $+ [ $chan ] $+ owner ] % [ $+ [ $chan ] $+ verb ] % [ $+ [ $chan ] $+ status ] % [ $+ [ $chan ] $+ divider ] % [ $+ [ $chan ] $+ static ]
      }
    }
  }
  if ( $nick isop $chan ) {
    { /set % [ $+ [ $chan ] $+ topic ] $2- | /topic $chan % [ $+ [ $chan ] $+ prepend ] % [ $+ [ $chan ] $+ topic ] % [ $+ [ $chan ] $+ divider ] % [ $+ [ $chan ] $+ owner ] % [ $+ [ $chan ] $+ verb ] % [ $+ [ $chan ] $+ status ] % [ $+ [ $chan ] $+ divider ] % [ $+ [ $chan ] $+ static ]    
    }
  }
}
on *:text:!update*:#: {
  if ( $nick isop $chan ) {
    if ($2 == off) { 
      set % [ $+ [ $chan ] $+ update ] off
      msg $chan $me will no longer update the topic on all networks.
    }
    if ($2 == on) {
      set % [ $+ [ $chan ] $+ update ] on
      set % [ $+ [ $chan ] $+ topic2 ] %updatefront $chan %updatemiddle topic %updatelast
      set % [ $+ [ $chan ] $+ status2 ] %updatefront $chan %updatemiddle status %updatelast
      set % [ $+ [ $chan ] $+ static2 ] %updatefront $chan %updatemiddle static %updatelast
      set % [ $+ [ $chan ] $+ owner2 ] %updatefront $chan %updatemiddle owner %updatelast
      set % [ $+ [ $chan ] $+ verb2 ] %updatefront $chan %updatemiddle verb %updatelast
      set % [ $+ [ $chan ] $+ prepend2 ] %updatefront $chan %updatemiddle prepend %updatelast
      set % [ $+ [ $chan ] $+ divider2 ] %updatefront $chan %updatemiddle divider %updatelast
      scon -a /topic $chan % [ $+ [ $chan ] $+ prepend2 ] % [ $+ [ $chan ] $+ topic2 ] % [ $+ [ $chan ] $+ divider2 ] % [ $+ [ $chan ] $+ owner2 ] % [ $+ [ $chan ] $+ verb2 ] % [ $+ [ $chan ] $+ status2 ] % [ $+ [ $chan ] $+ divider2 ] % [ $+ [ $chan ] $+ static2 ]
      msg $chan $me will now update the topic on all networks.
    }
  }
}
on *:text:!status*:#: {
  if (% [ $+ [ $chan ] $+ topicon ] == off) { halt }
  if (% [ $+ [ $chan ] $+ update ] == on) {
    if (% [ $+ [ $chan ] $+ hopschange ] == on) {
      if ( $nick ishop $chan ) {
        { /set % [ $+ [ $chan ] $+ status ] $2- | /set % [ $+ [ $chan ] $+ status2 ] % [ $+ [ $chan ] $+ status ] | /scon -a /topic $chan % [ $+ [ $chan ] $+ prepend2 ] % [ $+ [ $chan ] $+ topic2 ] % [ $+ [ $chan ] $+ divider2 ] % [ $+ [ $chan ] $+ owner2 ] % [ $+ [ $chan ] $+ verb2 ] % [ $+ [ $chan ] $+ status2 ] % [ $+ [ $chan ] $+ divider2 ] % [ $+ [ $chan ] $+ static2 ]
        }
        halt
      }
    }
    if ( $nick isop $chan ) {
      { /set % [ $+ [ $chan ] $+ status ] $2- | /set % [ $+ [ $chan ] $+ status2 ] % [ $+ [ $chan ] $+ status ] | /scon -a /topic $chan % [ $+ [ $chan ] $+ prepend2 ] % [ $+ [ $chan ] $+ topic2 ] % [ $+ [ $chan ] $+ divider2 ] % [ $+ [ $chan ] $+ owner2 ] % [ $+ [ $chan ] $+ verb2 ] % [ $+ [ $chan ] $+ status2 ] % [ $+ [ $chan ] $+ divider2 ] % [ $+ [ $chan ] $+ static2 ]
      }
      halt
    }
  }
  if ( $nick isop $chan ) {
    { /set % [ $+ [ $chan ] $+ status ] $2- | /topic $chan % [ $+ [ $chan ] $+ prepend ] % [ $+ [ $chan ] $+ topic ] % [ $+ [ $chan ] $+ divider ] % [ $+ [ $chan ] $+ owner ] % [ $+ [ $chan ] $+ verb ] % [ $+ [ $chan ] $+ status ] % [ $+ [ $chan ] $+ divider ] % [ $+ [ $chan ] $+ static ]
    }
  }
  if (% [ $+ [ $chan ] $+ hopschange ] == on) {
    if ( $nick ishop $chan ) {
      { /set % [ $+ [ $chan ] $+ status ] $2- | /topic $chan % [ $+ [ $chan ] $+ prepend ] % [ $+ [ $chan ] $+ topic ] % [ $+ [ $chan ] $+ divider ] % [ $+ [ $chan ] $+ owner ] % [ $+ [ $chan ] $+ verb ] % [ $+ [ $chan ] $+ status ] % [ $+ [ $chan ] $+ divider ] % [ $+ [ $chan ] $+ static ]
      }
    }
  }
}
on *:text:!static*:#: {
  if (% [ $+ [ $chan ] $+ topicon ] == off) { halt }  
  if (% [ $+ [ $chan ] $+ update ] == on) {
    if (% [ $+ [ $chan ] $+ hopschange ] == on) {
      if ( $nick ishop $chan ) {
        { /set % [ $+ [ $chan ] $+ static ] $2- | /set % [ $+ [ $chan ] $+ static2 ] % [ $+ [ $chan ] $+ static ] | /scon -a /topic $chan % [ $+ [ $chan ] $+ prepend2 ] % [ $+ [ $chan ] $+ topic2 ] % [ $+ [ $chan ] $+ divider2 ] % [ $+ [ $chan ] $+ owner2 ] % [ $+ [ $chan ] $+ verb2 ] % [ $+ [ $chan ] $+ status2 ] % [ $+ [ $chan ] $+ divider2 ] % [ $+ [ $chan ] $+ static2 ]
        }
        halt
      }
    }
    if ( $nick isop $chan ) {
      { /set % [ $+ [ $chan ] $+ static ] $2- | /set % [ $+ [ $chan ] $+ static2 ] % [ $+ [ $chan ] $+ static ] | /scon -a /topic $chan % [ $+ [ $chan ] $+ prepend2 ] % [ $+ [ $chan ] $+ topic2 ] % [ $+ [ $chan ] $+ divider2 ] % [ $+ [ $chan ] $+ owner2 ] % [ $+ [ $chan ] $+ verb2 ] % [ $+ [ $chan ] $+ status2 ] % [ $+ [ $chan ] $+ divider2 ] % [ $+ [ $chan ] $+ static2 ]
      }
      halt
    }
  }
  if ( $nick isop $chan ) {
    { /set % [ $+ [ $chan ] $+ static ] $2- | /topic $chan % [ $+ [ $chan ] $+ prepend ] % [ $+ [ $chan ] $+ topic ] % [ $+ [ $chan ] $+ divider ] % [ $+ [ $chan ] $+ owner ] % [ $+ [ $chan ] $+ verb ] % [ $+ [ $chan ] $+ status ] % [ $+ [ $chan ] $+ divider ] % [ $+ [ $chan ] $+ static ]
    }
  }
  if (% [ $+ [ $chan ] $+ hopschange ] == on) {
    if ( $nick ishop $chan ) {
      { /set % [ $+ [ $chan ] $+ static ] $2- | /topic $chan % [ $+ [ $chan ] $+ prepend ] % [ $+ [ $chan ] $+ topic ] % [ $+ [ $chan ] $+ divider ] % [ $+ [ $chan ] $+ owner ] % [ $+ [ $chan ] $+ verb ] % [ $+ [ $chan ] $+ status ] % [ $+ [ $chan ] $+ divider ] % [ $+ [ $chan ] $+ static ]
      }
    }
  }
}
on *:text:!owner*:#: {
  if (% [ $+ [ $chan ] $+ topicon ] == off) { halt }
  if (% [ $+ [ $chan ] $+ update ] == on) {
    if (% [ $+ [ $chan ] $+ hopschange ] == on) {
      if ( $nick ishop $chan ) {
        { /set % [ $+ [ $chan ] $+ owner ] $2- | /set % [ $+ [ $chan ] $+ owner2 ] % [ $+ [ $chan ] $+ owner ] | /scon -a /topic $chan % [ $+ [ $chan ] $+ prepend2 ] % [ $+ [ $chan ] $+ topic2 ] % [ $+ [ $chan ] $+ divider2 ] % [ $+ [ $chan ] $+ owner2 ] % [ $+ [ $chan ] $+ verb2 ] % [ $+ [ $chan ] $+ status2 ] % [ $+ [ $chan ] $+ divider2 ] % [ $+ [ $chan ] $+ static2 ]
        }
        halt
      }
    }
    if ( $nick isop $chan ) {
      { /set % [ $+ [ $chan ] $+ owner ] $2- | /set % [ $+ [ $chan ] $+ owner2 ] % [ $+ [ $chan ] $+ owner ] | /scon -a /topic $chan % [ $+ [ $chan ] $+ prepend2 ] % [ $+ [ $chan ] $+ topic2 ] % [ $+ [ $chan ] $+ divider2 ] % [ $+ [ $chan ] $+ owner2 ] % [ $+ [ $chan ] $+ verb2 ] % [ $+ [ $chan ] $+ status2 ] % [ $+ [ $chan ] $+ divider2 ] % [ $+ [ $chan ] $+ static2 ]
      }
      halt
    }
  }
  if ( $nick isop $chan ) {
    { /set % [ $+ [ $chan ] $+ owner ] $2- | /topic $chan % [ $+ [ $chan ] $+ prepend ] % [ $+ [ $chan ] $+ topic ] % [ $+ [ $chan ] $+ divider ] % [ $+ [ $chan ] $+ owner ] % [ $+ [ $chan ] $+ verb ] % [ $+ [ $chan ] $+ status ] % [ $+ [ $chan ] $+ divider ] % [ $+ [ $chan ] $+ static ]
    }
  }
  if (% [ $+ [ $chan ] $+ hopschange ] == on) {
    if ( $nick ishop $chan ) {
      { /set % [ $+ [ $chan ] $+ owner ] $2- | /topic $chan % [ $+ [ $chan ] $+ prepend ] % [ $+ [ $chan ] $+ topic ] % [ $+ [ $chan ] $+ divider ] % [ $+ [ $chan ] $+ owner ] % [ $+ [ $chan ] $+ verb ] % [ $+ [ $chan ] $+ status ] % [ $+ [ $chan ] $+ divider ] % [ $+ [ $chan ] $+ static ]
      }
    }
  }
}
on *:text:!verb*:#: {
  if (% [ $+ [ $chan ] $+ topicon ] == off) { halt }
  if (% [ $+ [ $chan ] $+ update ] == on) {
    if (% [ $+ [ $chan ] $+ hopschange ] == on) {
      if ( $nick ishop $chan ) {
        { /set % [ $+ [ $chan ] $+ verb ] $2- | /set % [ $+ [ $chan ] $+ verb2 ] % [ $+ [ $chan ] $+ verb ] | /scon -a /topic $chan % [ $+ [ $chan ] $+ prepend2 ] % [ $+ [ $chan ] $+ topic2 ] % [ $+ [ $chan ] $+ divider2 ] % [ $+ [ $chan ] $+ owner2 ] % [ $+ [ $chan ] $+ verb2 ] % [ $+ [ $chan ] $+ status2 ] % [ $+ [ $chan ] $+ divider2 ] % [ $+ [ $chan ] $+ static2 ]
        }
        halt
      }
    }
    if ( $nick isop $chan ) {
      { /set % [ $+ [ $chan ] $+ verb ] $2- | /set % [ $+ [ $chan ] $+ verb2 ] % [ $+ [ $chan ] $+ verb ] | /scon -a /topic $chan % [ $+ [ $chan ] $+ prepend2 ] % [ $+ [ $chan ] $+ topic2 ] % [ $+ [ $chan ] $+ divider2 ] % [ $+ [ $chan ] $+ owner2 ] % [ $+ [ $chan ] $+ verb2 ] % [ $+ [ $chan ] $+ status2 ] % [ $+ [ $chan ] $+ divider2 ] % [ $+ [ $chan ] $+ static2 ]
      }
      halt
    }
  }
  if ( $nick isop $chan ) {
    { /set % [ $+ [ $chan ] $+ verb ] $2- | /topic $chan % [ $+ [ $chan ] $+ prepend ] % [ $+ [ $chan ] $+ topic ] % [ $+ [ $chan ] $+ divider ] % [ $+ [ $chan ] $+ owner ] % [ $+ [ $chan ] $+ verb ] % [ $+ [ $chan ] $+ status ] % [ $+ [ $chan ] $+ divider ] % [ $+ [ $chan ] $+ static ]
    }
  }
  if (% [ $+ [ $chan ] $+ hopschange ] == on) {
    if ( $nick ishop $chan ) {
      { /set % [ $+ [ $chan ] $+ verb ] $2- | /topic $chan % [ $+ [ $chan ] $+ prepend ] % [ $+ [ $chan ] $+ topic ] % [ $+ [ $chan ] $+ divider ] % [ $+ [ $chan ] $+ owner ] % [ $+ [ $chan ] $+ verb ] % [ $+ [ $chan ] $+ status ] % [ $+ [ $chan ] $+ divider ] % [ $+ [ $chan ] $+ static ]
      }
    }
  }
}
on *:text:!divider*:#: {
  if (% [ $+ [ $chan ] $+ topicon ] == off) { halt }
  if (% [ $+ [ $chan ] $+ update ] == on) {
    if (% [ $+ [ $chan ] $+ hopschange ] == on) {
      if ( $nick ishop $chan ) {
        { /set % [ $+ [ $chan ] $+ divider ] $2- | /set % [ $+ [ $chan ] $+ divider2 ] % [ $+ [ $chan ] $+ divider ] | /scon -a /topic $chan % [ $+ [ $chan ] $+ prepend2 ] % [ $+ [ $chan ] $+ topic2 ] % [ $+ [ $chan ] $+ divider2 ] % [ $+ [ $chan ] $+ owner2 ] % [ $+ [ $chan ] $+ verb2 ] % [ $+ [ $chan ] $+ status2 ] % [ $+ [ $chan ] $+ divider2 ] % [ $+ [ $chan ] $+ static2 ]
        }
        halt 
      }
    }
    if ( $nick isop $chan ) {
      { /set % [ $+ [ $chan ] $+ divider ] $2- | /set % [ $+ [ $chan ] $+ divider2 ] % [ $+ [ $chan ] $+ divider ] | /scon -a /topic $chan % [ $+ [ $chan ] $+ prepend2 ] % [ $+ [ $chan ] $+ topic2 ] % [ $+ [ $chan ] $+ divider2 ] % [ $+ [ $chan ] $+ owner2 ] % [ $+ [ $chan ] $+ verb2 ] % [ $+ [ $chan ] $+ status2 ] % [ $+ [ $chan ] $+ divider2 ] % [ $+ [ $chan ] $+ static2 ]
      }
      halt
    }
  }
  if ( $nick isop $chan ) {
    { /set % [ $+ [ $chan ] $+ divider ] $2- | /topic $chan % [ $+ [ $chan ] $+ prepend ] % [ $+ [ $chan ] $+ topic ] % [ $+ [ $chan ] $+ divider ] % [ $+ [ $chan ] $+ owner ] % [ $+ [ $chan ] $+ verb ] % [ $+ [ $chan ] $+ status ] % [ $+ [ $chan ] $+ divider ] % [ $+ [ $chan ] $+ static ]
    }
  }
  if (% [ $+ [ $chan ] $+ hopschange ] == on) {
    if ( $nick ishop $chan ) {
      { /set % [ $+ [ $chan ] $+ divider ] $2- | /topic $chan % [ $+ [ $chan ] $+ prepend ] % [ $+ [ $chan ] $+ topic ] % [ $+ [ $chan ] $+ divider ] % [ $+ [ $chan ] $+ owner ] % [ $+ [ $chan ] $+ verb ] % [ $+ [ $chan ] $+ status ] % [ $+ [ $chan ] $+ divider ] % [ $+ [ $chan ] $+ static ]
      }
    }
  }
}
on *:text:!prepend*:#: {
  if (% [ $+ [ $chan ] $+ topicon ] == off) { halt }
  if (% [ $+ [ $chan ] $+ update ] == on) {
    if (% [ $+ [ $chan ] $+ hopschange ] == on) {
      if ( $nick ishop $chan ) {
        if ($2 == on) { 
          { /set % [ $+ [ $chan ] $+ prepend ] Topic: | /set % [ $+ [ $chan ] $+ prepend2 ] % [ $+ [ $chan ] $+ prepend ] | /scon -a /topic $chan % [ $+ [ $chan ] $+ prepend2 ] % [ $+ [ $chan ] $+ topic2 ] % [ $+ [ $chan ] $+ divider2 ] % [ $+ [ $chan ] $+ owner2 ] % [ $+ [ $chan ] $+ verb2 ] % [ $+ [ $chan ] $+ status2 ] % [ $+ [ $chan ] $+ divider2 ] % [ $+ [ $chan ] $+ static2 ]
          }
          halt
        }
        if ($2 == off) { 
          { /set % [ $+ [ $chan ] $+ prepend ] | /set % [ $+ [ $chan ] $+ prepend2 ] % [ $+ [ $chan ] $+ prepend ] | /scon -a /topic $chan % [ $+ [ $chan ] $+ prepend2 ] % [ $+ [ $chan ] $+ topic2 ] % [ $+ [ $chan ] $+ divider2 ] % [ $+ [ $chan ] $+ owner2 ] % [ $+ [ $chan ] $+ verb2 ] % [ $+ [ $chan ] $+ status2 ] % [ $+ [ $chan ] $+ divider2 ] % [ $+ [ $chan ] $+ static2 ]
          }
          halt
        }
        if ($2 !== $null) { 
          { /set % [ $+ [ $chan ] $+ prepend ] $2- | /set % [ $+ [ $chan ] $+ prepend2 ] % [ $+ [ $chan ] $+ prepend ] | /scon -a /topic $chan % [ $+ [ $chan ] $+ prepend2 ] % [ $+ [ $chan ] $+ topic2 ] % [ $+ [ $chan ] $+ divider2 ] % [ $+ [ $chan ] $+ owner2 ] % [ $+ [ $chan ] $+ verb2 ] % [ $+ [ $chan ] $+ status2 ] % [ $+ [ $chan ] $+ divider2 ] % [ $+ [ $chan ] $+ static2 ]
          }
          halt
        }
      }
    }
    if ( $nick isop $chan ) {
      if ($2 == on) { 
        { /set % [ $+ [ $chan ] $+ prepend ] Topic: | /set % [ $+ [ $chan ] $+ prepend2 ] % [ $+ [ $chan ] $+ prepend ] | /scon -a /topic $chan % [ $+ [ $chan ] $+ prepend2 ] % [ $+ [ $chan ] $+ topic2 ] % [ $+ [ $chan ] $+ divider2 ] % [ $+ [ $chan ] $+ owner2 ] % [ $+ [ $chan ] $+ verb2 ] % [ $+ [ $chan ] $+ status2 ] % [ $+ [ $chan ] $+ divider2 ] % [ $+ [ $chan ] $+ static2 ]
        }
        halt
      }
      if ($2 == off) { 
        { /set % [ $+ [ $chan ] $+ prepend ] | /set % [ $+ [ $chan ] $+ prepend2 ] % [ $+ [ $chan ] $+ prepend ] | /scon -a /topic $chan % [ $+ [ $chan ] $+ prepend2 ] % [ $+ [ $chan ] $+ topic2 ] % [ $+ [ $chan ] $+ divider2 ] % [ $+ [ $chan ] $+ owner2 ] % [ $+ [ $chan ] $+ verb2 ] % [ $+ [ $chan ] $+ status2 ] % [ $+ [ $chan ] $+ divider2 ] % [ $+ [ $chan ] $+ static2 ]
        }
        halt
      }
      if ($2 !== $null) { 
        { /set % [ $+ [ $chan ] $+ prepend ] $2- | /set % [ $+ [ $chan ] $+ prepend2 ] % [ $+ [ $chan ] $+ prepend ] | /scon -a /topic $chan % [ $+ [ $chan ] $+ prepend2 ] % [ $+ [ $chan ] $+ topic2 ] % [ $+ [ $chan ] $+ divider2 ] % [ $+ [ $chan ] $+ owner2 ] % [ $+ [ $chan ] $+ verb2 ] % [ $+ [ $chan ] $+ status2 ] % [ $+ [ $chan ] $+ divider2 ] % [ $+ [ $chan ] $+ static2 ]
        }
        halt
      }
    }
  }
  if ( $nick isop $chan ) {
    if ($2 == on) { 
      /set % [ $+ [ $chan ] $+ prepend ] Topic: 
      /topic $chan % [ $+ [ $chan ] $+ prepend ] % [ $+ [ $chan ] $+ topic ] % [ $+ [ $chan ] $+ divider ] % [ $+ [ $chan ] $+ owner ] % [ $+ [ $chan ] $+ verb ] % [ $+ [ $chan ] $+ status ] % [ $+ [ $chan ] $+ divider ] % [ $+ [ $chan ] $+ static ]
      halt
    }
    if ($2 == off) { 
      /unset % [ $+ [ $chan ] $+ prepend ]
      /topic $chan % [ $+ [ $chan ] $+ prepend ] % [ $+ [ $chan ] $+ topic ] % [ $+ [ $chan ] $+ divider ] % [ $+ [ $chan ] $+ owner ] % [ $+ [ $chan ] $+ verb ] % [ $+ [ $chan ] $+ status ] % [ $+ [ $chan ] $+ divider ] % [ $+ [ $chan ] $+ static ]
      halt
    }
    if ($2 !== $null) { 
      /set % [ $+ [ $chan ] $+ prepend ] $2-
      /topic $chan % [ $+ [ $chan ] $+ prepend ] % [ $+ [ $chan ] $+ topic ] % [ $+ [ $chan ] $+ divider ] % [ $+ [ $chan ] $+ owner ] % [ $+ [ $chan ] $+ verb ] % [ $+ [ $chan ] $+ status ] % [ $+ [ $chan ] $+ divider ] % [ $+ [ $chan ] $+ static ]
      halt
    }
  }
  if (% [ $+ [ $chan ] $+ hopschange ] == on) {
    if ($2 == on) { 
      /set % [ $+ [ $chan ] $+ prepend ] Topic: 
      /topic $chan % [ $+ [ $chan ] $+ prepend ] % [ $+ [ $chan ] $+ topic ] % [ $+ [ $chan ] $+ divider ] % [ $+ [ $chan ] $+ owner ] % [ $+ [ $chan ] $+ verb ] % [ $+ [ $chan ] $+ status ] % [ $+ [ $chan ] $+ divider ] % [ $+ [ $chan ] $+ static ]
      halt
    }
    if ($2 == off) { 
      /unset % [ $+ [ $chan ] $+ prepend ]
      /topic $chan % [ $+ [ $chan ] $+ prepend ] % [ $+ [ $chan ] $+ topic ] % [ $+ [ $chan ] $+ divider ] % [ $+ [ $chan ] $+ owner ] % [ $+ [ $chan ] $+ verb ] % [ $+ [ $chan ] $+ status ] % [ $+ [ $chan ] $+ divider ] % [ $+ [ $chan ] $+ static ]
      halt
    }
    if ($2 !== $null) { 
      /set % [ $+ [ $chan ] $+ prepend ] $2-
      /topic $chan % [ $+ [ $chan ] $+ prepend ] % [ $+ [ $chan ] $+ topic ] % [ $+ [ $chan ] $+ divider ] % [ $+ [ $chan ] $+ owner ] % [ $+ [ $chan ] $+ verb ] % [ $+ [ $chan ] $+ status ] % [ $+ [ $chan ] $+ divider ] % [ $+ [ $chan ] $+ static ]
      halt
    }
  }
}

Comments

  (0)  RSS

Commenting Options

Register or Login to Hawkee.com or use your Facebook or Twitter account by clicking the corresponding button below.

  
Bottom