Where i find hooks

All about the macro plugin can be found in this forum. This forum is intended for the macro plugin only.

Moderator: Moderators

TormenT
Human
Human
Posts: 33
Joined: 13 Nov 2012, 07:57
Noob?: No

Where i find hooks

#1 Post by TormenT »

to use in automacro and macros

i need to use with MACRO

I have a macro with command do move $.pos and i use in mon_control.txt all 0 2 0
I want the case during the macro and the command "x" if it uses teleport, ending the macro, I would use the goto
think of something

Code: Select all

do move $xyCoord
while ($xyCoord != $.pos) as loop
       if (You use Teleporte on yourself) goto end
end loop
bla bla bla ...
:end
stop
what hook is possible use when i cast Teleport? i saw one list here in forum, but i tested and dont have results....

Thanks
ever_boy_
Developers
Developers
Posts: 308
Joined: 06 Jul 2012, 13:44
Noob?: No

Re: Where i find hooks

#2 Post by ever_boy_ »

there's no such thing in macro's if statement. post the whole macro.
TormenT
Human
Human
Posts: 33
Joined: 13 Nov 2012, 07:57
Noob?: No

Re: Where i find hooks

#3 Post by TormenT »

the macro only use move to position
and cast santuary, but i use teleport for all monster attack me, this option is not possible i change or openkore die...

the problem is that if the monster attacks me he teleports and skill to stand in queued, then it uses the teleport skill yet, I want to stop the macro if it happens
EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: Where i find hooks

#4 Post by EternalHarvest »

Non-exclusive macro is stopped when an automacro triggers, so just set another automacro to trigger on teleport.
TormenT
Human
Human
Posts: 33
Joined: 13 Nov 2012, 07:57
Noob?: No

Re: Where i find hooks

#5 Post by TormenT »

Thanks, i know this, but not possible because i use teleport all time and others. if idle, hp low...

but ok, thanks all for help XD