[Macro] Conditional Macro and Quest List

All resolved question will be found here. It is recommended that you browse / search through this section first and see if your question has been answered before

Moderators: Moderators, Documentation Writers

Message
Author
chryxt
Noob
Noob
Posts: 1
Joined: 20 Sep 2019, 15:31
Noob?: Yes

[Macro] Conditional Macro and Quest List

#1 Post by chryxt »

Hello, im newbie here but willing to learn
its my first time creating macros and im stuck in here.. please help

Code: Select all

automacro quest board {
timeout 15
exclusive 1
call {
$temp1 = @eval($::questList->{292033}->{active})
if ($temp1 == 0) call tq
$temp2 = @eval($::questList->{292033}->{missions}->{1060}->{count})
if ($temp2 == 150) call rq
}
}
what i want from this macro is to check if you have quest then do
1. if you have it then do the quest
2. if you dont have it then take the quest

the first one is working fine, but the second it didnt work but no error at console
please do tell me what i do wrong? where i can find the guide?

User avatar
fadreus
The Kore Devil
The Kore Devil
Posts: 708
Joined: 17 Nov 2017, 23:32
Noob?: No
Location: Genting Highland, Malaysia
Contact:

Re: Help please, noob here!

#2 Post by fadreus »

chryxt wrote: 1. if you have it then do the quest
2. if you dont have it then take the quest
Old macro is getting outdated.
Use eventMacro instead.
It already have condition for checking quest.

iRO Supporter.
Read before you ask is the wisest thing human can do.
Unless you're a cat.
Image

Locked