Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local cmds = concommand.GetTable()
- local strings = {}
- for k, v in pairs(cmds) do
- table.insert(strings, k)
- end
- local lastChat = CurTime()
- local num = 1
- hook.Add("Think", "WhatAreMyCommands", function()
- if lastChat+2 <= CurTime() then
- if not strings[num] then
- hook.Remove("Think", "WhatAreMyCommands")
- print(num .. " Returning")
- return
- end
- RunConsoleCommand("say", tostring(strings[num]))
- num = num + 1
- end
- end)
- '+
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement