ElEditors, Interface administrators, Administrators
70,980
edits
No edit summary |
No edit summary |
||
Line 26: | Line 26: | ||
local character = args[1] | local character = args[1] | ||
local data = args[2] | local data = args[2] | ||
local isBase = not data or data == base; | local isBase = not data or data == "base"; | ||
local pathIndex = "" | local pathIndex = "" | ||
local jobIndex = "" | local jobIndex = "" | ||
Line 38: | Line 38: | ||
if isBase then | if isBase then | ||
jobIndex = "NO_OCCUPATION" | jobIndex = "NO_OCCUPATION" | ||
else | |||
local arr = split(data, "x"); | local arr = split(data, "x"); | ||
if not #arr then | if not #arr then |