My macro doesn' trigger because this part doesn't work
" console /Location saved./"
automacro toonlvlup {
console /Location saved./
location morocc
class Knight
run-once 1
call {
do conf lockMap geffen
do conf attackAuto 2
do conf QuestPart none
}
}
I want this macro to check if my bot has already talked to npc kafra and saved properly, then trigger automacro toonlvlup
This is what console looks like after it has already saved with kafra. I'm not sure what's the problem with this condition " console /Location saved./"
Kafra Employee: [Kafra Employee]
Kafra Employee: Location saved.
Kafra Employee: Thank you for using Kafra services.
Macro failed.
Moderator: Moderators
Re: Macro failed.
Are you talking to the kafra via a macro?
I'm not sure if automacro can trigger while a macro is already running.
I'm not sure if automacro can trigger while a macro is already running.
Whatever...
Re: Macro failed.
Yes I do talk to kafra via macro, if that is the case. Is there alternative to that. Because i do really need to check if my bot is propely saved. Because sometime server is so lag and sometime it skips talking with kafra.
Re: Macro failed.
reactOnNPC plugin. It can check the conversation and trigger command(s) when you close the conversation with kafra.
Whatever...
Re: Macro failed.
man maybe u just do conf QuestPart citySaved i ur kafra macro...
and than
?
and than
Code: Select all
automacro blabla{
...
eval ($::config{QuestPart} eq "citySaved")
...
call blablabla
}
Please use pin function for uploading your file contents!
Re: Macro failed.
The problem with this is that it can not check whether bot has saved properly. Some time server has lag spike and it just failed to save and then goes to another macro.Mortimal wrote:man maybe u just do conf QuestPart citySaved i ur kafra macro...
and than
?Code: Select all
automacro blabla{ ... eval ($::config{QuestPart} eq "citySaved") ... call blablabla }
But I will try reactonnpc plugin. Ty.