darkrc/bin/count
DarkWiiPlayer ee8889df32 Add count script
Counts from 1 to given Lua expression
2019-07-24 11:00:55 +02:00

6 lines
119 B
Lua
Executable file

#!/usr/bin/env lua
math.randomseed(os.time())
for i=1,load('return '..(table.concat({...}, ' ')))() do
print(i)
end