ship autoexit

ship autoexit

Postby Constin » Fri Jan 11, 2013 4:03 pm

perl regex: ^A (.*) gracefully lands and folds its wings at (.*)\.$
prel regex: ^The ship has arrived at (.*)\!$

command:

send("wake")
send("sta")
send("exit")
Constin
 
Posts: 16
Joined: Fri Jan 11, 2013 3:37 pm
Status: Offline

Re: ship autoexit

Postby Constin » Fri Jan 11, 2013 6:56 pm

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.
Constin
 
Posts: 16
Joined: Fri Jan 11, 2013 3:37 pm
Status: Offline


Return to Mudlet - unlimited possibilities

Who is online

Users browsing this forum: No registered users and 5 guests

cron