automex begin quests were start begin
When letter with PC. is_gm () begin
send_letter ( "GM Panel")
end
When info button or begin
a = select ( "AutoMessaggio Enable", "Disable AutoMessaggio", "Set Time In The News", "Close")
if a == 1 then
if game. get_event_flag ( "auto")> = 1 then
say ( "E 'already active")
else
say ( "AutoMessaggio Activated")
game. set_event_flag ( "auto" 1)
server_timer ( "mex", t)
end
elseif a == 2 then
say ( "AutoMessaggio Off")
game. set_event_flag ( "auto", 0)
clear_server_timer ( "mex")
clear_server_timer ( "mex1")
elseif a == 3 then
say ( "enter time")
m = ToNumber (input ())
if m == nil then
say ( "You must enter a number")
elseif m <1 then
say ( "You must enter a positive number")
else
h = select ( "Seconds", "Minutes", "hours")
if h == 1 then
t = m
elseif h == 2 then
t = ToNumber (m * 60)
elseif h == 3 then
t = ToNumber (m * 60 * 60)
end
end
end
end
When mex.server_timer begin
if game. get_event_flag ( "auto") == 1 then
notice_all ( "Download Patch and info") <- Change the text here
if b! = "" then
notice_all ( "AVAILABLE on the site and in") <- Change the text here
end
if c! = "" then
notice_all ( "ChannelByBlasphemy" channel) <- Change the text here
end
server_timer ( "mex1", t)
else
end
end
When mex1.server_timer begin
if game. get_event_flag ( "auto") == 1 then
notice_all ( "Download Patch and info") <- Change the text here
if b! = "" then
notice_all ( "AVAILABLE on the site and in") <- Change the text here
end
if c! = "" then
notice_all ( "ChannelByBlasphemy" channel) <- Change the text here
end
server_timer ( "mex", t)
else
end
end
end
end
Online members
No members currently online