I currently have an alias called cbash *
require "wait"
wait.make (function ()
Send ("swing %1")
Send ("swing %1")
wait.time (7)
Send ("STAND")
Send ("evoke pentagram")
Send ("clot")
Send ("clot")
Send ("clot")
Send ("clot")
Note ("@@@@@@@Check shield. Sip or sleep/med if needed.@@@@@@@@")
end)
However, instead of waiting, I would much much rather just wait until a certain line is sent before continuing the rest of the script.
For example, in pseudocode:
send swing
send swing
if I get message "You have recovered balance"
send swing
send swing
Is this possible?
require "wait"
wait.make (function ()
Send ("swing %1")
Send ("swing %1")
wait.time (7)
Send ("STAND")
Send ("evoke pentagram")
Send ("clot")
Send ("clot")
Send ("clot")
Send ("clot")
Note ("@@@@@@@Check shield. Sip or sleep/med if needed.@@@@@@@@")
end)
However, instead of waiting, I would much much rather just wait until a certain line is sent before continuing the rest of the script.
For example, in pseudocode:
send swing
send swing
if I get message "You have recovered balance"
send swing
send swing
Is this possible?