All pastes #348836 Raw Edit

Untitled

public text v1 · immutable
·published 2007-02-10 11:31 UTC
rendered paste body
~~~ Giant Spider ~~~
____________________

on *:text:!kill gspider*:#rslife:{ if (!$($+(%,$nick),2)) notice $nick You do not have an account! Type !create to make one.
  else { if ($($+(%,$nick,.CombatXP),2) < 250) notice $nick You do not have enough Combat experience to kill Giant Spiders. (250 Combat Experience minimum.)
    else { if ($($+(%,$nick,.busy),2) == On) notice $nick You have to wait until you can kill another Giant Spider!
      else { notice $nick You go to kill a Giant Spider...
        set % $+ $nick $+ .gsp.coins $rand(0,30)
        set % $+ $nick $+ .gsp.irondaggers $rand(0,2)
        timer 1 5 notice $nick You returned with $($+(%,$nick,.gsp.coins),2) coins and $($+(%,$nick,.gsp.irondaggers),2) Iron Daggers! These have been added to your stash.
        inc % $+ $nick $+ .Coins $($+(%,$nick,.gsp.coins),2)
        inc % $+ $nick $+ .irondaggers $($+(%,$nick,.gsp.irondaggers),2)
        inc % $+ $nick $+ .CombatXP 45
        inc % $+ $nick $+ .bones 1
        unset % $+ $nick $+ .gsp.coins
        unset % $+ $nick $+ .gsp.irondaggers
        set % $+ $nick $+ .busy On
        timer 1 10 unset % $+ $nick $+ .busy
      }
    }
  }
}


~~~ Barbarian ~~~
_________________

on *:text:!kill barbarian*:#rslife:{ if (!$($+(%,$nick),2)) notice $nick You do not have an account! Type !create to make one.
  else { if ($($+(%,$nick,.CombatXP),2) < 500) notice $nick You do not have enough Combat experience to kill Barbarians. (500 Combat Experience minimum.)
    else { if ($($+(%,$nick,.busy),2) == On) notice $nick You have to wait until you can kill another Barbarian!
      else { notice $nick You go to kill a Barbarian...
        set % $+ $nick $+ .barb.coins $rand(0,45)
        set % $+ $nick $+ .barb.ironmaces $rand(0,2)
        timer 1 5 notice $nick You returned with $($+(%,$nick,.barb.coins),2) coins and $($+(%,$nick,.gsp.ironmaces),2) Iron Maces! These have been added to your stash.
        inc % $+ $nick $+ .Coins $($+(%,$nick,.barb.coins),2)
        inc % $+ $nick $+ .ironmaces $($+(%,$nick,.barb.ironmaces),2)
        inc % $+ $nick $+ .CombatXP 60
        inc % $+ $nick $+ .bones 1
        unset % $+ $nick $+ .barb.coins
        unset % $+ $nick $+ .barb.ironmaces
        set % $+ $nick $+ .busy On
        timer 1 10 unset % $+ $nick $+ .busy
      }
    }
  }
}


~~~ Zombies ~~~
_______________

on *:text:!kill zombie*:#rslife:{ if (!$($+(%,$nick),2)) notice $nick You do not have an account! Type !create to make one.
  else { if ($($+(%,$nick,.CombatXP),2) < 750) notice $nick You do not have enough Combat experience to kill Zombies. (750 Combat Experience minimum.)
    else { if ($($+(%,$nick,.busy),2) == On) notice $nick You have to wait until you can kill another Zombie!
      else { notice $nick You go to kill a Zombie...
        set % $+ $nick $+ .zomb.coins $rand(0,60)
        set % $+ $nick $+ .zomb.ironmaces $rand(0,2)
        timer 1 5 notice $nick You returned with $($+(%,$nick,.zomb.coins),2) coins and $($+(%,$nick,.zomb.ironmaces),2) Iron Maces! These have been added to your stash.
        inc % $+ $nick $+ .Coins $($+(%,$nick,.zomb.coins),2)
        inc % $+ $nick $+ .ironmaces $($+(%,$nick,.zomb.ironmaces),2)
        inc % $+ $nick $+ .CombatXP 75
        inc % $+ $nick $+ .bones 1
        unset % $+ $nick $+ .zomb.coins
        unset % $+ $nick $+ .zomb.ironmaces
        set % $+ $nick $+ .busy On
        timer 1 10 unset % $+ $nick $+ .busy
      }
    }
  }
}


~~~ Ghosts ~~~
_______________

on *:text:!kill ghost*:#rslife:{ if (!$($+(%,$nick),2)) notice $nick You do not have an account! Type !create to make one.
  else { if ($($+(%,$nick,.CombatXP),2) < 1000) notice $nick You do not have enough Combat experience to kill Ghosts. (1000 Combat Experience minimum.)
    else { if ($($+(%,$nick,.busy),2) == On) notice $nick You have to wait until you can kill another Ghost!
      else { notice $nick You go to kill a Ghost...
        set % $+ $nick $+ .gh.coins $rand(0,150)
        set % $+ $nick $+ .gh.ironscimmys $rand(0,2)
        timer 1 5 notice $nick You returned with $($+(%,$nick,.gh.coins),2) coins and $($+(%,$nick,.gh.ironscimmys),2) Iron Scimitars! These have been added to your stash.
        inc % $+ $nick $+ .Coins $($+(%,$nick,.gh.coins),2)
        inc % $+ $nick $+ .ironscimmys $($+(%,$nick,.gh.ironscimmys),2)
        inc % $+ $nick $+ .CombatXP 100
        unset % $+ $nick $+ .gh.coins
        unset % $+ $nick $+ .gh.ironscimmys
        set % $+ $nick $+ .busy On
        timer 1 10 unset % $+ $nick $+ .busy
      }
    }
  }
}