pl=0
cza=0
kow=0
admin = "Azizhamood"
mod = "Omoroz"
modi = "Lampek"
modii = "Tasted"
tfm.exec.disableAfkDeath(true)
tfm.exec.disableAutoScore(true)
tfm.exec.disableAutoShaman(true)
tfm.exec.disableAutoNewGame(true)
system.disableChatCommandDisplay("kotely",true)
system.disableChatCommandDisplay("mort",true)
system.disableChatCommandDisplay("kotel",true)
system.disableChatCommandDisplay("fly",true)
system.disableChatCommandDisplay("czacha",true)
system.disableChatCommandDisplay("szampan",true)
system.disableChatCommandDisplay("ryby",true)
system.disableChatCommandDisplay("fikusy",true)
system.disableChatCommandDisplay("kowadlo",true)
system.disableChatCommandDisplay("kowadla",true)
system.disableChatCommandDisplay("szaman",true)
system.disableChatCommandDisplay("sklep",true)
system.disableChatCommandDisplay("pizza",true)
system.disableChatCommandDisplay("cennik",true)
system.disableChatCommandDisplay("zima",true)
system.disableChatCommandDisplay("niespodzianka",true)
system.disableChatCommandDisplay("wampir",true)
system.disableChatCommandDisplay("mepp",true)
system.disableChatCommandDisplay("zawody",true)
system.disableChatCommandDisplay("Lessi",true)
system.disableChatCommandDisplay("Avis",true)
system.disableChatCommandDisplay("czary",true)
system.disableChatCommandDisplay("admini",true)
system.disableChatCommandDisplay("Szczurb",true)
system.disableChatCommandDisplay("Marzenie",true)
system.disableChatCommandDisplay("Mrkapii",true)
system.disableChatCommandDisplay("Anonimkka",true)
system.disableChatCommandDisplay("strona",true)
system.disableChatCommandDisplay("Dialogowe",true)
system.disableChatCommandDisplay("Funkcjonalne",true)
system.disableChatCommandDisplay("pomoc",true)
system.disableChatCommandDisplay("Banany",true)
system.disableChatCommandDisplay("panel",true)
system.disableChatCommandDisplay("respawn",true)
system.disableChatCommandDisplay("Czekolada",true)
system.disableChatCommandDisplay("Conjunctivitis",true)
system.disableChatCommandDisplay("pokoj",true)
system.disableChatCommandDisplay("apple",true)
system.disableChatCommandDisplay("ryba",true)
system.disableChatCommandDisplay("alohomora",true)
system.disableChatCommandDisplay("reset",true)
system.disableChatCommandDisplay("apple",true)
system.disableChatCommandDisplay("ryba",true)
system.disableChatCommandDisplay("end",true)
for nick in pairs(tfm.get.room.playerList) do
pl=pl+1
tfm.exec.bindKeyboard(nick,87,true)
end
function eventKeyboard(nick,x,y)
ui.addTextArea(5,"
end
function eventEmotePlayed(nick,id)
if id==9 then
ui.removeTextArea(0,nick)
ui.removeTextArea(1,nick)
elseif id==3 then
ui.addTextArea(0,"
elseif id==6 then
ui.addTextArea(0,"
end
end
function eventChatCommand(nick,kmnd)
if kmnd=="mort" then
tfm.exec.killPlayer(nick)
tfm.exec.addShamanObject(90,tfm.get.room.playerList[nick].x,tfm.get.room.playerList[nick].y)
elseif kmnd=="fly" then
ui.addTextArea(0,"
elseif kmnd=="czacha" and cza<150 then
cza=cza+1
if tfm.get.room.currentMap == '@5347091' then
tfm.exec.addShamanObject(602,100,50)
ui.addTextArea(66666,"
elseif tfm.get.room.currentMap == '@5347091' then
elseif kmnd=="szampan" then
ui.addTextArea(0,"
elseif kmnd=="ryby" and roz<150 or kmnd=="fikusy" and roz<150 then
roz=roz+3
ui.addTextArea(666,"
ui.addTextArea(0,"Zaopiekuj sie nimi dobrze!",nick,100,50,0,0,0x1c3c41,0x1c3c41,ffffff,100)
tfm.exec.addShamanObject(65,100,50)
tfm.exec.addShamanObject(65,100,50)
tfm.exec.addShamanObject(65,100,50)
elseif kmnd=="kowadlo" and kow<10 then
tfm.exec.addShamanObject(10,100,50)
elseif kmnd=="kowadla" and kow<9 then
tfm.exec.addShamanObject(10,100,50)
tfm.exec.addShamanObject(10,100,50)
tfm.exec.addShamanObject(10,450,500)
elseif kmnd=="szaman" and nick=="Azizhamood" or kmnd=="szaman" and nick=="Omoroz" or kmnd=="szaman" and nick=="Tasted" or kmnd=="szaman" and nick=="Lampek" or kmnd=="szaman" and nick=="Marzenie"then
tfm.exec.setShaman(nick)
elseif kmnd=="sklep" then
tfm.exec.movePlayer(nick,620,200)
elseif kmnd=="pizza" then
ui.addTextArea(0,"Pizza *om, om, om, om*",nick,100,50,0,0,0x1c3c41,0x1c3c41,ffffff,100)
elseif kmnd=="cennik" then
ui.addTextArea(2,"
★Cennik:★
\nui.addTextArea(3,"Cennik Azizhamood",nick,215,50,0,0,0x1c3c41,0x1c3c41,ffffff,100)
elseif kmnd=="zima" then
tfm.exec.snow(10,100)
elseif kmnd=="niespodzianka" then
tfm.exec.addShamanObject(68,100,50)
ui.addTextArea(0,"
elseif kmnd=="wampir" then
tfm.exec.setVampirePlayer(nick)
ui.addTextArea(0,"
elseif kmnd=="meep" then
tfm.exec.giveMeep(nick)
elseif kmnd=="zawody" then
tfm.exec.newGame('@5584415')
ui.removeTextArea(0,nick)
ui.removeTextArea(7,nick)
ui.removeTextArea(77,nick)
ui.removeTextArea(777,nick)
ui.removeTextArea(7777,nick)
ui.removeTextArea(77777,nick)
ui.removeTextArea(777777,nick)
ui.removeTextArea(7777777,nick)
ui.removeTextArea(77777777,nick)
ui.removeTextArea(777777777,nick)
ui.removeTextArea(6,nick)
ui.removeTextArea(66,nick)
ui.removeTextArea(666,nick)
ui.removeTextArea(6666,nick)
ui.removeTextArea(66666,nick)
ui.removeTextArea(6666666,nick)
ui.addTextArea(666666,"
tfm.exec.newGame('@5584415')
elseif kmnd=="Lessi" then
ui.addTextArea(0,"
elseif kmnd=="Avis" then
ui.addTextArea(0,"
elseif kmnd=="czary" then
ui.addPopup(0, 1,"
elseif kmnd=="admini" then
ui.addTextArea(0,"
elseif kmnd=="Szczurb" then
ui.addTextArea(0,"
elseif kmnd=="Marzenie" then
ui.addTextArea(0,"
elseif kmnd=="strona" then
ui.addTextArea(0,"DevianArt",nick,100,50,0,0,0x1c3c41,0x1c3c41,ffffff,100)
elseif kmnd=="Dialogowe" then
ui.addTextArea(0,"
elseif kmnd=="Funkcjonalne" then
ui.addTextArea(0,"
elseif kmnd=="pomoc" then
ui.addTextArea(0,"
elseif kmnd=="Mrkapii" then
ui.addTextArea(0,"
tfm.exec.addShamanObject(39,100,50)
elseif kmnd=="Anonimkka" then
ui.addTextArea(0,"
elseif kmnd=="Banany" then
tfm.exec.addShamanObject(2805,tfm.get.room.playerList[nick].x,tfm.get.room.playerList[nick].y)
elseif kmnd=="panel" and nick=="Tasted" or kmnd=="panel" and nick=="Lampek" or kmnd=="panel" and nick=="Azizhamood" or kmnd=="panel" and nick=="Omoroz"then
ui.addTextArea(1,"
elseif kmnd=="respawn" then
tfm.exec.respawnPlayer(nick)
ui.addTextArea(77777777,"
ui.addTextArea(7777777,"
ui.addTextArea(777777,"
ui.addTextArea(77777,"
ui.addTextArea(7777,"
ui.addTextArea(777,"
ui.addTextArea(7,"Wciśnia
ui.addTextArea(6,"
ui.addTextArea(66,"
ui.addTextArea(666,"
ui.addTextArea(66666,"
ui.addTextArea(666666,"
ui.addTextArea(6666666,"
★★★
\n★★★
",nil,500,65,0,0,50,10,0)elseif kmnd=="Czekolada" then
ui.removeTextArea(9,nick)
elseif kmnd=="Conjunctivitis" then
ui.addTextArea(9,".",nick,0,0,800,400,ffffff,ffffff,ffffff,100)
elseif kmnd=="pokoj" and nick=="Tasted" or kmnd=="pokoj" and nick=="Omoroz" or kmnd=="pokoj" and nick=="Azizhamood" then
tfm.exec.movePlayer(nick,400,250)
elseif kmnd=="apple" then
tfm.exec.addShamanObject(39,tfm.get.room.playerList[nick].x,tfm.get.room.playerList[nick].y)
elseif kmnd=="ryba" and roz<150 then
roz=roz+1
if tfm.get.room.currentMap == '@5347091' then
ui.addTextArea(666,"
ui.addTextArea(0,"Zaopiekuj sie nia dobrze!",nick,100,50,0,0,0x1c3c41,0x1c3c41,ffffff,100)
tfm.exec.addShamanObject(65,100,50)
elseif tfm.get.room.currentMap == '@5347091' then
elseif kmnd=="kotely" and nick=="Azizhamood" or kmnd=="kotely" and nick=="Omoroz" or kmnd=="kotely" and nick=="Lampek" or kmnd=="kotely" and nick=="Tasted" then
roz=roz+5
ui.addTextArea(666,"
tfm.exec.addShamanObject(65,100,50)
tfm.exec.addShamanObject(65,100,50)
tfm.exec.addShamanObject(65,100,50)
tfm.exec.addShamanObject(65,100,50)
tfm.exec.addShamanObject(65,100,50)
elseif kmnd=="end" and nick=="Tasted" or kmnd=="end" and nick=="Lampek" or kmnd=="end" and nick=="Azizhamood" or kmnd=="end" and nick=="Scatyqq" then
W=11
elseif kmnd=="respawnn" then
ui.removeTextArea(77777,nick)
ui.removeTextArea(777777,nick)
ui.removeTextArea(666666,nick)
ui.removeTextArea(6666666,nick)
ui.removeTextArea(777,nick)
ui.addTextArea(77777777,"
ui.addTextArea(7777777,"
ui.addTextArea(7777,"
ui.addTextArea(7,"Wciśnia
ui.addTextArea(6,"
ui.addTextArea(66,"
ui.addTextArea(666,"
ui.addTextArea(66666,"
end
end
function eventNewPlayer(nick)
pl=pl+1
tfm.exec.disableAfkDeath(true)
tfm.exec.disableAutoScore(true)
tfm.exec.disableAutoShaman(true)
tfm.exec.disableAutoNewGame(true)
tfm.exec.setUIMapName("Lua
tfm.exec.respawnPlayer(nick)
end
function eventPlayerWon(nick)
tfm.exec.respawnPlayer(nick)
end
function eventNewGame()
tfm.exec.disableAfkDeath(true)
tfm.exec.disableAutoScore(true)
tfm.exec.disableAutoShaman(true)
tfm.exec.disableAutoNewGame(true)
tfm.exec.setUIMapName("Lua
end
function eventPlayerDied(name)
tfm.exec.respawnPlayer(name)
end
function eventPlayerLeft(nick)
pl=pl-1
end
W=12
function eventLoop(c,r)
if W>=1 and W<=11 then
W=W-1
tfm.exec.setUIMapName("Lua
elseif W==0 then
system.exit()
end
end
function eventPopupAnswer(id,nick,cb)
if cb == "yes" then
ui.addTextArea(0,"
else
ui.addTextArea(0,"
end
end
function eventTextAreaCallback(id,nick,cb)
if cb=="dia" then
ui.addTextArea(0,"
elseif cb=="fun" then
ui.addTextArea(0,"
elseif cb=="map1" then
roz=0
cza=0
kow=0
ui.addTextArea(77777777,"
ui.addTextArea(7777777,"
ui.addTextArea(777777,"
ui.addTextArea(7777,"
ui.addTextArea(777,"
ui.addTextArea(7,"Wciśnia
ui.addTextArea(6,"
ui.addTextArea(66,"
ui.addTextArea(666,"
ui.addTextArea(66666,"
tfm.exec.newGame('@5567935')
elseif cb=="map2" then
roz=0
cza=0
kow=0
tfm.exec.newGame('@5585871')
ui.removeTextArea(77777,nick)
ui.removeTextArea(777777,nick)
ui.removeTextArea(666666,nick)
ui.removeTextArea(6666666,nick)
ui.removeTextArea(777,nick)
ui.addTextArea(77777777,"
ui.addTextArea(7777777,"
ui.addTextArea(7777,"
ui.addTextArea(7,"Wciśnia
ui.addTextArea(6,"
ui.addTextArea(66,"
ui.addTextArea(666,"
ui.addTextArea(66666,"
end
end
print("100%")
print("
end
end