you can have use and then have a check location action after on the other side and go back to label look at my tut
http://www.tibiaibot.com/forum/showt...2925#post42925 for basic setup for knight
If i helped or you liked my scripts rep + me
trusted free scripts by pink_panther and 3173654 and acid alchamy and marlhex and spens13
lever to the left has different id than lever to the right, you can check it in ur action with toptileitem(1234, 5678, 9) put there position of ur levers
check id with hud or anyhow you want.
I'm phone ATM but I'll try
if toptileid(xyz)==xxxx then uselever() end
nice how do I check the ID of the lever?
lever left lever right IDs? anyone?
Lever ID's are 2771 and 2772, you need to match the right one. Remember to change LEVER_LEFT_ID, POSX, POSY and POSZ spots with your data.
Code:if (isitemontile(LEVER_LEFT_ID, POSX, POSY, POSZ)) then local TOP_TILE_ITEM = toptileitem(POSX, POSY, POSZ) while (TOP_TILE_ITEM ~= LEVER_LEFT_ID) do local MOVE_DIRECTION = wheretomove(POSX, POSY, POSZ) moveitems(TOP_TILE_ITEM, ground(POSX, POSY, POSZ), ground(MOVE_DIRECTION.x, MOVE_DIRECTION.y, POSZ), 100) wait(1000, 1500) TOP_TILE_ITEM = toptileitem(POSX, POSY, POSZ) end useitem(LEVER_LEFT_ID, ground(POSX, POSY, POSZ)) wait(1000, 1500) end