Public feed #533197

Miscellany

public text v1 · immutable
Raw Edit
·published 2007-06-03 11:37 UTC
rendered paste body
on *:text:!dm*:#mindhead:{ if ($me != KroBot) { halt }
  else { if (%dm == on) { notice $nick A DM is already on!
      halt
    }
    if (!%dm) { set %dm waiting
      set %dm1 $nick
      msg $chan %dm1 3has requested a DM, type !dm 3to fight %dm1 $+ 3!
      halt
    }
    if (%dm == waiting) { if ($nick == %dm1) { notice $nick You cannot DM yourself! }
      else { set %dm2 $nick
        msg $chan %dm2 3has rised to the challenge!
        msg $chan 3Type !info 3on how to play!
        timer 1 1 msg $chan %dm1 $+ 's 3turn $+ !
        set %dm on
        set %dm1hp 99
        set %dm2hp 99
        set %dm1spec 100
        set %dm2spec 100
        set %dm1sharks 10
        set %dm2sharks 10
        set %dm1barrage 5
        set %dm2barrage 5
        set %turn %dm1
        halt
      }
    }
  }
}