---Event--- (Tells the command when to execute)
OnKey(key) - param
'key' is the name of the key (from the key list) - Command will execute when
'key' is pressed
---Target--- (Tells the command which clients to target, can use multiple target macros, example: .ToClass(Paladin).ToClass(Priest) or .ToAll().ToAll() - to execute twice (I think this one works haven't checked))
ToAll() - Adds all client boxes to the targeting
ToMain() - Adds the Main client to the targeting
ToSides() - Adds the Side clients to the targeting
ToSelf() - Enables send to self (can only be used once, example: .ToSelf().ToSelf() will be pointless and will not preform action twice)
ToClass(class) - param
'class' is the class of the client's profile - Adds all the client boxes with a profile that its class matches
'class'
---Action--- (Tells the program what action to preform on the targets when the event is handled)
SendKey(key) - Sends key param 'key' to selected targets
SwapMain() - Swaps the caller's client with the main client (note: this does not require targeting but a valid command does, use .ToSelf() because its the most lightweight) - omg just realized this action is useless because the bind does the same thing and there is no targeting... whatever
Broadcast(TOGGLE/HELD/TRUE/FALSE) - Allows interaction with the broadcast mode for selected targets - param mode:
1. TOGGLE - When the event occurs - toggles broadcast mode
2. HELD - When the event starts - start broadcast , when even stops - stop broadcast
2. TRUE - Enabled broadcast
4. FALSE - Disabled broadcast
HideIPanel() - Hides the iPanel of selected targets (note: there is no activation command for iPanels and must be done manually or through the help panel provided)
ToggleSidePanel() - if enabled, stretches the client window to hide the map UI , inv and trading (useful when you wish to broadcast XY in the true ratio and allows for prettier gameplay when your side clients are in fullscreen hack, this action stretches in hardcoded values and UI must have a scale hack or it will look funky)
ReloadClient(optional DISPLAYNAME) - if no parameter is given this action will reload the client with itself, if parameters are given there are a few options:
1. name - Your profile display name (not ingame name) - Will reload the caller to a new client with the login of
'name'-s profile
2. @
inuPT - Will reload the caller to a profile similarly to option 1 but instead will open an InputBox which will allow to input profile
'name' in realtime
(note: this does not require targeting but a valid command does, use .ToSelf() because its the most lightweight)
---Optional--- (plain macros that are not necessarly required to write a command)
ForwardInput(TRUE/FALSE) - Tells the command whether or not to send the key used for the event to the current client after preforming the command