#include "mn_i_pwfunctions"

void main()
{
    object oPC = GetLastUsedBy();

    string teleport2 = GetLocalString(OBJECT_SELF, TeleportVar(OBJ_TELEPORT_DESTINATION, 2) );

    if (teleport2 == "")
    {
       // Only one destination
       DoTeleport(oPC, OBJECT_SELF);
    }
    else
    {
       // Multiple destinations, so should be handled by teleportation portal.
       ActionStartConversation( oPC, "", TRUE, FALSE );
    }

}