Chat shortcuts
(0 votes, average 0 out of 5)
Written by KFS1   
Thursday, 25 September 2008 21:43

KFS1When Campaign #46 went live, we slipped in a little feature. I'd coded these a long time ago but never enabled them because I didn't get a chance to test them. While I was waiting on the scoring processing for today's campaign reset I decided to run my little test battery. Chat shortcuts are 5 letter codes you can type into a chat message that the server will swap out for meaningful information. Each starts with a '$' symbol followed by a four character "subtitution name"

    $orig
    $targ
       Are replaced with the name of your mission's origin or target respectively.
    $lead
       Is replaced with the callsign of your mission's current leader.
    $unit
       Is replaced with the short form of your current brigade, e.g. 1.Division/1.Brigade
    $miss
       Is replaced with your "mission" name, which is the same as $unit/$miss... E.g. 1.Division/1.Brigade/KFS1



These substitutions occur as soon as your message is received by the host, which means you can do things like:

    /own $orig
       Reports the current /own status of your origin rather than having to type, e.g. "/own Bergen Op Zoom"
    /m $lead Approve my contacts!
       Asks your mission leader an obvious question.
    /r $miss
       Tells the last person to send you a message which brigade and mission you are on.
    /1 I'm on $lead's mission in $unit attacking $targ but we haven't left $orig yet

We're already considering a few, extra, simple additions such as "$town" (my current town) and "$hcid" (the 'id' name for your unit for use by OICs and HCs).

 

 

Add your comment

Your name:
Your email:
Comment (you may use HTML tags here):
  The word for verification. Lowercase letters only with no spaces.
Word verification:
Comments (5)
1 Friday, 26 September 2008 09:52
MOTORMOUTH
I was told there would be no math...
2 Friday, 26 September 2008 17:29
Seth1231
Nice. would be nice if it was a 2 letter kind of thing like $o for $orig or maybe a three letter one if you start running out of commands. Simply to save time but this is pretty neat.
3 Monday, 29 September 2008 22:28
Gigermann
$orig doesn't seem to be working—shows target instead of origin—or at least, that has been the case for me thus far
4 Friday, 03 October 2008 11:23
morck
I guess there's a typo in the explanation of $miss:

$miss
Is replaced with your "mission" name, which is the same as $unit/$miss... E.g. 1.Division/1.Brigade/KFS1

$miss -> $unit/$miss -> $unit/$unit/$miss -> $unit/$unit/$unit/$miss ...
5 Monday, 06 October 2008 14:28
Jessic4
I like this, just tried it out now will take some getting used to but it's a very useful addition