Macro class condition doesn't work?

International

Moderator: Moderators

zexeta
Plain Yogurt
Plain Yogurt
Posts: 54
Joined: 11 Jul 2017, 00:49
Noob?: No

Macro class condition doesn't work?

#1 Post by zexeta »

I cannot get this to work with a swordman no matter what i do?

automacro set1part2 {
job > 39
class = Swordman
location mjolnir_11
inventory "Maneater Blossom" = 5
inventory "Bug Leg" = 5
call set1part2
}

This is part of a knight job change macro im working on and no matter what it will not trigger with the class line in it. If i remove the class line it triggers fine. I want that condition so if i ever send the knight bot there for some reason it doesn't start chaining through the areas to collect items for the job change again.

EDIT
automacro set1part4 {
job > 39
location pay_dun01
inventory "Old Frying Pan" > 4
run-once 1
call set1part4
}

This one also won't trigger? Something with the inventory line. I have many other macros like it that work fine but it won't work with this particular item?
Mortimal
Developers
Developers
Posts: 389
Joined: 01 Nov 2008, 15:31
Noob?: No

Re: Macro class condition doesn't work?

#2 Post by Mortimal »

First:

Code: Select all

class = Swordman
\/

Code: Select all

class Swordman
Second:
Check items.txt you are using for corresponding name
7031#Old_Frying_Pan# it must be like this...

Third:
POST IN MACRO SECTION!!!
Please use pin function for uploading your file contents!
zexeta
Plain Yogurt
Plain Yogurt
Posts: 54
Joined: 11 Jul 2017, 00:49
Noob?: No

Re: Macro class condition doesn't work?

#3 Post by zexeta »

Mortimal wrote:First:

Code: Select all

class = Swordman
\/

Code: Select all

class Swordman
Second:
Check items.txt you are using for corresponding name
7031#Old_Frying_Pan# it must be like this...

Third:
POST IN MACRO SECTION!!!
Macro still doesn't trigger with the changes you suggest. I can remove that class line and it triggers fine.