
Sprite = GetClassSprite(GetUserClass(#USERID))
Guild = GetUserGuild(#USERID)
If Guild > 0
	GuildSprite = GetGuildSprite(Guild) 
	If GuildSprite > 0
		Sprite = GuildSprite
	EndIf 
EndIf

CreateEffect(5,250,0,#DIR_UP,GetUserMap(#USERID),GetUserX(#USERID),GetUserY(#USERID),0,0,0)
CreateEffect(52,500,0,#DIR_UP,GetUserMap(#USERID),GetUserX(#USERID),GetUserY(#USERID),0,0,0)

SetUserSprite(#USERID,Sprite)
SetUserDisplayName(#USERID,GetUserName(#USERID))

Label END

Continue = 1