m
no edit summary
No edit summary |
mNo edit summary |
||
| Line 51: | Line 51: | ||
end | end | ||
</pre> | </pre> | ||
If you'd rather avoid function creation, the following macro does the same thing: | |||
<pre> | |||
/run local l = 0;for l = 1, 120 do local t = GetActionText(l);local x = GetActionTexture(l);if x then local m = "Slot " .. l .. ": [" .. x .. "]";if t then m = m .. " \"" .. t .. "\"";end DEFAULT_CHAT_FRAME:AddMessage(m);end end | |||
</pre> | |||
{{Stub/API}} | {{Stub/API}} | ||