I'm not sure about loop commands in Perl, but usually when I only have four possible conditions I set them all up as it is probably easer for me to trouble shoot the full layout than a loop. ^-^ I'll probably be more help as I build my script engine. Though its a bit hard right now.
P.S. Though it's much easer than the item editor as I can flush the perl scipts without restarting the server.
__________________
If at first you don't succeed destroy all evidence that you ever tried.
God doesn't give second chances... Hell, he sets you up the first time.
|