Hi everyone!
Maybe you would use event calendar, but don't want to s*ck with it, so easyer if they can open from the missions.
Here one quest how to make them.
Lets go :
make new file with name : eventcalendar.lua
Good luck for use.
The txt can be changed every time, and the server will read the changed txt, so its can be updated without commands or reboot.
If you need help contact me here.
Edmund.
Maybe you would use event calendar, but don't want to s*ck with it, so easyer if they can open from the missions.
Here one quest how to make them.
Lets go :
make new file with name : eventcalendar.lua
Code:
quest eventcalendar begin
state start begin
when letter begin
send_letter("Event calendar ")
end
when button or info begin
say_title("Event Calendar")
local days = select ("Monday, Tuesday, ..., Sunday, Cancel")
if days == 8 then
send_letter ("Event calendar ")
end
if days == 1 then
for chooseone in io.lines("reach.txt") do
say(chooseone)
end
end
end
end
end
end
Good luck for use.
The txt can be changed every time, and the server will read the changed txt, so its can be updated without commands or reboot.
If you need help contact me here.
Edmund.