Posted by member 124072 on 2006-01-12 10:02:02 link

im still lost. ive got
*Script bang !amptoggle
*Script !ifExist (amp 1) '!ampoff'
*Script !ifExist (amp 0) '!ampon'
*Script ~bang

only problem with this is that it runs it though, sees amp 1, so it executes !ampoff, but part of ampoff is to set amp 1 to amp 0, so then it executes !ampon, which sets it back to 1. so basically its turning it off then on again. is there a way to stop the script if it meets 1 line? i know an if else would seem to work logically, but when i tryed
*Script bang !amptoggle
*Script !ifExist (amp 1) '!ampoff' else '!ampon'
*Script ~bang

it didnt work, and im pretty sure it still executed !ampoff regardless of amp being set to 0.
and id rather stay away from the vars, theyre too...much for my small mind to handle.