macro for getting pots from storage

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

Moderator: Moderators

FTLY Bot
Human
Human
Posts: 24
Joined: 22 Aug 2012, 06:33
Noob?: No

macro for getting pots from storage

#1 Post by FTLY Bot »

Code: Select all

automacro potion {
	inventory "White Potion" <= 10
	overrideAI 1
	run-once 1
	call {
		do c @go 8
		pause 1
		do c @storage
		pause 1
		do storage get White Potion 40
		pause 1
		do storage close
		pause 1
		do c @warp pay_dun04
		release potion
		}
}
the server i play in has chat commands . the problem is that the bot drains all the pots in my storage . :| what do i do ?
Kaspy
Halfway to Eternity
Halfway to Eternity
Posts: 398
Joined: 08 Jun 2012, 15:42
Noob?: No
Location: Brazil

Re: macro for getting pots from storage

#2 Post by Kaspy »

[EN]
No need to create macros for that.
In config.txt to have this function.

[PT-BR]
Não é preciso criar macros para isso.
No config.txt tem função para isso.
Image