","",""} function eventNewPlayer(name) admon[name]={admon=0} ui.addTextArea(11, " end
for name in pairs(tfm.get.room.playerList) do
eventNewPlayer(name)
end
ban[spradmin]=nil
bansiz[spradmin]=nil
ban[admins]=nil
bansiz[admins]=nil

function eventLoop()
for name in pairs(admchaton) do
ui.addTextArea(1, "<p align='center'><r><font size='7'><a href='event:admmesaj'>Mesaj Yolla </a>- <a href='event:admchathepsi'>Hepsini Gör</a>n"..adm.chat.."", name, 302, 97, 187, 101, 0x1, 0x1, 0.5, true)
end
for name in pairs(admins) do
if admins[name]==1 then
tfm.exec.setNameColor(name,0xE60505)
ui.addTextArea(0, "<bv><p align='center'><font size='13'><a href='event:pnl'>Admin", name, 368, 29, 51, 22, 0x1, 0x1, 0.7, true)
end
if admins[name]==nill then
ui.removeTextArea(0,name)
end
if admon[name].admon>=1 then
ui.addTextArea(2, "<p align='center'><r><a href='event:pnlkpt'>[Kapat]</a> "..renk[math.random(#renk)].."v1.1", name, 302, 210, 187, 17, 0x1, 0x1, 0.5, true)
end
end
for name in pairs(ban) do
tfm.exec.killPlayer(name)
end
for name in pairs(spradmin) do
tfm.exec.setNameColor(name,0x0064B4)
bansiz[name]=nil
ban[name]=nil
if admon[name].admon>=1 then
ui.addTextArea(2, "<p align='center'><r><a href='event:pnlkpt'>[Kapat]</a> "..renk[math.random(#renk)].."v1.1", name, 302, 210, 187, 17, 0x1, 0x1, 0.5, true)
end
ui.addTextArea(0, "<r><p align='center'><font size='13'><a href='event:pnl'>Admin", name, 368, 29, 51, 22, 0x1, 0x1, 0.7, true)
end
end

function eventTextAreaCallback(id,name,cb)
if cb=="pnl" then
admon[name]={admon=1}
admchaton[name]=nil
ui.addTextArea(1, "<p align='center'><r>MYFC Admin Paneli<br><vp><p align=''>• Özellikler<r><font size='8.5'><br>Duyuru Sistemi<br>Uye Banlama<br>Rapor Sistemi<br>Adminler Arası Mesajlaşma<br>Oyun Ayarları<br>Adminlik verip Alma", name, 302, 97, 187, 101, 0x1, 0x1, 0.5, true)
ui.addTextArea(3, "<p align='center'><r><a href='event:duyuru'>• <vp>Duyuru", name, 202, 98, 88, 22, 0x1, 0x1, 0.5, true)
ui.addTextArea(4, "<p align='center'><r><a href='event:banpnl'>• <vp>Uye Banlama", name, 199, 135, 92, 21, 0x1, 0x1, 0.5, true)
ui.addTextArea(5, "<p align='center'><r><a href='event:reppnl'>• <vp>Reportlar", name, 203, 173, 88, 20, 0x1, 0x1, 0.5, true)
ui.addTextArea(6, "<p align='center'><r><a href='event:oynayrlr'>• <vp>Oyun Ayarları", name, 500, 98, 96, 20, 0x1, 0x1, 0.5, true)
ui.addTextArea(7, "<p align='center'><r><a href='event:admcht'>• <vp>Admin Chat", name, 500, 135, 96, 20, 0x1, 0x1, 0.5, true)
ui.addTextArea(8, "<p align='center'><r><a href='event:rutbe'>• <vp>Yetki", name, 501, 175, 96, 20, 0x1, 0x1, 0.5, true)
ui.addTextArea(9, "<p align='center'><r><a href='event:pnl'>• <vp>Literery", name, 348, 66, 96, 20, 0x1, 0x1, 0.5, true)
end
if cb=="pnlkpt" then
for kpt in pairs({"1","2","3","4","5","6","7","8","9"}) do
ui.removeTextArea(kpt,name)
admchaton[name]=nil
admon[name]={admon=0}
end
end
if cb=="rutbe" then
ui.addTextArea(1, "<p align='center'><bv>Yetki ver <r>Yetki Al<br><vp>• Yardım<br><g>Yetki Vermek İçin <bv><a href='event:admver'>(Tıkla)</a><br><g>Yetki Almak İçin Tıkla <a href='event:admcikar'><r>(Tıkla)", name, 302, 97, 187, 101, 0x1, 0x1, 0.5, true)
admchaton[name]=nil
end
if cb=="admver" then
ui.addPopup(1, 2, "Admin Ver(Baş Harf Büyük)", name, 6, 163, 200, true)
admchaton[name]=nil

end
if cb=="oynayrlr" then
ui.addTextArea(1, "<p align='center'><bv>Ayarlar<br><a href='event:mapac'>Map Aç", name, 302, 97, 187, 101, 0x1, 0x1, 0.5, true)
admchaton[name]=nil
end
if cb=="mapac" then
ui.addPopup(5, 2, "Map Kodu", name, 6, 163, 200, true)
end

if cb=="admcht" then
ui.addTextArea(1, "<p align='center'><r><font size='7'><a href='event:admmesaj'>Mesaj Yolla </a>- <a href='event:admchathepsi'>Hepsini Gör</a>n"..adm.chat.."", name, 302, 97, 187, 101, 0x1, 0x1, 0.5, true)
admchaton[name]=1
end
if cb=="admcikar" then
ui.addPopup(2, 2, "Admin Çıkar(Baş Harf Büyük)", name, 6, 163, 200, true)
end
if cb=="raporla" then
ui.addPopup(7, 2, "Bir Sorunu Raporla", name, 6, 163, 200, true)
end
if cb=="admmesaj" then
ui.addPopup(8, 2, "Admin Chat Mesaj Yolla", name, 6, 163, 200, true)
end
if cb=="admchathepsi" then
ui.addTextArea(10, "<j><b>Admin Chat : <r><a href='event:admchattemz'>Temizle</a></b></j>n"..admm.chat.."<br>n<a href='event:kapats'>Kapat</a>", name, 50,30,300,nil,0x000000,0xffffff,0.5,true)
end
if cb=="admchattemz" then
admm={chat=""}
ui.addTextArea(10, "<j><b>Admin Chat : <r><a href='event:admchattemz'>Temizle</a></b></j>n"..admm.chat.."<br>n<a href='event:kapats'>Kapat</a>", name, 50,30,300,nil,0x000000,0xffffff,0.5,true)
end
if cb=="duyuru" then
ui.addTextArea(1, "<p align='center'><r>Duyuru Yap<br><r>•<vp> Yardım<br><bv>Duyuru Yapmak için <a href='event:dyru'>(Tıkla)", name, 302, 97, 187, 101, 0x1, 0x1, 0.5, true)
admchaton[name]=nil
end
if cb=="dyru" then
ui.addPopup(6, 2, "Duyuru Yap", name, 6, 163, 200, true)
end

if cb=="banpnl" then
ui.addTextArea(1, "<p align='center'><bv>Banla <r>Ban Kaldır<br><vp>• Yardım<br><font size='10'><g>Oyuncu Banla <bv><a href='event:banat'>(Tıkla)</a><br><g>Ban Aç <r><a href='event:banac'>(Tıkla)</a><br><font size='10'><a href='event:banlstt'>Ban Kaldır<br><a href='event:sec2'><bv>Banla(bozuk)", name, 302, 97, 187, 101, 0x1, 0x1, 0.5, true)
admchaton[name]=nil
end
if cb=="reppnl" then
ui.addTextArea(1, "<p align='center'><r>Raporlar<br><vp>• <r>Yardım<br><bv>Reportları Görmek İçin <a href='event:rephepsi'>(Tıkla)</a>", name, 302, 97, 187, 101, 0x1, 0x1, 0.5, true)
admchaton[name]=nil
end
if cb=="rephepsi" then
ui.addTextArea(10, "<j><b>Raporlar : <r><a href='event:raportemizle'>Temizle</a></b></j>n"..rapor.rapor.."<br>n<a href='event:kapats'>Kapat</a>", name, 50,30,200,nil,0x000000,0xffffff,0.5,true)
ui.removeTextArea(14,name)
end
if cb=="raportemizle" then
rapor={rapors="", rapor=""}
ui.addTextArea(10, "<j><b>Raporlar : <r><a href='event:raportemizle'>Temizle</a></b></j>n"..rapor.rapor.."n<a href='event:kapats'>Kapat</a>", name, 50,30,200,nil,0x000000,0xffffff,0.5,true)
end
if cb=="banlstt" then
Players = "<J><B>Banlist:</B></J>n"
for i,v in pairs(ban) do
Players = Players.."n<a href='event:sec22"..i.."'>"..i
end
Players = Players.."nn<a href='event:kapats'>Kapat</a>"
ui.addTextArea(10, Players, name, 200,200,nil,nil,0x000000,0xffffff,0.5,true)
end

if cb:sub(0,5) == "sec22" then
Players = "<J><B>Banlist:</B></J>n"
for i,v in pairs(ban) do
Players = Players.."n<a href='event:sec22"..i.."'>"..i
end
Players = Players.."nn<a href='event:kapats'>Kapat</a>"
ban[""..cb:sub(6)..""]=nil
bansiz[""..cb:sub(6)..""]=1
ui.addTextArea(10, Players, name, 200,200,nil,nil,0x000000,0xffffff,0.5,true)
end
if cb:sub(0,5) == "sec2" then
gms = "<J><B>Banla:</B></J>n"
for v,i in pairs(bansiz) do
gms = gms.."n<a href='event:sec2"..v.."'>"..v
end
gms = gms.."nn<a href='event:kapats'>Kapat</a>"
ban[""..cb:sub(6)..""]=1
bansiz[""..cb:sub(6)..""]=nil
ban[spradmin]=nil
bansiz[spradmin]=nil
ban[admins]=nil
bansiz[admins]=nil
ui.addTextArea(10, gms, name, 200,200,nil,nil,0x000000,0xffffff,0.5,true)
end
if cb=="kapats" then
ui.removeTextArea(10,name)
end
if cb=="banat" then
ui.addPopup(3, 2, "Ban at(Baş Harf Büyük)", name, 6, 163, 200, true)
end
if cb=="banac" then
ui.addPopup(4, 2, "Ban Kaldır(Baş Harf Büyük)", name, 6, 163, 200, true)
end
if cb=="dyrukpt" then
ui.removeTextArea(12,name)
ui.removeTextArea(13,name)
end
end

function eventPopupAnswer(id, name, svp)
if id==1 and tfm.get.room.playerList[svp] then
admins[svp]=1
end
if id==2 and tfm.get.room.playerList[svp] then
admins[svp]=nill
admchaton[svp]=nill
admon[svp]={admon=0}
ban[svp]=nill
bansiz[svp]=1
for kpt in pairs({1,2,3,4,5,6,7,8,9,0}) do
ui.removeTextArea(kpt,svp)
ui.removeTextArea(0,svp)
tfm.exec.setNameColor(svp,0x0)
end
end
if id==3 and tfm.get.room.playerList[svp] then
ban[svp]=1
bansiz[svp]=nil
ban[spradmin]=nil
bansiz[spradmin]=nil
ban[admins]=nil
bansiz[admins]=nil
end
if id==4 and tfm.get.room.playerList[svp] then
ban[svp]=nil
bansiz[svp]=1
ban[spradmin]=nil
bansiz[spradmin]=nil
ban[admins]=nil
bansiz[admins]=nil
end
if id==5 then
tfm.exec.newGame(svp)
end
if id==6 then
ui.addTextArea(13, "<a href='event:dyrukpt'><b><font size='15'><r>X", nil, 767, 367, 24, 26, 0x1, 0x1, 0.7, true)
if spradmin[name]==1 then
ui.addTextArea(12, "<bv>[<rose>Süper<r> Admin "..name.."<bv>] <g>:<j> "..svp.."", nil, 5, 368, 748, 26, 0x1, 0x1, 0.7, true)
end
if admins[name]==1 then
ui.addTextArea(12, "<bv>[<r>Admin "..name.."<bv>] <g>:<j> "..svp.."", nil, 5, 368, 748, 26, 0x1, 0x1, 0.7, true)
end
end
if id==7 then
rapor.rapor = rapor.rapor .."".. "<br><R>Kullanıcı Adı : <V>" .. (name) .. " <N><br>" .. "<J>Rapor : <bv>" .. (svp)
for name,player in pairs(admins) do
ui.addTextArea(14,"<a href='event:rephepsi'><bv>Yeni Rapor Geldi.</a>",name,5,375,nil,nil,0x1C3C41,0xffffff,0.7,true)
end
for name,player in pairs(spradmin) do
ui.addTextArea(14,"<a href='event:rephepsi'><bv>Yeni Rapor Geldi.</a>",name,5,375,nil,nil,0x1C3C41,0xffffff,0.7,true)
end
end
if id==8 then
mesajlimt=mesajlimt+1
if mesajlimt>=7 then
mesajlimt=mesajlimt-7
adm={chat=""}
end
if admins[name]==1 then
admm.chat = admm.chat .."".. "<br><R>[Admin] <V>" .. (name) .. " <N>" .. " : <bv>" .. (svp)
adm.chat = adm.chat .."".. "<br><R>[Admin] <V>" .. (name) .. " <N>" .. " : <bv>" .. (svp)
ui.addTextArea(1, "<p align='center'><r><font size='7'><a href='event:admmesaj'>Mesaj Yolla </a>- <a href='event:admchathepsi'>Hepsini Gör</a>n"..adm.chat.."", name, 302, 97, 187, 101, 0x1, 0x1, 0.5, true)
end
if spradmin[name]==1 then
admm.chat = admm.chat .."".. "<br><Rose>[S. Admin ] <V>" .. (name) .. " <N>" .. " : <bv>" .. (svp)
adm.chat = adm.chat .."".. "<br><Rose>[S. Admin] <V>" .. (name) .. " <N>" .. " : <bv>" .. (svp)
ui.addTextArea(1, "<p align='center'><r><font size='7'><a href='event:admmesaj'>Mesaj Yolla </a>- <a href='event:admchathepsi'>Hepsini Gör</a>n"..adm.chat.."", name, 302, 97, 187, 101, 0x1, 0x1, 0.5, true)
end
end
end
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.