mirror of
https://github.com/ornfelt/azerothcore_lua_scripts
synced 2026-08-22 06:26:03 -04:00
update code
This commit is contained in:
parent
4635e9e301
commit
c23003c4df
3454 changed files with 80746 additions and 1860 deletions
|
|
@ -0,0 +1,9 @@
|
|||
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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue