Code: Select all
|bits.mac
|
|
Sub Main
:MakeBits
/sendkey down ctrl
/finditem "Small Piece of Ore"
/if $find()==FALSE /goto :Done
/click left enviro 0
/finditem "Small Piece of Ore"
/if $find()==FALSE /goto :Done
/click left enviro 1
/finditem similar "Water Flask"
/if $find()==FALSE /goto :Done
/click left enviro 3
/sendkey up ctrl
/click left enviro combine
/delay 2
/if "$cursor()"=="TRUE" /goto :AutoDropBits
/goto :MakeBits
:AutoDropBits
/click left auto
/goto :MakeBits
:Done
/sendkey up ctrl
/return
Code: Select all
| - MBits.mac -
|
|
|
|
#include routines.mac
Sub Main
:MakeMetalBits
/sendkey down ctrl
/finditem "Small Piece of Ore"
/if $find()==FALSE /goto :MakeStuds
/click left enviro 0
/finditem "Small Piece of Ore"
/if $find()==FALSE /goto :MakeStuds
/click left enviro 2
/finditem "Water Flask"
/if $find()==FALSE /goto :MakeStuds
/click left enviro 4
/sendkey up ctrl
/click left enviro combine
/if "$cursor()"=="TRUE" /goto :AutoDropBits
/for v1 1 to 5
/delay 2
/if "$cursor()"=="TRUE" /goto :AutoDropBits
/next v1
/goto :MakeMetalBits
:AutoDropBits
/click left auto
/goto :MakeMetalBits
:MakeStuds
/sendkey down ctrl
/finditem "Metal Bits"
/if $find()==FALSE /goto :Done
/click left enviro 0
/finditem "Metal Bits"
/if $find()==FALSE /goto :Done
/click left enviro 1
/finditem "Metal Bits"
/if $find()==FALSE /goto :Done
/click left enviro 2
/finditem "Water Flask"
/if $find()==FALSE /goto :Done
/click left enviro 4
/finditem "File"
/if $find()==FALSE /goto :Done
/click left enviro 6
/sendkey up ctrl
/click left enviro combine
/if "$cursor()"=="TRUE" /goto :AutoDropFile
/for v1 1 to 5
/delay 2
/if "$cursor()"=="TRUE" /goto :AutoDropFile
/next v1
:CheckForStuds
/if "$cursor()"=="TRUE" /goto :AutoDropStuds
/for v1 1 to 5
/if "$cursor()"=="TRUE" /goto :AutoDropStuds
/next v1
/goto :MakeStuds
:AutoDropFile
/click left auto
/goto :CheckForStuds
:AutoDropStuds
/click left auto
/goto :MakeMetalBits
:Done
/sendkey up ctrl
/return
