Bloodrose Emporium
Index > Login
Name: Password: Remember:

» Forums » Public Board » Scripts » Auto-Ratter


Avian

Council Member

Joined: 12.12.2004
Posts: 1124
Posted: 28 Jul 2006 05:16     Subject: Auto-Ratter
The first trigger is in your default group, everything else is in a group called ratting.

Variables are: slain, total, rats and gold

NEW for when you leave a room before you get all three rats and DISP to show how many rats you've killed for how much gold.

Trigger:
{<}You will now notice the movement of vermin. Happy hunting!{>}
Script:
#groupon ratting
#set gold 0
#set rats 0
#set slain 0
#set total 0


Alias:
disp
Script:
#echo You have exterminated $total rats for $gold gold.
#send >>

Alias:
new
Script:
#set rats 0
#set slain 0
#send >>

Trigger:
darts into the shadows and disappears.{>}
Script:
#echo You have exterminated $total rats for $gold gold.
#send >>

Trigger:
noses its way cautiously out of the shadows.{>}
Script:
#add rats 1
smite rat

Trigger:
wanders back into its warren where you may not follow.{>}
Script:
#add rats -1

Trigger:
wanders into view, nosing about for food.{>}
Script:
#add rats 1
smite rat

Trigger:
{<}Entrance to the Medina.{>}
Script:
#if $total > 0{
#set gold 0
#set total 0
sell vermin to hakhim
}

Trigger:
{<}The final blow proves too much for
Script:
#add rats -1
#add slain 1

Trigger:
{<}With a flick of its small whiskers,
Script:
#add rats -1

Trigger:
{<}With a squeak,
Script:
#add rats 1
smite rat

Trigger:
{<}You have recovered balance on all limbs.{>}
Script:
#if $rats > 0{
smite rat
} elsif $slain = 3{
#set slain 0
g rat
g rat
g rat
#beep
}

Trigger:
{<}You pick up the corpse of a baby rat.{>}
Script:
#add gold 10
#add total 1

Trigger:
{<}You pick up the corpse of a black rat.{>}
Script:
#add gold 50
#add total 1

Trigger:
{<}You pick up the corpse of a rat.{>}
Script:
#add gold 30
#add total 1

Trigger:
{<}You pick up the corpse of a young rat.{>}
Script:
#add gold 20
#add total 1

Trigger:
{<}You pick up the corpse of an old rat.{>}
Script:
#add gold 40
#add total 1

Trigger:
{<}You will no longer take notice of the movement of vermin.{>}
Script:
#set gold 0
#set rats 0
#set slain 0
#set total 0
#groupoff ratting

Trigger:
{<}Your eyes are drawn to
Script:
#add rats 1
smite rat

Up View profile :: Send message
Arota
Arota
Council Member

Joined: 11.05.2005
Posts: 1667
Posted: 28 Jul 2006 07:37     Subject:
oooh, auto-pickup.  I do that manually...ok, I have a macro and only have to press two keys to pick up five rats, but whatever.  Yours is still less work.  Though the system as a whole isn't as nifty, since it can't work in all four cities.  (Yes, mine can - even in the catacombs and sewers, auto-attacking and killing the sewer aggros.  My bloodlochian character can't get into their version of the sewers, though...)
Up View profile :: Send message
Avian

Council Member

Joined: 12.12.2004
Posts: 1124
Posted: 28 Jul 2006 17:43     Subject:
I'm too lazy to code it for all cities.

EDIT:

And my character can't get into the sewers. Avian can, but he wouldn't be caught dead ratting.

Up View profile :: Send message
Kealiock
Family Friend

Joined: 11.09.2005
Posts: 210
Posted: 30 Jul 2006 01:32     Subject:
heh im making a ratter from Mush... gonna adapt it to beetles and pinchers... but ashtan can just die
Up View profile :: Send message
Arota
Arota
Council Member

Joined: 11.05.2005
Posts: 1667
Posted: 30 Jul 2006 02:23     Subject:
Seagulling is horrible.  It took me about three times as long to get as much gold from seagulls as from rats.  And this was RIGHT AFTER the day turned over.  Grah, it was pathetic.
Up View profile :: Send message
Kealiock
Family Friend

Joined: 11.09.2005
Posts: 210
Posted: 30 Jul 2006 08:26     Subject:
(Songsteel Family): Avian says, "Whee, ratting."


avian is a liar

Up View profile :: Send message
Arota
Arota
Council Member

Joined: 11.05.2005
Posts: 1667
Posted: 30 Jul 2006 08:42     Subject:
I know.  I've seen him rat.  It's just not worth it to argue.
Up View profile :: Send message

Pag: 1
Advertising
© Copyright 2001-2015 iNDY Design. Contact - About