Public feed #528401

Mine

public text v1 · immutable
Raw Edit
·published 2007-06-01 15:16 UTC
rendered paste body
on *:TEXT:!dm*:#Botty: {
  if (%DM == 0) {
    set %DM 1 | set %p1 $nick | set %hp1 99
    msg $chan $nick has started a DM. !dm to fight him =O.
  } { halt }
  if (%DM == 1) {
  elseif (%p1 == $nick) msg $chan You can't DM yourself ._. { halt } {
   else set %DM 2 | set %p2 $nick | set %hp2 99
    msg $chan $nick has accepted %p1 $+ 's challenge!
  } { halt } }
  if (%DM == 2) {
    msg $chan There is already a DM in progress, wait till it ends.
} { halt } }