ReferenceMiscellaneous

clearqueueonteleport

Removes pending queued teleport scripts.

Syntax

clearqueueonteleport() -> ()

Also available as

clearteleportqueueclear_teleport_queue

Description

This affects work registered through queueonteleport. It does not cancel code that has already started and does not delete saved AutoExecute files.

Example

queueonteleport('print("queued")')
clearqueueonteleport()

These are Game executor contracts. Check build requirements and session lifetimes before using them.