Macro plugin download, MANUAL (read before asking questions)

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

Moderator: Moderators

Message
Author
ezza
Developers
Developers
Posts: 109
Joined: 04 Apr 2008, 09:50

Macro plugin download, MANUAL (read before asking questions)

#1 Post 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

kali
OpenKore Monk
OpenKore Monk
Posts: 457
Joined: 04 Apr 2008, 10:10

Re: TEMPORARY Macro Manual

#2 Post by kali »

Why not create a wiki for the macro manual?

I'll make a static version of the manual t the weekend :)
Got your topic trashed by a mod?

Trashing topics is one click, and moving a topic to its proper forum is a lot harder. You expend the least effort in deciding where to post, mods expend the least effort by trashing.

Have a nice day.

ezza
Developers
Developers
Posts: 109
Joined: 04 Apr 2008, 09:50

Re: TEMPORARY Macro Manual

#3 Post 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.

Mushroom
Perl Monk
Perl Monk
Posts: 427
Joined: 04 Apr 2008, 14:04
Noob?: No
Location: Brazil

Re: TEMPORARY Macro Manual

#4 Post by Mushroom »

Macro plugin manual is now on wiki.
http://wiki.openkore.com/index.php?title=Macro_plugin
Quit.

ezza
Developers
Developers
Posts: 109
Joined: 04 Apr 2008, 09:50

Re: TEMPORARY Macro Manual

#5 Post 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.

kali
OpenKore Monk
OpenKore Monk
Posts: 457
Joined: 04 Apr 2008, 10:10

Re: TEMPORARY Macro Manual

#6 Post by kali »

Ezza, I think you can edit the wiki if there are any problems :)
Got your topic trashed by a mod?

Trashing topics is one click, and moving a topic to its proper forum is a lot harder. You expend the least effort in deciding where to post, mods expend the least effort by trashing.

Have a nice day.

Locked