Wee!
11-05-2015, 03:54 AM
I had 3 scripts built in SF. One for Crafting a perfect hammer-handle, one for a perfect hammer-head, and one to put them together.
So I put all 3 scripts together in one and added a function for it to turn itself off at 50% mind (unless it's at the point of vising the hammer, then it will try to vise the hammer and shut itself off after that).
I'd like to transfer it to Lich. My goal is this; once bigshot enters rest mode it will run useherbs, slootsell, and waggle. Then it can run op (as I've called it).
Hopefully op will turn itself off at 50% and send me back to my favorite resting spot in time for bigshot to start it's hunt.
As of right now the script isn't getting very far in Lich.
It functions perfectly in SF.
I copied and pasted the script into notepad and saved the text file in my lich scripts folder as a .cmd.
The first few lines of the SF script are as follows:
put ;go2 2441
waitforre /A shiny orange curtain covers the north wall, marking the entrance to a locker booth. The hallway branches off here, with more locker booths visible to the southeast and northeast./
put go curtain
wait 1
put open locker
wait 1
put get apron
wait 1
put wear apron
wait 1
put get hammer-handle from cloak
match onhead You remove a
match onhandle Get what?
matchwait
This is what happens when I run it in Lich:
>;op
--- Lich: unknown line: match onhead
--- Lich: unknown line: put;go2 forge
--- Lich: op active.
--- Lich: go2 active.
--- Lich: op has exited.
[go2: ETA: 0:00:03 (16 rooms to move through)]
[go2]>go gate
As you can see. It starts op as a Lich script and executes go2. But it immediately turns itself off after the first few lines and gives a few errors.
Anybody with any experience converting SF scripts to Lich; your help would be greatly appreciated.
If there's a script that already does this. I'd love to know the name :) Also, If there's a way to make bigshot run a SF script after it runs the lich scripts in rest mode; that could also be helpful.
I was going to post the entire script, but it's long and I don't know if anyone would want to comb through the entire thing. So I'll leave you with this little bit of information to see if there's an easy fix. If you need the whole script I'd be happy to post it.
So I put all 3 scripts together in one and added a function for it to turn itself off at 50% mind (unless it's at the point of vising the hammer, then it will try to vise the hammer and shut itself off after that).
I'd like to transfer it to Lich. My goal is this; once bigshot enters rest mode it will run useherbs, slootsell, and waggle. Then it can run op (as I've called it).
Hopefully op will turn itself off at 50% and send me back to my favorite resting spot in time for bigshot to start it's hunt.
As of right now the script isn't getting very far in Lich.
It functions perfectly in SF.
I copied and pasted the script into notepad and saved the text file in my lich scripts folder as a .cmd.
The first few lines of the SF script are as follows:
put ;go2 2441
waitforre /A shiny orange curtain covers the north wall, marking the entrance to a locker booth. The hallway branches off here, with more locker booths visible to the southeast and northeast./
put go curtain
wait 1
put open locker
wait 1
put get apron
wait 1
put wear apron
wait 1
put get hammer-handle from cloak
match onhead You remove a
match onhandle Get what?
matchwait
This is what happens when I run it in Lich:
>;op
--- Lich: unknown line: match onhead
--- Lich: unknown line: put;go2 forge
--- Lich: op active.
--- Lich: go2 active.
--- Lich: op has exited.
[go2: ETA: 0:00:03 (16 rooms to move through)]
[go2]>go gate
As you can see. It starts op as a Lich script and executes go2. But it immediately turns itself off after the first few lines and gives a few errors.
Anybody with any experience converting SF scripts to Lich; your help would be greatly appreciated.
If there's a script that already does this. I'd love to know the name :) Also, If there's a way to make bigshot run a SF script after it runs the lich scripts in rest mode; that could also be helpful.
I was going to post the entire script, but it's long and I don't know if anyone would want to comb through the entire thing. So I'll leave you with this little bit of information to see if there's an easy fix. If you need the whole script I'd be happy to post it.