I am trying to create a macro to check if the character has some kill and if it has, it will close the tibia, if it is not going to continue hunting
I'm trying this way, I do not understand much, can anyone help me?
the macro I made was this:
Exitno =:False
Exityes =:True
Self.Say(!kills)
When.Yell(!Exitno!, "You do not have any unjustified kill.*") [else2]
Exit()
{else2}
When.Yell(!Exityes!, "You have 1 unjustified kill.*") Tibia.Close()
Exit()
Could someone tell me where I'm going wrong?
this is a error :
`When` functions can only be executed inside `once` macros (no auto macros/no manual macros)
I'm trying this way, I do not understand much, can anyone help me?
the macro I made was this:
Exitno =:False
Exityes =:True
Self.Say(!kills)
When.Yell(!Exitno!, "You do not have any unjustified kill.*") [else2]
Exit()
{else2}
When.Yell(!Exityes!, "You have 1 unjustified kill.*") Tibia.Close()
Exit()
Could someone tell me where I'm going wrong?
this is a error :
`When` functions can only be executed inside `once` macros (no auto macros/no manual macros)