Page 1 of 1

Macro plugin download, MANUAL (read before asking questions)

Posted: 24 Jun 2009, 21:55
by ezza
Macro plugin manual and download links: http://wiki.openkore.com/index.php/Macro_plugin



Other additional auto/macro syntaxes and other functions included in Macro 2.0.3-SVN:-
  1. whenGround - triggers when you are in the effect of ground status.
  2. areaSpell - triggers when you're in the range of distance(from centre of location spell) when someone uses a location spell ex: Warp Portal.
  3. playerguild - triggers when new player actor or charnameupdate received match the conditions of guild list with distance.
  4. monster - an upgrade version from the original automacro syntax
  5. localtime - triggers when cpu clock match the conditions of the time set.
  6. spell - an upgrade version from the original automacro syntax
  7. Variable usage in automacro syntax - new features
  8. Range Numbers - new features
  9. Perl Look-A-Like If Statement - enable some of the perl if-statement functionality. Still under developement stage(developers are welcome)
  10. Perl sub routine in macro scripting - still under developement stage(developers are welcome)
  11. npc special keyword - @npc(123 123) , @npc(/<regexp>) and @npc("npc name") now available
  12. nick special keyword - read the link to understand
  13. arg special keyword - enable variable usage in @arg

Re: TEMPORARY Macro Manual

Posted: 25 Jun 2009, 02:04
by kali
Why not create a wiki for the macro manual?

I'll make a static version of the manual t the weekend :)

Re: TEMPORARY Macro Manual

Posted: 25 Jun 2009, 02:23
by ezza
kali wrote:Why not create a wiki for the macro manual?

I'll make a static version of the manual t the weekend :)


That's a good idea... but whos gona do the description part? My law language is not very good(a.k.a sucks) as you can see in all the post. Some1 need to do the description better than mine. Thx kali.

Re: TEMPORARY Macro Manual

Posted: 07 Nov 2009, 17:04
by Mushroom
Macro plugin manual is now on wiki.
http://wiki.openkore.com/index.php?title=Macro_plugin

Re: TEMPORARY Macro Manual

Posted: 10 Nov 2009, 03:23
by ezza
I've found 1 problem in the macro manual wiki...
if (arg <condition> arg2 || arg3 <condition> arg4 && arg5 <condition> arg6) (goto <label> | call <macro> <n>)
it should be ...
if ((arg <condition> arg2 || arg3 <condition> arg4) && arg5 <condition> arg6) (goto <label> | call <macro> <n>)
thx for the wiki... i'll try to correct abit later. ;)


[edit]
i think it would be better if you can add this too... but i dont know what the best if's to put it there

for OR condition...
if (arg <condition> arg2 || arg3 <condition> arg4 || ... || argN <condition> argN+1) (goto <label> | call <macro> <n>)
for AND condition...
if (arg <condition> arg2 && arg3 <condition> arg4 && ... && argN <condition> argN+1) (goto <label> | call <macro> <n>)

... that's what unlimited condition should be. Thx


[edit2]
1. Special Variable $.hour, $.minute and $.second should be added too.
2. playerguild automacro syntax exists.

Re: TEMPORARY Macro Manual

Posted: 17 Nov 2009, 08:54
by kali
Ezza, I think you can edit the wiki if there are any problems :)