Macros can be divided in two main categories:
In order to trigger any of these you should enter Macro Mode. Some macros are used by players very frequently, so in order to speedup the process you can use following configuration option:
singleMacro: <keys list for one-push macros>
Example:
singleMacro: FE^q
- will allow triggering macros defined for F, E and Ctrl-q
by single key push.
mac.<key>.<recipient>: <macro string>
<key>
- key to press in macro mode to send macro
The key can be in form of:
<recipient>
- recipient of the macro
Recipient can be one of:
(empty)
- you will be asked to specify recipient after macro activationA
- send to AllT
- send to your TeamF
- send to FederationK
- send to KlingonsO
- send ti OrionsR
- send to Romulansa-z
- send to player%I, %i, %c
- send to yourself%U, %u, %p
- send to player nearest your mouse pointer%Z, %z, %t
- send to a team whose player nearest your mouse pointer%g
- send to friendly player nearest your mouse pointer%h
- send to enemy player nearest your mouse pointer
<macro string>
- text string
In addition to regular text, macro string can contain:
%a
- armies carried by sender%d
- sender damage percentage%s
- sender shields percentage%f
- sender fuel percentage%w
- sender wtemp percentage%e
- sender etemp percentage%t
- team id character of target planet%T
- team id character of sender team%c
- sender id character%n
- armies on target planet%E
- 1 if etemped, 0 if not%W
- 1 if wtemped, 0 if not%S
- sender two character ship type%p
- id character of target player%g
- id character of target friendly player%h
- id character of target enemy player%P
- id character of player nearest sender%G
- id character of friendly player nearest sender%H
- id character of enemy player nearest sender%l
- three character name of target planet%L
- three character name of target planet in capitals%i
- sender full player name%I
- sender full player name in capitals%u
- full name of target player%U
- full name of target player in capitals%z
- three letter team id of target planet%Z
- three letter team id of target planet in capitals%b
- planet nearest sender%B
- planet nearest sender in capitals%o
- three letter sender team name%O
- three letter sender team name in capitals%k
- sender number of kills%K
- number of kills target player has%(SPACE)
- adds space to message%v
- average ping round trip time%V
- standard deviation of ping round trip time%y
- percentage of total packet loss identified by server%m
- the last message you sent%M
- the last message you sent in capitalsIt is also possible to create complex macros using conditional tests:
<condition>%{output if true%!output if false%}
%?
- introduce test=
- equivalence<
- less>
- greaterExamples:
mac.F.T: Help! Carrying %a!! mac.f: Help! Carrying %a!! mac.c.T: %p++ near %l mac.b.T: %?%n>4%{bomb %l at %n%!bomb%} mac.d.T: %E%{%!%W%{%!I'm fine. How are you? %}%}%E%{ETEMPED!!! %} %W%{WTEMPED!!! %}Carrying %?%a>0%{%a armies!%!NO armies.%} mac.a.T: %E%{ETEMPED!!! %}%W%{WTEMPED!!! %}Carrying %?%a>0%{%a armies! %!NO armies.%} mac.R.A: I'm a %?%S=SB%{star base!%!twink!%} mac.K.A: KissMy%S mac.t: thanks mac.y: yes mac.n: no mac.B: bye, getting hungry/sleep/horny mac.e.T: need escort going to %l%?%a>0%{, carrying %a armies!%} mac.v.%t %T%c PING stats: Average: %v ms, Stdv: %V ms, Loss: %y%%
As we already told RCD is opposite to the macro. You decide what do display instead of something that was received from another player.
There is a limited amount of RCDs because server doesn't actually send any text to you, but instead it tells your client that player 'x' sent RCD number 'y'. The client then looks what should be displayed when receiving RCD 'y' and creates text that is only displayed in your client.
RCD syntax also defines key that will trigger RCD to be sent to others. The distress text will be shown same whether you send specific RCD or you receive it from other player:
dist.<key>.<distress name>: <distress text>
<key>
- same as in regular macros<distress name>
- predefined distress name
save_planet
- general distress call for helpbase_ogg
- distress to prepare for enemy starbase ogghelp1
- general distress call for helphelp2
- general distress call for helpasw
- ASW (Anti Scout War) distressasbomb
- distress for bomb requestdoing1
- general distressdoing2
- general distresspickup
- calls armies pickup of enemy playerpop
- calls planet popother1
- general distressother2
- general distresshelp
- distress for helpescorting
- escorting friendly player distresstaking
- taking planet distressogg
- ogg distressogging
- ogging distresscarrying
- carried armies callfree_beer
- free beer enemy callcrippled
- crippled enemy callcontrolling
- space controlling distressspace_control
- space control callbomb
- bomb callno_gas
- no gas distressbombing
- bombing distressAll RCDs are predefined by client and can be changed if needed.