API

IHML allows you to dynamically switch between macros depending on certain conditions.
There is a default set of macros for use within IHML, however you can add more.
IHML supports all the daily quests which use items from BC and WotLK.


IHML:PLAYER_ENTERING_WORLD()

Function when the PLAYER_ENTERING_WORLD event occurs

Return value

Swaps the macro the the default macro or sets the currentType flag to be instance depending on the circumstance.

Usage

IHML:PLAYER_ENTERING_WORLD()

See also

  • IHML:OnInitialize()
  • IHML:UpdateSettings()


IHML:PLAYER_TALENT_UPDATE()

Function when the PLAYER_TALENT_UPDATE event occurs

Return value

Swaps the macro the the default macro when there is a talent change.

Usage

IHML:PLAYER_TALENT_UPDATE()

See also

  • IHML:OnInitialize()
  • IHML:UpdateSettings()


IHML:PLAYER_TARGET_CHANGED()

Function when the PLAYER_TARGET_CHANGED event occurs

Return value

Updates current macro to the PVP macro if the PVP flag is set, and the target is an opposite faction NPC.

Usage

IHML:PLAYER_TARGET_CHANGED()

See also

  • IHML:OnInitialize()
  • IHML:UpdateSettings()


IHML:SwapMacro(new, silent)

Swaps between an existing macro and a new macro.

Parameters

new
New macro to swap to, or "PLAYER_REGEN_ENABLED" when the player goes out of combat and a macro is queued.
silent
Boolean to determine if we output a message to chat when the macro is swapped.

Return value

Macro body text is changed to the new body text

Usage

IHML:SwapMacro(new, silent)

See also

  • defaultmacrolist


defaultmacrolist

m_skettis
#showtooltip item:32406
/use [flying] item:32406
m_pinnacle
#showtooltip item:32698
/use item:32698
/stopattack
/petpassive
m_forgecamp
#showtooltip [flying] item:32456; [noflying] item:32696
/use [flying] item:32456; [noflying] item:32696
manaremnants
#showtooltip item:34338
/use item:34338
m_blood4blood
#showtooltip item:34257
/use item:34257
m_spectrogoggles
#showtooltip item:35233
/use item:35233
/equip item:35233
m_deadscar
#showtooltip item:34475
/use item:34475
m_ssbanner
#showtooltip [dead] item:34414; item:34533
/use [dead] item:34414; item:34533
m_greengil
#showtooltip [exists] item:34483; item:34533
/use [exists] item:34483; item:34533
m_dawnstar
#showtooltip [dead] item:34368; item:34533
/use [dead] item:34368; item:34533
m_bashir
#showtooltip item:34248
/use item:34248
m_flamingoil
#showtooltip item:34489
/use item:34489
m_atamal
#showtooltip item:34500
/use item:34500
m_soup4soul
#showtooltip item:33851
/use item:33851
m_blackmorass
#showtooltip item:24289
/use item:24289
m_archimonde
#showtooltip item:24494
/use item:24494
m_najentus
#showtooltip item:32408
/use item:32408
m_discipline
#showtooltip item:42837
/use item:42837
m_essenceofice
#showtooltip item:42246
/use item:42246
m_aberations
#showtooltip item:41612
/use item:41612
m_landmine
#showtooltip item:40676
/use item:40676
m_hodirhorn
#showtooltip item:42164
/use item:42164
m_hodirdaily
#showtooltip [dead] item:42479; item:42774
/use [dead] item:42479; item:42774
m_pitoffang
#showtooltip item:42499
/use item:42499
m_leavemark
#showtooltip [dead] item:42480
/use [dead] item:42480
m_corpserise
#showtooltip [dead] item:40587
/use [dead] item:40587
m_windandwater
#showtooltip item:39571
/use item:39571
m_strand
#showtooltip item:39213
/use item:39213
m_cos
#showtooltip item:37888
/use item:37888
m_fishyfish
#showtooltip item:40946
/use item:40946
m_draksotra
#showtooltip [dead] item:38556;item:38544
/use [dead] item:38556;item:38544
m_zuldrak
#showtooltip item:38566
/use item:38566
m_venturebay
#showtooltip item:37621
/use item:37621
m_grizzly
#showtooltip item:35908
/use item:35908
m_halaa
#showtooltip item:24538
/use item:24538
m_bluesky
#showtooltip item:37568
/use item:37568
m_greattree
#showtooltip item:45046
/use item:45046
m_chipofulduar
#showtooltip item:46893
/use item:45281
/use item:46893
m_edgeofwinter
#showtooltip item:45005
/use item:45005
m_ghostfish
#showtooltip item:45902
/use item:45902
m_winterhyacinth
#showtooltip item:45000
/use item:45000
m_argentjousting
#showtooltip [nomounted] item:46106;item:45724
/use [mounted] item:45724
/equip [nomounted] item:46106 -- Argent
/equip [nomounted] item:46070 -- Hord
/equip [nomounted] item:46069 -- Ally
m_hrothgar
#showtooltip [dead]item:46870;item:47006
/use [dead]item:46870;item:47006
/use item:47029
/use item:47009
m_sharkbait
#showtooltip item:47036
/use item:47036
m_mistcaller
#showtooltip item:47009
/use item:47009
m_borsfury
#showtooltip item:47029
/use item:47029
m_tahretgrounds
#showtooltip item:63351
/use item:63351
m_thunderridge
#showtooltip [dead] item:58955;item:58958
/use [dead]item:58955,item:58958
m_paleroost
#showtooltip item:60266
/use item:60266
; m_crumblingdepths
: <<code>>#showtooltip item:65514
/use item:65514]]<</code>>
; m_restlessfront
: <<code>>#showtooltip item:62829
/use item:62829


dlocalizedefaultmacrolist

m_bladefitforchampion
#showtooltip item:44986
/use item:44986
/tar Lake Frog
/kiss
m_lureit
#showtooltip item:34127
/target Reef Bull
/target Attracted Reef Bull
/use item:34127
m_allianceblind
#showtooltip item:44212
/targetexact Skybreaker Recon Fighter
/use item:44212
m_brokenfront
#showtooltip item:43968
/targetexact Hulking Abomination
/use item:43968
m_drakehunt
#showtooltip item:35506
/targetexact Nexus Drake Hatchling
/use item:35506
m_vashj
/stopmacro[noexists][harm]
/run i=31088 t="target" if GetItemCount(i)>0 and HasFullControl() and IsItemInRange(i,t) then n=UnitName(t) s=SendChatMessage m="<-- TAINTED CORE TO --> " s(m..n.." !","RAID") s(m.."YOU !","WHISPER",nil,n) end
/use item:31088
m_flk
/targetexact Spitfire Totem
/startattack
m_booterang
#showtooltip [flying] item:32680; item:32503
/use [noflying] item:32503
/stopmacro [noflying]
/targetexact Disobedient Dragonmaw Peon
/use item:32680
/cleartarget
m_crystalcores
#showtooltip item:34368
/targetexact Erratic Sentry
/use item:34368
m_razorthorn
#showtooltip [pet, harm, nodead] Ravage; [pet] Expose Razorthorn Root; item:34255
/use [nopet] item:34255
/cast [pet, harm, nodead] Ravage; [pet] Expose Razorthorn Root
m_vexallus
/targetexact Pure Energy
/startattack
m_curator
/targetexact Astral Flare
/startattack
m_illhoof
/targetexact Demon Chains
/startattack
m_halazzi
/targetexact Corrupted Lightning Totem
/startattack
m_kraken
#showtooltip item:46954
/target North sea Kraken
/use item:46954
/target Kvaldir deepcaller
/use item:46954



Comments

Posts Quoted:
Reply
Clear All Quotes