For accounts that are not hardcore ironman, the script uses suicide as a means of teleportation. If your account is a hardcore ironman, it won't do this. The higher your character's combat level, the lower the chances of him eventually dying in a fight.