Public feed #892080

Anonymous

public text v1 · immutable
Raw Edit
·published 2008-02-05 03:09 UTC
rendered paste body
on *:text:!dm*:#:  {
  if (%dm.2 == active) {
    notice $nick a dm is already active, please wait for it to end.
  }
  elseif ($nick == %dm.play1) {
    notice $nick You Can't VS yourself idiot. :P
  }
  else {
    if (%dm == active) {
      set %dm.play2 $nick
      msg $chan The Match Is Set! %dm.play1 vs %dm.play2 $+ .
      set %dm.2 active
      set %dmhp1 99
      set %dmhp2 99
      set %dmspec1 0
      set %dmspec2 0
      set %dmturn $rand(1,2)
      if (%dmturn == 1) { msg $chan %dm.play1 Goes First! 
        if (%dmturn == 2) { msg $chan %dm.play2 Goes First! 
        }
      }
    }
    Else { 
      set %dm active
      set %dm.play1 $nick
      msg $chan $nick Has Initiated A DM! type !dm To Fight Him.
    }
    else { 
    }
  }
}