I want to check, if a number is divisible by another number:
for i = 1, 100 do if i % 2 == 0 then print( i .. \" is divisible.\") end end
function mod(a, b) return a - (math.floor(a/b)*b) end