Ultima modifica da un moderatore:
Ecco una mia piccola release: Lo script funzionante in game del reload a senza privilegi di gm
Nelle ""(comprese le "") dovete mettere i nomi dei player abilitati alla funzione del reload.
Per inserirla salvatela in un file nominato "reload.quest" e lo inserite nella directory usr/rain/channel/share_data/locale/hongkong/quest infine compilate e fate reload q o riavviate il server e appena loggherete con il pg abilitato vi troverete la pergamena con il nome di reload A.
Per chi vuole la prova del suo funzionamento:
[video=youtube;QwGcdnoFd5U]
]Vedi: http://www.youtube.com/watch?v=QwGcdnoFd5U[/video]
Codice:
quest reload begin
state start begin
when login begin
if pc . get_name ( ) == "Prova" or pc . get_name ( ) == "Cacca" then
send_letter("Reload A")
elseif game . get_event_flag ( "out" ) == 1 then
command ( "logout" )
say ( "Attendi" )
wait ( )
say ( "Attendi" )
wait ( )
say ( "Attendi" )
wait ( )
say ( "Attendi" )
wait ( )
say ( "Attendi" )
wait ( )
say ( "Attendi" )
wait ( )
say ( "Attendi" )
wait ( )
say ( "Attendi" )
wait ( )
end
end
when button or info begin
say ( "Cosa vuoi fare?" )
say ( )
local a = select ( "Reload A" , "Nulla" )
if a == 1 then
game. set_event_flag ( "test" , 1 )
game . set_event_flag ( "out" , 1 )
server_timer ( "aaa" , 3 )
timer("aaa",1)
else
end
end
when aaa.timer begin
command("reload a")
timer("aaaa",1)
end
when aaaa.timer begin
game . set_event_flag ( "test" ,0 )
end
when aaa.server_timer begin
game . set_event_flag ( "out" , 0 )
end
end
end
Per inserirla salvatela in un file nominato "reload.quest" e lo inserite nella directory usr/rain/channel/share_data/locale/hongkong/quest infine compilate e fate reload q o riavviate il server e appena loggherete con il pg abilitato vi troverete la pergamena con il nome di reload A.
Per chi vuole la prova del suo funzionamento:
[video=youtube;QwGcdnoFd5U]
]Vedi: http://www.youtube.com/watch?v=QwGcdnoFd5U[/video]



!


