What do you mean with "/reconnect" ? (i suppose you're talking about a player command). A serverwarp to the same server will work same way, don't you think? About serverwarp, it's just use it like this way (clientside only):
NPC Code:
if(actionplayeronline){
serverwarp playerworld-name;
}
Edit: i have change the word serverside to clientside
