Skip to content
#1186
Auto-translated
Warrior777
What about this?
function am()
	local old = 0
	while 1 do
		local count = 0
		for i=36,43 do
			count = count + (HasArtefact("Muscip", i) or 0)
		end;
		if count ~= old then
			if old < 8 then
				SetObjectiveState("obj", OBJECTIVE_ACTIVE);
				startThread(obj);
			end;
			old = count
		end;
		sleep(5);
	end;
end;
It uses a loop within a loop, and another loop.

Statistics

Welcome our newest member: dodoD0D0

Users Online 0 users 1320 guests

The tavern is quiet... be the first to arrive!