Topic with two parts
Posted by DarkJFMan
Wednesday, September 28, 2005
Description: topic with info about 2 things you want

on *:TEXT:*:#yourchan: {
  if ($1 == .cstopic) && ($nick isop $chan) {
    set %cstopic $2-
    //topic #yourchan Welcome to my channel CS: %cstopic - DoD: %dodtopic
  }
  elseif ($1 == .dodtopic) && ($nick isop $chan) {
    set %dodtopic $2-
    //topic #yourchan Welcome to my channel CS: %cstopic - DoD: %dodtopic
  }
}
=)
Posted by JcD
Saturday, October 01, 2005 01:21pm PDT
Question, this should be under Paste, not project i think.

But it looks good.

on *:TEXT:*:#channel:{
  if ($nick isop $chan) {
    if ($1 == .cstopic) {
      set %cstopic $2-
      notice $nick CS Topic has been saved
    }
    if ($1 == .dodtopic) {
      set %dodtopic $2-
      notice $nick DOD topic has been saved
    }
    if ($1 == .topic) {
      topic $chan CS: %cstopic - DOD: %dodtopic
    }
  }
  if ($nick !isop $chan) {
    notice $nick You are not opped in $chan
  }
}


that would also work to =) <3


here is another 1 that is like urs besides the .topic

on *:TEXT:*:#channel:{
  if ($nick isop $chan) {
    if ($1 == .cstopic) {
      set %cstopic $2-
      topic $chan CS: %cstopic
    }
    if ($1 == .dodtopic) {
      set %dodtopic $2-
      topic $chan DOD: %dodtopic
    }
  }
  if ($nick !isop $chan) {
    notice $nick You are not opped in $chan
  }
}
Oviously
Posted by Ryan
Sunday, October 02, 2005 06:15pm PDT
Just a little ovious
Submit a comment
Oops! You need to login or register before you can post a comment!

ebaum's world