Macro Definition

Macro's allow you to map Keystrokes to command output. Examples of keystrokes are: F1, F2, F3, [CNTRL]+A, [ALT]+A, etc.

You can use:
an F# key, a [CNTRL]+(anything) key, or an [ALT]+(anything) key Replace [CNTRL] with the actual control key, and [ALT] with the actual ALT key.

The nice thing about Macro's is that when you create one, a button is created on the client on a per game basis. With this button, you can click it to automatically execute your script. This is much similiar to Aliases. Unlike aliases though, Macro's support toolbar button clicking.

    To create a new Macro:
  1. Profile -> Actions -> Macro
  2. click on CAPTURE button
  3. enter the keystroke combination for the macro
  4. provide a unique macro title (this is viewed on the button)
  5. select to output Text, or a script language
Known Bug: As of version 1.9, a known bug is that when you create a MACRO, it does not immediately appear as a button on your toolbar. To fix this, open up: PROFILE -> MUD PREFERENCES / click FONT and immediately click OK That will reset the toolbar

	Example:
	Capture: F1
	Macro Title: Baghanny
	Action: Text
	------------------
	recall;se;se;give 1 gold jack;w;w;w;n;n;w;w;s;s;s;


Scope of Macro's

Macro's can be stored as Local game macro's, or Global world macro's. Local game macro's are only available for that specific game you are connected to and the Macro Buttons are viewed only on that specific game tabs. Global Macro's can be used on any game and the Macro Buttons are viewed on all game tabs.

Global Macro editing
Setting -> Global Settings -> Actions -> Macros

Local game macro's, visit
Profile -> Actions -> Macros

All macro's are stored and saved on a per-game basis. So each game has its own unique macro system. Global macro's are the only exception to this rule - where they are available to any game. Macro's are Imported/Exported through the Tools -> Remote Storage feature.


Scripting Support

Macro's can use either Python or the MudMagic BASIC scripting language. For Python scripts - you would point to the file that contains your python script. For script language assistance, click on Scripting to the left.



Copyright  © 2004-02-26  MudMagic.Com