-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmsg auto.lua
35 lines (19 loc) · 944 Bytes
/
msg auto.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
--Addon developed by Pixe
--Upcoming updates
--Subject of the update: Graphical Interface (PopUp Top right aesthetic) :)
local oocMessage1 = "Text"
local function sendOOCMessage1()
RunConsoleCommand("say",.. oocMessage1)
end
timer.Create("OOCMessageTimer1", 600, 0, sendOOCMessage1)
local oocMessage2 = "Text 2"
local function sendOOCMessage2()
RunConsoleCommand("say", .. oocMessage2)
timer.Create("OOCMessageTimer2", 900, 0, sendOOCMessage2)
print("The script containing the automatic messages has been loaded correctly!")
--local oocMessage3 = “This is a test” (Your message)
--local function sendOOCMessage3()
-- RunConsoleCommand("say", .. oocMessage3)
--end
--timer.Create("OOCMessageTimer3", 1200, 0, sendOOCMessage3) (Delays before each reappearance in the chat of different messages)
print("The script containing the automatic messages has been loaded correctly")