PDA

View Full Version : Scripts activate then immediately exit without doing anything when they used to work



Intel
10-04-2019, 04:37 PM
Here is a simple test script and what it is doing in lich:


start:
fput "look"


;look
--- Lich: look active.
--- Lich: look has exited.



Now when I take the "start:" out and just have the single fput command it runs. Can anyone tell me what is going on here because I always started my scripts this way and they always worked. It has been about 3 years since I wrote a pretty serious set of scripts with some peoples help. I just don't know programming, I copy and paste concepts shown to me.

Thank you

Tgo01
10-04-2019, 07:31 PM
I think when you start a lich script with the in game scripting language like start: you have to call that command too. I forget how you call it in lich but I think it’s similar to how you call it in the in game scripts, something like goto start

Intel
10-05-2019, 11:07 PM
That fixed it.