MTarget

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 <span style="font-family: courier; font-style: italic">/macro</span>
    2. Create a new macro and give it the name HelloWorld and choose any icon
    3. Enter the following text into the macro:
      <span style="font-family: courier; font-style: italic">/say Hello World, I am $me</span>
    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 <span style="font-family: courier; font-style: italic">/macro</span>
    2. Select the HelloWorld macro
    3. Click on the 'Template' button. A message should be displayed in the chat pane <span style="font-family: courier; font-style: italic">'Created template from macro: HelloWorld'</span>
      Slash Command: <span style="font-family: courier; font-style: italic">/mtarget createtemplate HelloWorld</span>
    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: <span style="font-family: courier; font-style: italic">/target player</span>
    2. Right click on the Target frame and select <span style="font-family: courier; font-style: italic">'MTarget'</span> submenu and then clicking on the <span style="font-family: courier; font-style: italic">'me'</span> item.
      Slash Command: <span style="font-family: courier; font-style: italic">/mtarget set me</span>
    3. Click the MTarget menu in the libdatabroker quicklauncher and choose Write Macros
      Slash Command: <span style="font-family: courier; font-style: italic">/mtarget write</span>
    4. Open up the Macro frame (<span style="font-family: courier; font-style: italic">/macro</span>) and select the HelloWorld macro. It should now read:
      <span style="font-family: courier; font-style: italic">/say Hello World, I am Playername</span> where Playername is your character's name.

You must login to post a comment. Don't have an account? Register to get one!

Facts

Date created
Jan 07, 2009
Last updated
Mar 08, 2010

Author