mirror of
https://github.com/ornfelt/azerothcore_lua_scripts
synced 2026-08-22 06:26:03 -04:00
9 lines
No EOL
236 B
Lua
9 lines
No EOL
236 B
Lua
local ChatPrefix = "#example"
|
|
|
|
local function ChatSystem(event, player, msg, _, lang)
|
|
if (msg:find(ChatPrefix) == 1) then
|
|
player:SendNotification("Example Chat Command Works")
|
|
end
|
|
end
|
|
|
|
RegisterPlayerEvent(18, ChatSystem) |