Forums

Nu sunteti conectat. Conectați-vă sau înregistrați-vă

Vezi subiectul anterior Vezi subiectul urmator In jos Mesaj [Pagina 1 din 1]

#1ITEM prin care dai "mute" unui jucator  Empty ITEM prin care dai "mute" unui jucator Sam Apr 27, 2013 8:23 am

avatar
Acest item este folosit pentru a da mute unui jucator care va deranjeaza.
Codul itemului este: 70021


-- MOD Item to mute
-- Metin2 Kingdom
--
quest mod_item begin
state start begin
when 70021.use begin

say_title ("Hello, ".. pc.get_name() ..".")
say("")
say("MOD Item, you can mute, unmute, transfer yourelf")
say("near any player or transfer any player neat you")
say("")
local a = select ( "Mute player" , "Unmute player" , "TP yourself", "Transfer player", "Exit" )

if a == 1 then
say("Name of player who you wanna mute")
say("")
say("Info : Abusing MOD power you will be removed")
say("Make sure you type the correct name of player")
local cblock = input()
say("This is the corrent name of player do you wanna mute ?")
say_red(" Name : ".. cblock .." ")
local m = select ( "Yes", "No")
if m == 1 then
say("Time in seconds")
say("Example :")
say("5 Min = 300")
say("10 Min = 600")
say("1 Hour = 3600")
say("Insert how many seconds do you want")
local cbtime = input()
command("block_chat ".. cblock .." ".. cbtime .."")
notice_all("Player ".. cblock .." is muted for ".. cbtime .." seconds")
--notice_all("Plase use only english in shout")
end
if m == 2 then
return
end
end

if a == 2 then
say("Insert name of player who will be unmuted")
say("You can check the list of blocked players")
say("with this command block_chat_list ")
local cublock = input()
command("block_chat ".. cublock .." 0")
notice_all("Mute for player ".. cublock .." was removed")
end

if a == 3 then
say("You can teleport your near any player")
say("Insert player name and you will be teleported")
say("near that player, Sometime need to TP yourself")
say("2x times, because its a small error at tp")
local t = select ("Telport", "No, thanks")
if t == 1 then
say("Insert player name:")
local wtp = input()
command("warp ".. wtp .."")
end
if t == 2 then
return
end
end

if a == 4 then
say("You can transfer any player near you")
say("Just insert name of player who wanna be")
say("transfered")
local r = select ("Transfer", "No, thanks")
if r == 1 then
say("Insert player name :")
local ttp = input()
command("transfer ".. ttp .." ")
end
if r == 2 then
return
end
end

if a == 5 then
return
end

end
end
end

Vezi subiectul anterior Vezi subiectul urmator Sus Mesaj [Pagina 1 din 1]

Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum