Automacro Queued

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

Moderator: Moderators

TormenT
Human
Human
Posts: 33
Joined: 13 Nov 2012, 07:57
Noob?: No

Automacro Queued

#1 Post by TormenT »

Hello, I read the manual about reregister but did not quite understand

I have two automacros

Code: Select all

automacro BuffsMe {
	location xxx
	call {
	do ss xxx
	pause 1
	do ss xxxx
	.....
	.....
	.....
	.....
	.....
}
	}

automacro GiveBuff {
	pubm /buff.../..../.../
	call {
	sp xxx 
	pause 1
	sp xxx
	.......
	.......
	......
}
	}
	
1 -How PAUSE automacro BuffMe and start GiveMeBuff and later GiveMebuff done continues BUffMe from where it was paused

2 - First done BuffMe and add to queued GiveMebuff

Thanks for all
ever_boy_
Developers
Developers
Posts: 308
Joined: 06 Jul 2012, 13:44
Noob?: No

Re: Automacro Queued

#2 Post by ever_boy_ »

Code: Select all

automacro one {
start
...
call macro two 1
...
end
}

macro two {
...
}
TormenT
Human
Human
Posts: 33
Joined: 13 Nov 2012, 07:57
Noob?: No

Re: Automacro Queued

#3 Post by TormenT »

and condition automacro 2?

now u posted i remember i used this a 7 years ago,but dont remember nothing else

why dont have this in manual?

START and END
ever_boy_
Developers
Developers
Posts: 308
Joined: 06 Jul 2012, 13:44
Noob?: No

Re: Automacro Queued

#4 Post by ever_boy_ »

these are not COMMANDS, just symbolic names for whatever comes before and after the macro call.
call <macroname> [<n>]
Calls macro <macroname> [<n> times]. When <macroname> is finished the current macro continues.
just set your automacro to call a macro.
TormenT
Human
Human
Posts: 33
Joined: 13 Nov 2012, 07:57
Noob?: No

Re: Automacro Queued

#5 Post by TormenT »

dont work, this spam in console, macro buff 1 not found

Code: Select all

automacro BuffOutros {
	location xxxxxxx
	console /xxxxxxxxl/
	call buff 1
}

macro buff {
	pause 
	do sp 34 0
	pause 1
	do sp 29 0
	pause 1
	do sp 34 1
	pause 1
	do sp 29 1
	pause 1
	do sp 34 2
}

automacro kyrie {
	pubm /ky|kyrie|Kyrie|kirie|kyare|kyere/
	location xxxxx
	run-once 1
	call {
	pause 3
	do ss 73 @player ($.lastpub)
	release kyrie
}
	}
i want this man, automafro ,kyrie pause BuffOutros user kyrie in player, and continue buffoutros
EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: Automacro Queued

#6 Post by EternalHarvest »

Currently, when automacro triggers, it completely throws away already running macro.
GotMilk25
Noob
Noob
Posts: 7
Joined: 04 Dec 2012, 17:47
Noob?: No

Re: Automacro Queued

#7 Post by GotMilk25 »

TormenT wrote:dont work, this spam in console, macro buff 1 not found

Code: Select all

automacro BuffOutros {
	location xxxxxxx
	console /xxxxxxxxl/
	call buff 1                    <----Check this part. it should be buff not buff<space>1
}

macro buff {
	pause 
	do sp 34 0                   <-- are you sure with this? using fixed player ID
	pause 1
	do sp 29 0                   <--
	pause 1
	do sp 34 1                  <--
	pause 1
	do sp 29 1                  <--
	pause 1
	do sp 34 2                  <--
}

automacro kyrie {
	pubm /ky|kyrie|Kyrie|kirie|kyare|kyere/
	location xxxxx
	run-once 1
	call {
	pause 3
	do ss 73 @player ($.lastpub)           <-- this should be 'do sp' not do ss
	release kyrie
}
	}
i want this man, automafro ,kyrie pause BuffOutros user kyrie in player, and continue buffoutros
TormenT
Human
Human
Posts: 33
Joined: 13 Nov 2012, 07:57
Noob?: No

Re: Automacro Queued

#8 Post by TormenT »

what this?