6,834
edits
No edit summary |
No edit summary |
||
Line 394: | Line 394: | ||
local entries = p.getIndexedArgs(frame, 'arg') | local entries = p.getIndexedArgs(frame, 'arg') | ||
local isEvent = args.type == 'event' | local isEvent = args.type == 'event' | ||
if isEvent then | |||
table.insert(entries, 1, 'Event event') | |||
end | |||
if isEvent and args.syntax and args.syntax:lower() == 'event event' then | if isEvent and args.syntax and args.syntax:lower() == 'event event' then | ||
elseif #entries == 0 | elseif #entries == 0 or entries[1] == "void" then | ||
else | else | ||
for i,arg in ipairs(entries) do | for i,arg in ipairs(entries) do |
edits