All pastes #387265 Raw Edit

Something

public text v1 · immutable
·published 2007-03-09 06:13 UTC
rendered paste body
ON *:TEXT:!Recharge*:#:{
  if ($readini(dm.ini,$chan,Status) == $null) {
    notice $nick 12There is no DM on. Type4 !DM 12To start one.
    halt
  }
  if ($readini(dm.ini,$chan,Status) == ON) {
    notice $nick 12You Recharge spec yet.....
    halt
  }
  if ($readini(dm.ini,$chan,Status) == ON2 && $readini(turn.ini,$chan,turn) == 1 && $readini(pdm.ini,$chan,Player1) == $nick) {
      writeini spec.ini $chan $player1 $calc( $readini(spec.ini,$chan,player1) + 25) 
      msg $chan 12 $readini(pdm.ini,$chan,player1) Has incressed spec by 25 % and know has 4 $readini(spec.ini,$chan,player1) % spec!
      writeini turn.ini $chan Turn 2
      halt
    }
    if ($readini(dm.ini,$chan,Status) == ON2 && $readini(turn.ini,$chan,turn) == 2 && $readini(pdm.ini,$chan,Player2) == $nick) {
      writeini spec.ini $chan $player2 $calc( $readini(spec.ini,$chan,player2) + 25)
      msg $chan 12 $readini(pdm.ini,$chan,player2) has incressed spec by 25% and know has 4 $readini(spec.ini,$chan,player2) % Spec!
      writeini turn.ini $chan Turn 1
      halt
    }  
    else {
      notice $nick 12Its not your turn or your not in this round.
    }
  }
}