Suhami
05-27-2016, 11:34 AM
Hello forum,
I just came back after a two year break and I mostly forgot how to script in lich :T
I've run into an error using wait_while, this is the code:
start_script 'crossbow'
wait_while running? 'crossbow'
I've also tried it like this: wait_while( running? 'crossbow')
It looks like it should work, but it's giving me this error:
--- Lich: error: no block given (yield)
C:/Users/Documents/lich/lich.rbw:4909:in `wait_while'
On an unrelated note, I'm also wondering which script commands are the most useful for matching REs, taking variables out of REs, and related syntax.
I just came back after a two year break and I mostly forgot how to script in lich :T
I've run into an error using wait_while, this is the code:
start_script 'crossbow'
wait_while running? 'crossbow'
I've also tried it like this: wait_while( running? 'crossbow')
It looks like it should work, but it's giving me this error:
--- Lich: error: no block given (yield)
C:/Users/Documents/lich/lich.rbw:4909:in `wait_while'
On an unrelated note, I'm also wondering which script commands are the most useful for matching REs, taking variables out of REs, and related syntax.