Bloodrose Emporium
Index > Login
Name: Password: Remember:

» Forums » Public Board » Scripts » Auto-Harvester


Broly
Broly
Family Member

Joined: 12.12.2004
Posts: 61
Posted: 22 Jan 2006 14:56     Subject:
Here's a mushclient plugin for harvesting:

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE muclient>
<muclient>
<plugin
  name="harvester"
  author="blah blah"
  id="296e69a0bd32701b106930ad"
  language="Jscript"
  purpose="harvesting"
  save_state="y"
  date_written="2006-01-22 16:54:19"
  requires="3.66"
  version="1.0"
  >

</plugin>


<!--  Triggers  -->

<triggers>
 <trigger
  enabled="y"
  group="balances"
  match="^You have recovered balance on all limbs\.$"
  name="getbal"
  regexp="y"
  send_to="12"
  sequence="100"
 >
 <send>if(world.GetVariable("no_of_herbs" != 0)
 
 {
 
  world.Send("harvest " + world.GetVariable("herb");
  world.SetVariable("no_of_herbs", world.GetVariable("no_of_herbs" - 1);
   
 }</send>
 </trigger>
</triggers>

<!--  Aliases  -->

<aliases>
 <alias
  match="harvoff"
  send_to="12"
  enabled="y"
  sequence="100"
 >
 <send>world.SetVariable("no_of_herbs", 0);</send>
 </alias>
 <alias
  match="harv * *"
 send_to="12"
  enabled="y"
  sequence="100"
 >
 <send>world.SetVariable("herb", "%2";
world.SetVariable("no_of_herbs", %1 - 1);
world.Send("harvest " + "%2";</send>
 </alias>
</aliases>

<!--  Variables  -->

<variables>
 <variable name="no_of_herbs">0</variable>
 <variable name="herb"></variable>
</variables>

</muclient>

Up View profile :: Send message

Pag: 1 2 3 4 5 6 7
Advertising
© Copyright 2001-2015 iNDY Design. Contact - About