Scriptname SuH_spellES_teliWorld extends activemagiceffect  

ObjectReference Property SuH_sdr_returnpoint Auto 
Actor property PlayerRef auto
Cell property SuH_realm auto

Event OnEffectStart(actor akTarget, actor akCaster)
	if PlayerRef.GetParentCell() == SuH_realm
		PlayerRef.MoveTo(SuH_sdr_returnpoint)
	else
		Debug.Notification("You must be in the main room to Disconnect!")
	endIf
endEvent