This macro will call guards when it see's a red, a criminal, or if your hit points drop below the set value you pick "being attacked", it will auto cure you with orange pots if it detects you are poisoned, and it will heal you with yellow pots if your hit points drop below the set value, it will also restock your potions from your bank.
Code: Select all
!Loop
Assistant.Macros.IfAction|0|0|29
Assistant.Macros.SpeechAction|0|415|3|ENU|2|16|7|Guards! Help me, help me! Guards!
Assistant.Macros.PauseAction|00:00:03
Assistant.Macros.ElseAction
Assistant.Macros.HotKeyAction|1061|
Assistant.Macros.IfAction|4|0|new target set
Assistant.Macros.SpeechAction|0|415|3|ENU|2|16|7|Guards! Kill thee scum! Guards!
Assistant.Macros.PauseAction|00:00:03
Assistant.Macros.ElseAction
Assistant.Macros.HotKeyAction|1378|
Assistant.Macros.IfAction|4|0|new target set
Assistant.Macros.SpeechAction|0|415|3|ENU|2|16|7|Guards! A Criminal! Help! Help! Guards!
Assistant.Macros.PauseAction|00:00:09
Assistant.Macros.ElseAction
Assistant.Macros.IfAction|3|-1|0
Assistant.Macros.HotKeyAction|1029|
Assistant.Macros.PauseAction|00:00:10
Assistant.Macros.ElseAction
Assistant.Macros.IfAction|0|0|35
Assistant.Macros.HotKeyAction|1028|
Assistant.Macros.ElseAction
Assistant.Macros.HotKeyAction|0|Restock Agent-1
Assistant.Macros.AbsoluteTargetAction|0|0|239124|5273|3975|37|401
Assistant.Macros.ElseAction
To set up your restock agent 1 see viewtopic.php?f=9&t=40722
I am sure you all are smart enough to figure it out, and if you prefer you can set the macro to cast cure and heal and not use pots. "FYI: its best to hide your pots under newbie clothing if you can or in a heavy locked box on your char"
This is a quick macro the LAW guild members use sometimes when macro'ing in towns, while its not perfect and wont protect you from someone very determined to kill you, or others it can help a little in some cases.
Seeing how the murderer, Jax Virgo, aka fF hH nN, aka GoLGevo and his friends like to kill AFK'ers in town, I thought I would share this in hope that it might help some of you.
I would also like to say someone who might get annoyed by the consistent razor messages I believe can comment them out though I never did that.
If anyone has improvements for this macro please share
Best of luck and stay safe!
~Jess[/color]