Originally Posted by awesomebilly
hey guys,
Am I using the wrong command on mac?
PC:
/dump GetNumEmotes() = 203
MAC GetNumEmotes() = nothing
if I write a slash command
local function StupidDump()
d(GetNumEmotes())
end
The function will work??
Mac is so much better to program with(unix, workspaces, amazing trackpad)
but I really want access to /dump
|
Slash command /dump is defined in
Zgoo, it is not part of the game API.
Lua Code:
SLASH_COMMANDS["/dump"] = function(text)
local f,err = zo_loadstring( ("d(%s)"):format(text) )
if f then f() else d("|cffff0000Error:|r "..err) end
end