ship autoexit

Posted:
Fri Jan 11, 2013 4:03 pm
by Constin
perl regex: ^A (.*) gracefully lands and folds its wings at (.*)\.$
prel regex: ^The ship has arrived at (.*)\!$
command:
send("wake")
send("sta")
send("exit")
Re: ship autoexit

Posted:
Fri Jan 11, 2013 6:56 pm
by Constin
some lame extra update for autoenter VK ships to selected destinations
Trigger1:
regexp: ^A (.*) gracefully lands and folds its wings.$
command:
if shipto == "bh" then send("enter dragon") end
if shipto == "ah" then send("enter blue") end
if shipto == "ss" then send("enter white") end
shipto = "null"
Trigger2:
perl regex: ^A (.*) gracefully lands and folds its wings at (.*)\.$
prel regex: ^The ship has arrived at (.*)\!$
command:
send("wake")
send("sta")
send("exit")
shipto = "null"
Alias:
pattern: ^shipto (.+)$
command:
shipto = matches[2]
cecho("<light_slate_blue>SHIPPING TO: <red>"..shipto.."\n")
----------------
so now all u need is come to dock type: shipto bh( or ah, or ss) and wait for ship w/o looking at screen.