Example Macros

How to Use

Copy-paste any of the below macros into your macro file (the .ini file in the same folder as config.txt) and change as much of the macro as you can for your own safety. The key to activate each macro is the number in brackets, such as [100] for NUMPAD4. You can find all virtual key codes here: Virtual-Key Codes.

Combat Macros

Template macro (NUMPAD2) that can be used on any class.
It will automatically use all your cooldowns and, if no cooldowns are available, will use your right-click ability if MP > 50%
You will need to adjust the order you want your cooldowns activated. Right now, they will activate in 1,2,3,4 order.
[98]
keys=store % clickmob,false|store % clickobj,false
keys2=cm|store % clickmob,true
keys3=co|store % clickobj,true
keys4=eq % clickmob,true|ch1|49|s300|gt11
keys5=eq % clickmob,true|ch2|50|s300|gt11
keys6=eq % clickmob,true|ch3|51|s300|gt11
keys7=eq % clickmob,true|ch4|52|s300|gt11
keys8=eq % clickmob,true|mp0.5|2|s300|gt11
keys9=eq % clickmob,true|1|s300|gt11
keys10=eq % clickobj,true|1|s100
keys11=s100
repeat=2
endkeys=dbg % AA off

Similar to above macro but will lock on to your current target
NUMPAD4 must be held down
[100]
keys=!eq % lockon,true|cc % -target|store % lockon,true
keys2=eq % lockon,true|chp0.01,(VAR % TARGETID)|store % lockon,false
keys3=!eq % TARGETD,0|eq % lockon,true|lt(VAR % TARGETID)|!cm|!co|gt11
keys4=ct % presskey|cm|ch1|49|st % presskey,300|gt11
keys5=ct % presskey|cm|ch2|50|st % presskey,300|gt11
keys6=ct % presskey|cm|ch3|51|st % presskey,300|gt11
keys7=ct % presskey|cm|ch4|52|st % presskey,300|gt11
keys8=ct % presskey|cm|mp0.5|2|st % presskey,300|gt11
keys9=ct % presskey|cm|1|st % presskey,300|gt11
keys10=ct % presskey|co|1|st % presskey,300
keys11=s100
repeat=1
endkeys=store % lockon,false

Necromancer Macro (F6) to explode corpses if all skeles are summoned, at least one mob is near the corpse, and 7 skeletons are currently summoned
[117]
keys=cm|gt4
keys2=co|gt5
keys3=cc|gt6
keys4=mp0.75|2|s300|gt9
keys5=1|s300|gt9
keys6=skl7|gt8
keys7=49|dbg % raising dead|s300|gt9
keys8=cnm*1,3|50|dbg % corpse explosion|s300
keys9=s20
repeat=2
endkeys=dbg % AA off

Rogue Macro (NUMPAD1) that uses slot 1 on cooldown and uses slot 2 (e.g., poison trap) if one or more mobs are nearby.
[97]
keys=!cm|!co|gt6
keys2=ct % presskey|cm|ch1|49|st % presskey,300|gt6
keys3=ct % presskey|cnm1,3|cm|ch2|50|st % presskey,300|gt6
keys4=ct % presskey|cm|mp0.5|2|st % presskey,300|gt6
keys5=ct % presskey|1|st % presskey,300
keys6=s100
repeat=1

Auto-Potion Macro (F3)
[114]
keys=hp0.8|81|s500
keys2=s100
repeat=2
endkeys=dbg % AP off

Utility Macros

Auto-Run Macro (R)
[82]
keys=!cm|!co|!cc|!cp|1d
keys2=s100
repeat=2
endkeys=1u|dbg % AR off

Auto-loot macro (NUMPAD5)
[101]
keys=caw|tcl10|1|s100|gt1
keys2=s10
repeat=0
interrupt=0

Locate nearest gathering point (NUMPAD6)
[102]
keys=cc % -closeo g|!eq % COBJD,9999|m*(VAR % COBJA),5
repeat=0
interrupt=0

Easily retrieve pixel color (F8)
[119]
keys=cc % -gpc|dbg % the color at (VAR % CURSORX),(VAR % CURSORY) is (VAR % PCOLOR)
repeat=0
interrupt=0

Targeting Macros

Quickly target the closest mob (F9)
Insert tcm10 at the beginning of any attack macro to auto-target nearby mobs.
[120]
keys=tcm10
repeat=0
interrupt=0

Quickly target a nearby elite or boss mob (F11)
This can be inserted at the beginning of any attack macro to auto attack elite or boss mobs.
[122]
keys=tcm9,4,5
repeat=0
interrupt=0

GUI Macros

Create a GUI to display your current status effects. Make sure to copy both 121 and 1000
[1000]
keys=get % status|store % iterator,0
keys2=!cmp(VAR % iterator),(VAR % STATUST)|gt5
keys3=add % iterator,1
keys4=gui % edit,text,5,(VAR % iterator),(VAR % STATUS(VAR % iterator))|gt2
keys5=!cmp(VAR % iterator),4|gt8
keys6=add % iterator,1
keys7=gui % edit,text,5,(VAR % iterator), |gt2
keys8=s100
endkeys=dbg % stopping
repeat=2

Press F10 to create the GUI
[121]
keys=gui % create,100,100,400,1000,5,0,1,1|s100
keys2=gui % text,5,1,100,100,200,25,status1,25,255
keys3=gui % text,5,2,100,125,200,25,status2,25,255
keys4=gui % text,5,3,100,150,200,25,status3,25,255
keys5=gui % text,5,4,100,175,200,25,status4,25,255
keys6=to1000
repeat=0
interrupt=0

Scroll to Top