This is a wiki for a reason. Anyone can contribute. If you see something that is inaccurate or can be improved, don't ask that it be fixed--just improve it.
[ Disclaimer, Create new user --- Wiki markup help, Install P99 ]

Macro

From Project 1999 Wiki
Revision as of 20:40, 6 July 2017 by Zosymandias (Talk | contribs)

Jump to: navigation, search

A Macro is a customizable hotkey with 5 lines (1 command per line and a pause), you can store 12 per page and have 10 pages of macros. Common macros, include pulling, spell casting, corpse dragging. Your macros are stored per character file "Yourcharactername_project1999.ini" in your EQ directory.

Contents

Macro Commands

Sample commands used in macros:

/memspellset

/autoinventory (good when foraging i.e.)

/Gsay incoming with %T

Percent Target Descriptors

Shortcut Value Checked Result
%T Target's Name A Qeunos Guard
%S Gender Pronoun he/She/it
%O Gender Pronoun Him/Her/it
%P Gender Pronoun His/Hers/Its
%R Target's Race (players only) Human

Pause

Pause commands are special as they are executed at the end of each macro line even though they are typed at the front. Pauses a macro sequence for 10 * x milliseconds. The actual value is a little lower, so /pause 500 is approximately 60 seconds +/- a couple seconds for server ticks. Pause cannot go over 70 seconds.

Format: /pause [#]

Usage

/pause 10 <pauses for 1 second>

/pause 15 <pauses for 1.5 seconds>

/pause 100 <pauses for 10 seconds>

Timer

Timer will not go over 7 hours


Examples

Corpse Dragging

Line 1: /pause 10, /corpse Line 2: /pause 10, /corpse Line 3: /pause 10, /corpse Line 4: /pause 10, /corpse Line 5: /corpse

Leveling Spell Casting

This will cast the spell in your top spell slot once every 6 seconds for 5 casts.

Line 1: /pause 60, /cast 1 Line 2: /pause 60, /cast 1 Line 3: /pause 60, /cast 1 Line 4: /pause 60, /cast 1 Line 5: /cast 1

Stolen from Zam

Not sure if all commands work on P1999.

   Pause example 1:
       /pause 55, /cast 1
       This casts the spell in slot one and then pauses for 55 tenths of a second (5.5 seconds).
   Pause example 2:
       /pause 55, /cast 1
       /pause 30, /cast 2
       /pause 10, /g Send in the dogs of war!
       /pet attack
       This would cast the spell in slot one, pause for 5.5 seconds, cast the spell in slot two, pause for 3 second, tell your group "Send in the dogs of war!", pause 1 second then tell your pet to attack your current target.
       The 5.5 seconds and 3 seconds are significant because it gives your spell time to cast. You also have to account for refresh time. Macro's will keep running and will not wait on its own for your spells to cast! So in this example spell 1 might take 5 seconds to cast, 1/2 second to refresh and spell 2 might take 2.5 seconds.
   You can also use your AA's in macros. Use the command "/alt list" to find the alt activation number or see the Activatable AAs here.


   Autoforage macro: (Assumes Forage is #4 on ability page of Actions window, and assumes you have double forage AAs, if not you can remove the 2nd line):
           /pause 6,/doability 4
           /pause 6,/autoinventory
           /autoinventory
   Vishimtar (last DoN raid) cure macro:
           /tar mournful
           /pause 4
           /say Hail, %t
           /say shoulder my burden
   Macro for often /tell information:
           /pause 20,/r reply_text_you_wish_to_send
           /pause 20,/r more_reply_text_you_wish_to_send
   Macro to grab aggro (using AA and taunt ability, assuming Taunt is #3 on combat page of Actions window. To determine the /altactivate # to use, view your ability in the Alternate Advancement Window. The id # will be shown in the information box at the bottom if an ability is selected: Ability Activate ID: ###.)
           /pause 4,/g Aggroing %t
           /pause 4,/doability 7
           /pause 4,/alt activate ####
   In order to macro a combat ability the command is
       /disc FULL NAME OF DISCIPLINE
       Paladin example
           /disc Righteous Indignation


New /timer command

(Not sure when this was added.)

   With the new /timer command you can add a new first line to the above forage macro so it will let you know when forage is available again:
           /timer 1000
           /pause 6,/doability 4
           /pause 6,/autoinventory
           /autoinventory
   You can also use /timer in spell and disc macros to let you know when they are available again. Or set it to the spell duration for things like hots, debuffs, slows and dots to let you know when to recast. You can have multiple macros with /timer running, unlike /pause. You can right click (as if to edit) a macro button with a running timer to stop it. /timer can be placed on the same line as another command but not on the same line as a /pause command. The value for /timer is the time in tenths of a second exactly unlike /pause, so in the following macro the timer will end about 10 seconds before the third line runs. 
           /timer 500
           /pause 500, /time
           /time
   Example, spell slot 7 is ensnare (no detrimental extension), timer is a little short for time to resnare before old wears off
           /timer 7900, /cast 7

(( /timer adds the cool-down shadow graphic to your social macro hot-buttons. It's the same shading you'd see on spell icons or AA hot-keys ))