Ultima modifica:
bene iniziamo col dire che io vorrei postare questi tool:
tool togli warn:
da mettere in un npc....
nel file.when scriviamo per far si che lo vedano solo i GM:
poi : tool warn fatto coi set/getqf (+ difficile )
nel file.when scriviamo per far si che lo vedano solo i GM:
i +1 non mordono
crediti ---> miei
bene e tutto saluti come sempre da me e dal GFO team ...byyyyy
ah lo script lo fatto veloce, può essere che mi sia dimenticato qualche end..(non credo proprio)
SALUTI
tool togli warn:
Codice:
sputtuc = pc.get_name()
u = 'Multi Tool By klimakool'
end
say_title(u)
say()
local puzzi = select ("Sbanna", "Togli Warn", "Esci")
if puzzi == 3 then
elseif puzzi == 1 then
say_reward("Chi vuoi sbannare?")
local x = tostring(input())
if x == "" then
return
end
if game.get_event_flag("banned_"..x) == 0 then
say_reward("Il pg è gia bannato")
end
else
command ("e banned_"..x.." 1)
say_reward("Player Sbannato")
end
elseif puzzi == 2 then
say_title(u)
say_reward("A che player togli gli warn?")
say("")
local k = tostring(input())
if k == "" then
end
say_title(u)
say_reward("Quanti punti togli?")
local l = input()
if l == nil then
end
send_letter(k)
if game.set_event_flag("warnpoints_"..k) == 0 then
end
else
game.set_event_flag("warnpoints_"..k) - tonumber(l)
say_reward ("il gm: "..sputtuc.." ti ha tolto: " .. l .. " punti warn)
end
end
end
end
end
end
end
end
end
end
end
da mettere in un npc....
nel file.when scriviamo per far si che lo vedano solo i GM:
Codice:
if pc.is_gm()
Codice:
sputtuc = pc.get_name()
uppiti = 'Warn Tool By klimakool'
end
say_title (uppiti)
say ("Benvenuto caro GM")
say ("Chi vogliamo warnare oggi?")
local x = tostring(input())
if x "" nil then
say ("Non Puoi non inserire nnt")
return
end
say_title(uppiti)
say ("Quanti punti gli dai?")
local k = tonumber(input())
if k == nil then
return
end
say_title (uppiti)
say_reward ("Inserisci motivazione:")
say("")
local l = tostring(input())
if l "" nil then
return
end
notice_all ("Il gm:" .. pc.get_name() .. " Ha warnato il player:" .. x .. ", Di:" .. k .. "%punti")
notice_all ("Per la seguente motivazione " .. l)
send_letter(x)
say_reward("Sei stato warnato dal gm:" .. uppiti)
say_reward("Di: " .. k .. " punti)
say_reward("Per la seguente motivazione:" .. l)
say_reward("Per: " .. s .. " minuti)
pc.setqf("Warnato", 1) + tonumber(k)
if pc.getqf("Warnato") >= 100 then
command ("e banned_"..x.." 1")
command ("dc" .. x )
end
notice_all ("Il seguente Player: " .. x .. " E' stato bannato per eccessività di infrazioni")
end
end
end
end
Codice:
if pc.is_gm()
crediti ---> miei
bene e tutto saluti come sempre da me e dal GFO team ...byyyyy
ah lo script lo fatto veloce, può essere che mi sia dimenticato qualche end..(non credo proprio)
SALUTI