Figure I'd put this out there cause it took me forever to remember how to do it. Disclaimer: I'm not a coder. These aliases are mainly how I roll. Anyway. Here's an example using:
OBLIVION CHANNEL [EMPYREAL]
alias text: ^oc(a|c|p|s|t)$
matching type: reg expression
then under actions:
execute script: var empyreal = {
a: "architect",
c: "conqueror",
p: "progenitor",
s: "sunderer",
t: "traveller"}
send_command("oblivion channel " + empyreal[args[1]])
so oct does oblivion channel traveller and so forth... Can be adapted to a variety of things. Like infecting targets while hacking.
alias text: ^inf(a|f|g|h|s|)$
matching type: reg expression
execute script:
var ices = {
a: "antivirus",
f: "firewall",
g: "glitch",
h: "honeypot",
s: "scanner"
}
send_command("infect " + ices[args[1]])
where inff does infect firewall, infa does infect antivirus. etc...
Comments
Edit: It works.
Race: Elgan
Class: Engineer
Race: Elgan
Class: Engineer
https://countingdownto.com/?c=2341194
alias text: ^st(n|ne|e|se|s|sw|w|nw|)$
matching type: reg expression
execute script:
var sdir = {
n: "north",
ne: "northeast",
e: "east",
se: "southeast",
s: "south",
sw: "southwest",
w: "west",
nw: "northwest"
}
send_command("ship turn " + sdir[args[1]])
Race: Elgan
Class: Engineer
so alias text: sht
begins with
send a command: ship turn (and then check the box that says include prefix and suffix)
I'm going to have to add a bunch more before I do ship combat again since I don't have any aliases for guns yet, just navigation for now.
Race: Elgan
Class: Engineer