View Full Version : How to use wait_until?
Intel
03-02-2013, 10:22 PM
I am trying to write a script that utilizes "wait_until". I am trying to wait until someone gets into my room so I can cast something at them.
Thanks.
Snoopy Dogg
03-02-2013, 11:46 PM
wait_until { checkpcs.include?('namehere') }
do waggly stuff
do more stuff
blah blah
DaCapn
03-03-2013, 02:54 AM
He served it up on a silver platter but the "lich scripting reference" article spells it out with examples as well.
Intel
03-03-2013, 10:51 PM
It's not working.
Donquix
03-03-2013, 11:46 PM
It's not working.
Let us use our mind powers and read your mind so we know what the code looks like. Don't bother to include it with any questions you have.
Tillmen
03-04-2013, 04:25 AM
Let us use our mind powers and read your mind so we know what the code looks like. Don't bother to include it with any questions you have.
My mind powers say the character name needs to be capitalized...
Snoopy Dogg
03-04-2013, 10:08 AM
My mind powers say the character name needs to be capitalized...
OR.. the name is still namehere, im having a hard time deciding
Methais
03-04-2013, 10:18 AM
While we're talking about Lich scripts, can someone tell me how I'd go about editing go2 so that when I go to/from Nelemar with it, it doesn't stow my weapon before the swim? Needing your hands free for that was removed several years ago.
SpiffyJr
03-04-2013, 11:37 AM
While we're talking about Lich scripts, can someone tell me how I'd go about editing go2 so that when I go to/from Nelemar with it, it doesn't stow my weapon before the swim? Needing your hands free for that was removed several years ago.
You would need to edit the StringProc in the room that does it. If you go to the room and type ;e echo Room.current.wayto.inspect you should see the proc. You can edit it by doing ;e Room.current.wayto['number'] = StringProc.new('blah blah'); and then save the map db and send it to Tillmen.
Donquix
03-04-2013, 04:08 PM
OR.. the name is still namehere, im having a hard time deciding
where's the any key?
subzero
03-04-2013, 07:24 PM
where's the any key?
Usually located near the return key.
Intel
03-08-2013, 06:21 AM
where is the return key?
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.