Code: Select all
automacro KoboldQuests {
exclusive 1
timeout 60
if (&questCompleteCount(62750) == 1) {
goto AxeKobold
}
if (&questCompleteCount(62751) == 1) {
goto HammerKobold
}
if (&questCompleteCount(62753) == 1) {
goto ArcherKobold
}
if (&questCompleteCount(62752) == 1) {
goto MaceKobold
}
macro AxeKobold {
do ai manual
pause 3
do is Butterfly Wing
pause 3
do move lighthalzen 192 159
pause 3
do talknpc 192 161 c c r1 c r0 c c r0 n
pause 3
do talknpc 192 161 c c r0 c r0 n
do ai on
}
macro HammerKobold {
do ai manual
pause 3
do is Butterfly Wing
pause 3
do move lighthalzen 192 159
pause 3
do talknpc 192 161 c c r1 c r0 c c r1 n
pause 3
do talknpc 192 161 c c r0 c r1 n
do ai on
}
macro ArcherKobold {
do ai manual
pause 3
do is Butterfly Wing
pause 3
do move lighthalzen 192 159
pause 3
do talknpc 192 161 c c r1 c r0 c c r3 n
pause 3
do talknpc 192 161 c c r0 c r3 n
do ai on
}
macro MaceKobold {
do ai manual
pause 3
do is Butterfly Wing
pause 3
do move lighthalzen 192 159
pause 3
do talknpc 192 161 c c r1 c r0 c c r2 n
pause 3
do talknpc 192 161 c c r0 c r2 n
do ai on
}
The above code results in the following message:
"control\macros.txt: ignoring 'if (&questCompleteCount(62750) == 1) {' in line 4 (munch, munch, unknown automacro
keyword)
control\macros.txt: ignoring 'goto AxeKobold' in line 5 (munch, munch, unknown automacro keyword)
control\macros.txt: ignoring line 'if (&questCompleteCount(62751) == 1) {' in line 8 (munch, munch, strange block)
control\macros.txt: ignoring line 'if (&questCompleteCount(62753) == 1) {' in line 12 (munch, munch, strange block)
control\macros.txt: ignoring line 'if (&questCompleteCount(62752) == 1) {' in line 16 (munch, munch, strange block)
[macro] hooking to AI_pre
[macro] automacro KoboldQuests triggered.
[macro] automacro KoboldQuests: call not defined."
Any ideas whats going on here? According to the github these syntax should be able to be understood but its spitting out a munch munch error? Has anybody had any luck updating their board quest automacros to work for the new way of checking for completed quests?