Does this restriction include running a second account on another PC, where the player character only stands near a control unit (programming board) and does not do anything else?
Until headless Lua clients are added to the game, there is no way to keep a Lua script running while the player is offline or out of range.