Try the following:
- Place a Stand near lever and name it like "uselever1" without quotes.
- Add a Use on lever sqm (using north, east, west, etc).
- Manually use the lever till it takes your character to next position.
- On exact sqm that your character was teleported using the lever add another Stand.
- Add a Action on the same place as previous stand and add the following code to it:
And thats it, in case your character isn't on stand after using lever it will go back on waypoints and try again.
if not islocation()