@name Prop Teleporter
@inputs N
@outputs 
@persist N1
@trigger all
interval(10)
#if (N!=0) {N1 = N}
#entity(N1):setPos(entity():owner():pos()+vec(0,0,100))
if (entity():isConstrained()) {
entity():isConstrainedTo():setPos(entity():owner():pos()+vec(0,0,100))
entity():setAlpha(0)
} else {selfDestruct()}

# 2009-03-16: Wirelinks now duplicate properly and autosave added to editor!

# Documentation and examples available at:
# http://wiki.garrysmod.com/wiki/?title=Wire_Expression2
# The community is available at http://www.wiremod.com
