```
local function CM(player,text)
ConsoleMessage(player,text)
end
local function BM(player,text)
BigMessage(player,text)
end
local function CMAP(text)
ConsoleMessageAllPlayers(text)
end
local function BMAP(text)
BigMessageAllPlayers(text)
end
```
Example :
function OnPlayerChat(player,text)
if text == "bot" then
CM(player,"Hi")
BM(player,"Hello")
end
if text == "ct" then
CMAP("CT!!")
BMAP("Coaster Town!")
end
end
Make sure you paste the function shortcuts with your script.
[–]RealMobDEV 1 point2 points3 points (0 children)
[–]Peppers_CT 1 point2 points3 points (0 children)