;'Ring of Purging' equip

If GetUserFlag(#USERID,7) = 0
	SetUserFlag(#USERID,7,2)
	SendMessageToUser(#USERID,"You are immune to various diseases while this ring is equiped.",#MSG_SAY)
ElseIf GetUserFlag(#USERID,7) = 2
	SetUserFlag(#USERID,7,0)
Else
	SendMessageToUser(#USERID,"You are already infected!",#MSG_CRITICAL)
EndIf

Continue = 1