Openkore.com

OpenKore Forums
It is currently 23 Nov 2014, 21:09

All times are UTC - 5 hours [ DST ]





Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 6 posts ] 
Author Message
 Post subject: Macro plugin download, MANUAL (read before asking questions)
PostPosted: 24 Jun 2009, 21:55 
Offline
Developers
Developers
User avatar

Joined: 04 Apr 2008, 09:50
Posts: 108
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

_________________
An Overall Macro Plugins Diffs Proposal


Top
 Profile  
 
 Post subject: Re: TEMPORARY Macro Manual
PostPosted: 25 Jun 2009, 02:04 
Offline
Halfway to Eternity
Halfway to Eternity

Joined: 04 Apr 2008, 10:10
Posts: 374
Why not create a wiki for the macro manual?

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

_________________
Visit my blog.

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.


Top
 Profile  
 
 Post subject: Re: TEMPORARY Macro Manual
PostPosted: 25 Jun 2009, 02:23 
Offline
Developers
Developers
User avatar

Joined: 04 Apr 2008, 09:50
Posts: 108
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.

_________________
An Overall Macro Plugins Diffs Proposal


Top
 Profile  
 
 Post subject: Re: TEMPORARY Macro Manual
PostPosted: 07 Nov 2009, 17:04 
Offline
Perl Monk
Perl Monk
User avatar

Joined: 04 Apr 2008, 14:04
Posts: 427
Location: Brazil
Macro plugin manual is now on wiki.
http://wiki.openkore.com/index.php?title=Macro_plugin

_________________
Quit.


Top
 Profile  
 
 Post subject: Re: TEMPORARY Macro Manual
PostPosted: 10 Nov 2009, 03:23 
Offline
Developers
Developers
User avatar

Joined: 04 Apr 2008, 09:50
Posts: 108
I've found 1 problem in the macro manual wiki...

Quote:
if (arg <condition> arg2 || arg3 <condition> arg4 && arg5 <condition> arg6) (goto <label> | call <macro> <n>)


it should be ...

Quote:
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...
Quote:
if (arg <condition> arg2 || arg3 <condition> arg4 || ... || argN <condition> argN+1) (goto <label> | call <macro> <n>)


for AND condition...
Quote:
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.

_________________
An Overall Macro Plugins Diffs Proposal


Top
 Profile  
 
 Post subject: Re: TEMPORARY Macro Manual
PostPosted: 17 Nov 2009, 08:54 
Offline
Halfway to Eternity
Halfway to Eternity

Joined: 04 Apr 2008, 10:10
Posts: 374
Ezza, I think you can edit the wiki if there are any problems :)

_________________
Visit my blog.

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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 6 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
[ Time : 0.053s | 16 Queries | GZIP : On ]