Crafting Arrow and Storage Auto

All about the macro plugin can be found in this forum. This forum is intended for the macro plugin only.

Moderator: Moderators

Message
Author
razi
Noob
Noob
Posts: 2
Joined: 19 Feb 2016, 01:22
Noob?: Yes

Crafting Arrow and Storage Auto

#1 Post by razi »

Hey guys I would like to share my macro for auto making arrow but still need lot improvement. Just simple code but useful compare automakearrows.The problem here is when character out of sp the macro doesn't stop and wait until sp is regen again. In previous I already do some code multiple if statement , I don't know why macro not running my code or I wrongly put the condition.

Note: If you got priest do buff your sniper/hunter to produce more faster.


config.txt:

Code: Select all

getAuto Porcupine Quill {
	minAmount 5
	maxAmount 20
	passive 0
}

getAuto Mole Claw {
	minAmount 5
	maxAmount 50
	passive 0
}
items_control.txt:

Code: Select all

######Item in Inventory#######
Porcupine Quill 1 0 0 0
Mole Claw 1 0 0 0
######Item in Inventory#######

####Arrow Sell#####
Arrow 0 0 1
Iron Arrow 0 0 1
macro.txt:

Code: Select all

automacro stonearrow {
						sp != 0%
						weight <= 49%
						call {
						do arrowcraft use
						}
						timeout 2
					}

automacro arrowcraft {
						console /.*Received Possible Arrow Craft List.*/i
						call {
						do arrowcraft 0 #change this to 1 or 0
						}	
					}