Last edit: @bryce.tucker.0598 in <!error getting other user for DBHM9SVE0> 7 months ago - Slack Archive

{lua}
function print_line(num, sym)
    if argv[num] ~= nil then
        print(sym)
        print("  |  ")
        i = i + 1
        while argv[i] ~= nil and argv[i] ~= "~" do
          print(argv[i])
          print(" ")
          i = i + 1
        end
        print("\n")
    end
end

i = 1
while argv[i] ~= nil and argv[i] ~= "~" do
  print(argv[i])
  print(" ")
  i = i + 1
end
print("\n")

while argv[i] ~= nil do
  i = i + 1
  print_line (i, argv[i])
end

History

{lua}
function print_line(num, sym)
    if argv[num] ~= nil then
        print(sym)
        print("  |  ")
        i = i + 1
        while argv[i] ~= nil and argv[i] ~= "~" do
          print(argv[i])
          print(" ")
          i = i + 1
        end
        print("\n")
    end
end

i = 1
while argv[i] ~= nil and argv[i] ~= "~" do
  print(argv[i])
  print(" ")
  i = i + 1
end
print("\n")

while argv[i] ~= nil do
  i = i + 1
  print_line (i, argv[i])
end
{lua}
function print_line(num, sym)
    if argv[num] ~= nil then
        print(sym)
        print("  |  ")
        i = i + 2
        while argv[i] ~= nil and argv[i] ~= "~" do
          print(argv[i])
          print(" ")
          i = i + 1
        end
        print("\n")
    end
end

i = 1
while argv[i] ~= nil and argv[i] ~= "~" do
  print(argv[i])
  print(" ")
  i = i + 1
end
print("\n")

while argv[i] ~= nil do
  print_line (i, argv[i])
end
{lua}
function print_line(num, sym)
    if argv[num] ~= nil then
        print(sym)
        print("  |  ")
        i = i + 2
        while argv[i] ~= nil and argv[i] ~= "~" do
          print(argv[i])
          print(" ")
          i = i + 1
        end
        print("\n")
    end
end

i = 1
while argv[i] ~= nil and argv[i] ~= "~" do
  print(argv[i])
  print(" ")
  i = i + 1
end
print("\n")

while argv[i] ~= nil do
  print_line (i, argv[i])
done