Hello, I'm not able to fine find a solution to this problem. I assume I'm just missing something obvious.

Code:
 dofile("Forgee.lua")
function onWalkerSelectLabel(labelName)
		if
			(labelName == "capcheck") then
			delayWalker(1000)
			setWalkerEnabled(false)
		else
				(Self.Cap() < chkcap) or
				(Self.ItemCount(spearID) <= 7) or
				(self.itemcount(chkmanas) <= 15) then -- check Cap, Royal Spears, Strong Manas
				setWalkerEnabled(true)
				gotoLabel("stophunt")
		end
I receive this error message: lua: Script11.lua:45: syntax error near 'or'

Regards,
DjimmaJIm