;'Thief's Glove' unequip script


PickPocketSkill = 10
Agility = GetUserAgilityBonus(#USERID)
SetUserAgilityBonus(#USERID, Agility-3) 

;If a player has one stat or more, over 7, the player
;is no longer yellow-named, and can use Pick Pocket
NotYellow = 0
If GetUserStrength(#USERID) > 7
	NotYellow = 1
ElseIf GetUserWisdom(#USERID) > 7
	NotYellow = 1
ElseIf GetUserAgility(#USERID) > 7
	NotYellow = 1
ElseIf GetUserEndurance(#USERID) > 7
	NotYellow = 1
EndIf

If NotYellow = 1
	If GetUserSkill(#USERID, PickPocketSkill) = 1
		SetUserSkill(#USERID, PickPocketSkill, 0)
	EndIf
EndIf

Label END

Continue = 1