What is wrong with this macro?

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

Moderator: Moderators

Message
Author
Pachu
Plain Yogurt
Plain Yogurt
Posts: 55
Joined: 04 Apr 2008, 14:21
Noob?: No

Re: What is wrong with this macro?

#11 Post by Pachu »

why wont you let us help you? if you really want help, at least follow the template that fadreus posted. we can't guess what you are trying to do or what have you done so far

Glikadin
Human
Human
Posts: 29
Joined: 09 Dec 2016, 09:05
Noob?: Yes

Re: What is wrong with this macro?

#12 Post by Glikadin »

eventMacros.txt :

Code: Select all

macro GoGetGreenLive {
	do tele 2
	pause &rand(4,5)
	do autosell # If you need to release inventory with the help of a sale, delete this line if not
	do move &rand(85,89) &rand(154,157) umbala
	do ai manual
	do move &rand(85,89) &rand(154,157) umbala
	while (&storamount(Great Nature) > 1) {
		do move &rand(85,89) &rand(154,157) umbala
		do talknpc 87 160 c r1 c r0 n
		pause 2
		do storage addfromcart Green Live
		pause 1
		do storage addfromcart Great Nature
		pause 1
		do storage add Green Live
		pause 1
		do storage add Great Nature
		pause 1
		do storage get Great Nature 100
		pause 1
		do storage get Great Nature 100
		pause 1
		storage close
		pause &rand(4,5)
		do move #You need to enter: move to the place nearbly Shaman NPC (do move ?? ?? um_in)
		pause 1
		while (&invamount(Great Nature) > 1) {
			do talknpc #You need to enter: talk for Shaman NPC, example: do talknpc ?? ?? c r1 c t="&rand(1,100)" c r0 c n
			pause 1
			do cart add Green Live
			pause 1
		}		
	}
	do ai auto
	stop
}
Enter to console "eventMacro GoGetGreenLive " or create automacro with the necessary conditions, which will call this macro.
I hope that helped you.

Post Reply