Right now OpenKore's Macro.pl support special variables.
There are special read-only variables which begin with a dot. They are pre-defined with the macro plugin.
$.map - the map you're on ("prontera")
$.pos - your current position ("123 234")
$.time - current time as unix timestamp ("1131116304")
$.datetime - current date and time ("Fri Nov 4 15:59:36 2005")
$.hour - current hour time in 24h format
$.minute - current minute time
$.second - current second time
$.hp - current hp
$.sp - current sp
$.lvl - current base level
$.joblvl - current job level
$.spirits - current number of spirit spheres
$.zeny - current amount of zeny
$.status - current statuses in a comma-separated list
$.paramN - command line parameters (see Commands)
$.caller - name of the last triggered automacro
$.weight - returns the current weight of the character
$.maxweight - returns the maximum weight of the character
What I am missing here is $.maxhp, $.maxsp, $.exp (current experience), $.neededexp (need exp to level up for base level and/or job level).
I'd like to request these features, I'd also like to see the option to export the S and EXP command in OpenKore to a log file.
Thanks and regards,
roflasher
Expanded Macro.pl features ($.xxx - readonly
Moderator: Moderators
-
- Noob
- Posts: 5
- Joined: 30 Aug 2011, 04:32
- Noob?: No
- Location: The Netherlands
-
- Developers
- Posts: 1798
- Joined: 05 Dec 2008, 05:42
- Noob?: Yes
Re: Expanded Macro.pl features ($.xxx - readonly
You can just use @eval($char->{hp_max}) etc.roflasher wrote: What I am missing here is $.maxhp, $.maxsp, $.exp (current experience), $.neededexp (need exp to level up for base level and/or job level).
-
- Noob
- Posts: 5
- Joined: 30 Aug 2011, 04:32
- Noob?: No
- Location: The Netherlands
Re: Expanded Macro.pl features ($.xxx - readonly
If I enter @eval($char->{hp_max}) it will not do anything. Might be that I'm forgetting something...