• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Changes

Jump to navigation Jump to search
m
no edit summary
Line 327: Line 327:  
         local enumerator = string.sub(arg, 2)
 
         local enumerator = string.sub(arg, 2)
 
         local enumerating_function = enumerating_functions[enumerator]
 
         local enumerating_function = enumerating_functions[enumerator]
         if enumerator == 'range' then
+
         if enumerating_function and not sequence then
            sequence = {}
  −
            for i = tonumber(args.from), tonumber(args.to) do
  −
                table.insert(sequence, i)
  −
            end
  −
            sequence_position = 1
  −
        elseif enumerating_function and not sequence then
   
             sequence = enumerating_function()
 
             sequence = enumerating_function()
 
             sequence_position = 1
 
             sequence_position = 1
Line 393: Line 387:  
     debugLog("#args", #args)
 
     debugLog("#args", #args)
 
     debugLog("type(args)", type(args))
 
     debugLog("type(args)", type(args))
 +
    if args.from and args.to then
 +
        sequence = {}
 +
        for i = tonumber(args.from), tonumber(args.to) do
 +
            table.insert(sequence, i)
 +
        end
 +
        sequence_position = 1
 +
    end
 
     local i = 1
 
     local i = 1
 
     local values = {}
 
     local values = {}
cssedit, gkautomate
7,064

edits

Navigation menu