Getting Started

Getting Started

MTarget works with macros by replacing tokens within the macro text with a target's name, unitid or arbitrary text. Therefore some knowledge of macros is required. All the steps (bar editing macros) can be executed using slash commands, however the actions can also be performed via UI functions - either in the context to which they are valid (e.g. the Target frame menu or Macro frame) or from the MTarget action menu.

Hello World: An example

In this example I will create a macro that announces to the world your own name.
  1. Create a new macro
    1. Open the macro frame with /macro
    2. Create a new macro and give it the name HelloWorld and choose any icon
    3. Enter the following text into the macro:
      /say Hello World, I am $me
    4. Choose another macro or close and reopen the macro frame to make sure it is saved
  2. Create a template
    1. Open the macro frame with /macro
    2. Select the HelloWorld macro
    3. Click on the 'Template' button. A message should be displayed in the chat pane 'Created template from macro: HelloWorld'
      Slash Command: /mtarget createtemplate HelloWorld
    4. Close the macro frame
  3. Assign your name to the $me token
    1. Set yourself as your target by clicking on the player frame
      Slash Command: /target player
    2. Right click on the Target frame and select 'MTarget' submenu and then clicking on the 'me' item.
      Slash Command: /mtarget set me
    3. Click the MTarget menu in the libdatabroker quicklauncher and choose Write Macros
      Slash Command: /mtarget write
    4. Open up the Macro frame (/macro) and select the HelloWorld macro. It should now read:
      /say Hello World, I am Playername where Playername is your character's name.

Comments

Posts Quoted:
Reply
Clear All Quotes