;Timed damage script for basicly any DoT

UserID=#PARAM1
Damage=#PARAM2
Message=#PARAM3

If GetUserAccess(UserID) < 5
	If Message<>"0"
		SendMessageToUser(UserID,Message,#MSG_CRITICAL)
	EndIf
	If GetUserHP(UserID) > 0
		If GetUserFlag(#USERID,7) = 1
			DamageUser(UserID,Damage)
		EndIf
	EndIf
EndIf

Continue = 1