how to disable negative/positive arguments

-snip snap-

if tonumber(args[1]) < 1 then return end

im so retarded

You might want to check that tonumber is non-nil as well, in case the first argument isn’t in a number format. ie

local argnum = tonumber(args[1])
if (not argnum) or (argnum < 1) then return end

Assuming from the args[1] that it’s a console command you’re writing.

i already figured it out :3