/channels
Posted by DarkJFMan
Sunday, June 06, 2004
Description: This msg the chan you're in how many channels you are in and if you're oped/voiced or none.


alias channels {
  var %i = 1
  while (%i <= $chan(0)) {
    if ($me isop $chan(%i)) { var %channels %channels @ $+ $chan(%i) }
    if ($me isvoice $chan(%i)) && ($me !isop $chan(%i)) { var %channels %channels + $+ $chan(%i) }
    if ($me isreg $chan(%i)) { var %channels %channels $chan(%i) }
    inc %i
  }
  say %channels
}

menu channel,menubar,query {
  Channels:/channels
}


All you need to do is right click either in channel, from menubar, or in a query, choose  Channels, and it will message which channels you're in and your status. Kind of like in /whois but you'll be able to msg it to ppl.

ex:

@#hooters @#cs-open @#th00tz @#outlawshq #script +#OCHosting @#fatalgaming +#XGZ #chaosbots @#sxp
:o
Posted by villek
Monday, June 07, 2004 12:42am PDT
Doesn't this also include secret channels ? (+s)
Hehe, nice script though
ok......
Posted by nemm91
Monday, June 07, 2004 12:50am PDT
is there like 5 of these alrealy this one looks just like direkii chans....... hint
Subject line
Posted by nemm91
Monday, June 07, 2004 01:52pm PDT
that 1 you have is kinda pointless lol but nice to bunka try this 1 also

on *:text:*#*:#teamnex: {
  if ($nick isvoice $chan) && (!%ban.warnings) {
    notice $nick Please do not advertise in $chan $+ . Warning number: One - Next time is a tempban of 5 minutes.
    inc %ban.warnings
  }
  elseif ($nick isvoice $chan) && (%ban.warnings) {
    notice $nick Please do not advertise in $chan $+ . Warning number: two - Next time is a tempban of 5 minutes.
    unset %ban.warnings
  }
  elseif ($nick isreg $chan) || ($nick isvoice $chan) {
    ban -ku600 $chan $nick 2 [^U]([^U]tempan: 5 minutes[^U])[^U]
  }
}
Submit a comment
Oops! You need to login or register before you can post a comment!

ebaum's world