#lua test.lua 2 5 arg[0]= test.lua arg[1]= 2 arg[2]= 5 if arg[1] and arg[1] == "2" then print("arg[1]=2") end