All pastes #544884 Raw Edit

xdrop22

public text v1 · immutable
·published 2007-06-06 17:02 UTC
rendered paste body
on *:text:*:#: {
  if ($chan == #STMusic) && ($nick == ST-PRE) {
    if (($1-2 == NEW TORRENT:)) {
      set %stm.active true
    }
    if ($2 == NEW TORRENT:) && (%stm.active == true) {
      set %stm.name $3
    }
    if ($9 == LINK:) && (%stm.active == true) {
      set %sct.url $10
      msg xdrop|v3 ~tmsg: $strip(#STM: %stm.name @ %stm.url)
      set %stm.active false
    }
  }
}