All pastes #208210 Raw Edit

Saivert

public text v1 · immutable
#208210 ·published 2006-10-18 14:03 UTC
rendered paste body
on *:TEXT:*:#norbits: {
  if ($network == Norbits && $nick == Norbot) { /msg #releases 0,1[Norbits] $$1- }
}

on *:TEXT:*:#hdbits: {
  if ($network == P2P-NET && $nick == HDBits) { /crossmsg Norbits #releases 0,1[HDBits] $$1- }
}
on *:TEXT:*:#scenetorrents: {
  if ($network == P2P-NET && $nick == SceneTorrents) { /crossmsg Norbits #releases 0,1[ScT] $$1- }
}
on *:TEXT:*:#bitmetv: {
  if ($network == NVC-Net && $nick == BitMeTV_Bot) { /crossmsg Norbits #releases 0,1[BitMeTV] $$1- }
}
on *:TEXT:*:#filmbits: {
  if ($network == After-All && $nick == FilmBot) { /crossmsg Norbits #releases 0,1[FilmBits] $$1- }
}
on *:TEXT:*:#torrentleech: {
  if ($network == TorrentLeech && $nick == _AnnounceBot_) { /crossmsg Norbits #releases 0,1[TorrentLeech] $$1- }
}



*** ALIASER FØLGER ***
getcid {
  var %x = $scon(0)
  while (%x) {
    if ($scon(%x).network = $1) {
      return $scon(%x).cid
    }
    dec %x
  }
}

; /crossecho network #channel message
crossecho {
  scid $getcid($1)  echo $2-
}

crossmsg {
  scid $getcid($1)  msg $2-
}