;On entering a map

;If the user is in the 'Planet's Core'
If #MAPID = 1000
	If GetUserAccess(#USERID) = 0
		WarpUser(#USERID,9,10,10)
		SendMessageToAll("Warning: "+GetUserName(#USERID)+" is in a Moderater Only area. <Planet's Core>",#MSG_CRITICAL)
	EndIf
EndIf


;If in a guild, give the 'Guild Watch' skill
If GetUserGuild(#USERID) > 0
	If GetUserGuildRank(#USERID) <> #GUILDRANK_INVITED
		SetUserSkill(#USERID,29,1)
	EndIf
Else ;Take the skill away, if you aren't in a guild
	If GetUserSkill(#USERID,29) > 0
		SetUserSkill(#USERID,29,1)
	EndIf
EndIf

;If Back Stab has been used, recharge it
If GetUserSkill(#USERID,27) > 10
	SetUserSkill(#USERID,27,GetUserSkill(#USERID,27) - 10)
EndIf
If GetUserSkill(#USERID,27) < 0
	SetUserSkill(#USERID,27,1)
EndIf

Timer(450,100,#MAPID,#USERID,0)

Label End

Continue = 1