View Single Post
Old 04-01-09, 09:07 PM   #6
Maul
Ion Engines, Engage!
 
Maul's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2005
Posts: 401
Advanced Topics

This area discusses some of the more advanced possibilities of Macaroon.

Custom States: (article still to be written)

Bar Linking: (article still to be written)

Macro Extensions:
/doafter command -
This command allows for the execution of an unsecure chat line after a specified event for a given spell
Format -
/doafter <spell>:<spell event>:<unsecure command line>
Example -
/doafter flash heal:heal:/say Flash Heal has been cast
List of available events and associated data -
damage
data index - 1: amount, 2: overkill, 3: school, 4: resisted, 5: blocked, 6: absorbed, 7: critical, 8: glancing, 9: crushing
missed
data index - 1: misstype, 2: amount missed
heal
data index - 1: amount, 2: overheal, 3: critical
energize
drain
leech
interrupt
stolen
start
success
failed
instakill
create
summon
resurrect


/in
command -
This command allows for the execution of an unsecure chat line after the specified amount of time
Format -
/in <wait time>:<unsecure command line>
Example -
/in 5:/say It has been 5 seconds!


/repeat
command-
This command allows for the execution of an unsecure chat line at repeated intervals for the specified number of times.
Format -
/repeat <interval>:<count>:<unsecure command line>
Example -
/repeat 5:3:/g Be careful not to spam!


/select
command -
This command allows for the creation of a popup menu of items/spells for selection to be used by the macro button
Format -
/select <type>:<keys>:<shape>:<attach point>:<relative point>:<columns|radius>:<click|mouse>
Examples -
/select item:trinket:linear:right:left:6

/select item+:quest item:circular:center:center:15

/select companion:mount:linear:right:left:6

Most options may be abbreviated -

/select i+:quest item:c:c:c:15:c
Types:
item
spell
companion


add + to scan the type's tooltip instead of the type's data
Keys:
Use as many comma-delimited keys as you want (ex: "quest item,use,blah,blah,blah")

The "companion" type must have "critter" or "mount" in the key list

Use ! in front of a key to exclude anything containing that key

Use ~ in front of a key to make that key optional
Shapes:
linear
circular

Points:
left
right
top
bottom
topleft
topright
bottomleft
bottomright
center



Substitutions -
Targets - returns the name of the specificed target
%p = "player",
%t = "target",
%f = "focus",
%tt = "targettarget",
%p1 = "party1",
%p2 = "party2",
%p3 = "party3",
%p4 = "party4",
%pt = "pet",
%mo = "mouseover",
Modifiers - returns additional information about the specified target or "target" if not specified
c = class
n = name
l = level
g = gender
r = race
h = health
m = mana
rt = raid target

+ = verbose feedback
Examples -
%f:n:c:l - returns the name, class and level of your focus target. If the information does not exist, nothing is returned.

%f:n:c:l+ - same as above, but if the information does not exist, feedack is given on what information does not exist.

%tt - returns the name of your target's target.
Notes -
Multiple subsititutions may be included on the same line -

%f:n:c:l

is the same as

%f:n %f:c+ %f:l

but allows for the feedback to be unique for each returned datum.
__________________

Twitter: @IonMaul | Windows Live: trinityui@live.com | Google Talk: trinityui@gmail.com

Last edited by Maul : 05-17-09 at 10:33 AM.
Maul is offline