All pastes #615762 Raw Edit

Someone

public text v1 · immutable
·published 2007-07-12 08:58 UTC
rendered paste body
on *:TEXT:!pk*:#:{ 
  set %target $iif(!$2,$nick($chan,$rand(1,$nick($chan,0))),$2) 
  set %weapon $rand(1,8) 
  if (%weapon == 1) { .timer 1 1 msg $chan $nick wields his DDP++ }
  if (%weapon == 2) { .timer 1 1 msg $chan $nick wields his Dragon longsword }
  if (%weapon == 3) { .timer 1 1 msg $chan $nick wields his Dragon scimitar }
  if (%weapon == 4) { .timer 1 1 msg $chan $nick wields his Abyssal Whip }
  if (%weapon == 5) { .timer 1 1 msg $chan $nick wields his Dragon halberd }
  if (%weapon == 6) { .timer 1 1 msg $chan $nick wields his Crystal bow }
  if (%weapon == 7) { .timer 1 1 msg $chan $nick wields his Magic shortbow }
  if (%weapon == 8) { .timer 1 1 msg $chan $nick wields his Magic longbow }

  .timer 1 1 msg $chan $nick looks on the map and spots %target 
  .timer 1 2 msg $chan $nick runs up to %target and starts attacking. 
  .timer 1 3 msg $chan $nick does a total damage of $r(1,99) on %target ! 

  unset %target
  unset %weapon  
}