Fara ca sa bage alte questuri prin ftp care sa arate mesajul s.a.m.d
Cod: Selectaţi tot
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
1. Salvaţi conţinutul quest-ului într-un fişier text numit de exemplu nume_quest.quest .
2. Vă conectaţi la filezilla / winscp şi întrati în /usr/home/game/share/locale/germany/quest (depinde ce server aveţi).
3. Îl puneţi acolo (să fie .quest) şi da-ţi permisiuni 777.
4. Te loghezi în FreeBSD / putty şi scrii în felul următor: cd /usr/home/game/share/locale/germany/quest apoi ./qc nume_quest.quest
5. Intraţi pe server şi scrieţi /reload q .
6. Testaţi quest-ul .




