Merhaba arkadaşlar,
Bir .txt dosyası açıp adını ve uzantısını şöyle yapıyoruz: otonotice.quest bu şekilde yapıyoruz.
Daha sonra buna aşağıdaki kodları yazıp aşağıdaki işlemleri yapıyoruz.
QUEST NASIL OKUTULUR ;
Bir .txt dosyası açıp adını ve uzantısını şöyle yapıyoruz: otonotice.quest bu şekilde yapıyoruz.
Daha sonra buna aşağıdaki kodları yazıp aşağıdaki işlemleri yapıyoruz.
Kod:
quest automex begin
state start begin
when letter with pc . is_gm ( ) begin
send_letter ( "GM Otomatik Duyuru" )
end
when button or info begin
a = select ( "Oto. Mesajı Akfitleştir" , "Oto. Mesajı Kapat" , "Oto. Mesajı Düzenle" , "Zamanı Ayarla" , "Kapat" )
if a == 1 then
if game . get_event_flag ( "auto" ) >= 1 then
say ( "Zaten aktif" )
else
say ( "Oto. Mesaj Açık" )
game . set_event_flag ( "auto" , 1 )
server_timer ( "mex" , t )
end
elseif a == 2 then
say ( "Oto. Mesaj Kapalı" )
game . set_event_flag ( "auto" , 0 )
clear_server_timer ( "mex" )
clear_server_timer ( "mex1" )
elseif a == 3 then
say ( "Keyifli oyunlar dileriz. By [TL]Mystic" )
s = input ( )
say ( "Oyun kurallarını lütfen siteden inceleyiniz." )
b = input ( )
say ( "Event Gün ve Saatlerimiz : 20.00-21.30" )
c = input ( )
elseif a == 4 then
say ( "20.00" )
m = tonumber ( input ())
if m == nil then
say ( "1" )
elseif m < 1 then
say ( "1" )
else
h = select ( "0" , "30" , "0" )
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 ( "" .. s )
if b != "" then
notice_all ( "" .. b )
end
if c != "" then
notice_all ( "" .. c )
end
server_timer ( "mex1" , t )
else
end
end
when mex1 . server_timer begin
if game . get_event_flag ( "auto" ) == 1 then
notice_all ( "" .. s )
if b != "" then
notice_all ( "" .. b )
end
if c != "" then
notice_all ( "" .. c )
end
server_timer ( "mex" , t )
else
end
end
end
end
QUEST NASIL OKUTULUR ;
- Adım : Öncelikle Cd/Usr/Game/Share/Locale/Turkey/Quest İçine Atıyoruz
- Adım: Ondan Sonra Putty Giriş Yapın
- Adım: Cd /Usr/Game/Share/Locale/Turkey/Quest Yazıp Entar Basıyoruz
- Adım: En Son Olarak ./qc otonotice.quest Yazıp Entar Basıyoruz
- Adım: Verdiğim Questi otonotice.quest Olarak Kaydetmeyi Unutmayın