Advertisement
JessiewindScripts

Modules juntos 1.36

Jan 23rd, 2019
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 169.98 KB | None | 0 0
  1. --[[ Script contendo o module #anvilwar, #mestre, #fall, #objects, #pistas, e #true_false. Compilado às 14h58 (UTC) 23/01/2019. ]]--
  2.  
  3. local modulo = {
  4.     _NOME = "anvilwar",
  5.     _VERSION = "1.36",
  6.     _AUTHOR = "Jessiewind26#2546"
  7. }
  8.  
  9. active = ""
  10.  
  11. initAnvilwar = function()
  12. for _,f in next,{"AutoShaman","AutoScore","AutoNewGame","AutoTimeLeft","PhysicalConsumables","DebugCommand","AfkDeath"} do
  13.     tfm.exec["disable"..f](true)
  14. end
  15. tfm.exec.setRoomMaxPlayers(30)
  16. powerups={double=false,chuva=false,count=0,choosed="",bomba=false,objeto=false,explosion=false,triple=false,selective=false,r_azul=false,r_vermelho=false,multiple=false,multi_count=0,int_azul=2,int_vermelho=2}
  17. play_azul={}
  18. players_table={}
  19. objetos={1,2,3,4,6,7,10,23,28,29,30,31,32,33,34,35,39,40,45,46,54,59,60,61,62,65,67,68,69,80,85,89,90,95,201,202,203,301,302,303,401,402,403,601,604,2806}
  20. caps={azul="",vermelho=""}
  21. play_vermelho={}
  22. avs_list={}
  23. mods_list={"Flaysama#5935","Ashearcher#0000","Leonardodsss#0000","Jarvanfender#0000"}
  24. managers_list={"Nasus_assassin#1534","Spectra_phantom#6089"}
  25. admins_list={"Jessiewind26#2546","Zed#9431"}
  26. level6_list={"Titan50#0000","Forzaldenon#0000","Varusofeyzan#0000","Jeredy_suno#0886"}
  27. scoreloop=0
  28. sudden_death=false
  29. local temp_name=""
  30. local temp_name2=""
  31. local temp_name3=""
  32. actual_player=""
  33. count_int=20
  34. tempo=0
  35. players=0
  36. time_limit=10
  37. team=1
  38. kills=0
  39. data={}
  40. ratos=0
  41. loop=8
  42. power=5
  43. valendo=false
  44. anvil_launched=false
  45. set=false
  46. object=10
  47. select_obj=0
  48. set_name=""
  49. reset=false
  50. intervalo=false
  51. count=0
  52. count_azul=0
  53. count_vermelho=0
  54. for _,f in next,{"help","powerups","set","tc","p","rank","data_score","score","kill","tt","rv","cap","cmd","acmd","ban","unban","rodar","reset","so"} do
  55.     system.disableChatCommandDisplay(f)
  56. end
  57. anvils={10,1002,1003,1004,1005}
  58. mapas={"@7467262","@7463118","@7436867","@7412348","@7467977","@7470456","@7480017","@7433435","@7483583","@7485139","@7486518","@7486596","@7486946","@7487828","@7488212","@7487008","@7493568","@7375714","@7495501","@7495286","@7495744","@7497388","@7499355","@7501996","@7511352","@7522536","@7522330","@7521998","@7540655","@7532950","@7542639","@7512942","@7114424","@7546132","@7546118","@7545653","@7543543","@7547908","@7544349","@7553313","@7554201","@7554203","@7554206","@7559566","@7560668","@7557788","@7559595","@7560873","@7562374"}
  59. map_names={"The Dual-Sided Fight Area","","Inside the Castle","Hell and Water","A very simple waterfall","","The Frozen Arena","The Golden Flying Arena","The Beach Test Map","Inside the Theasure Cave","A random fall map","","The first #anvilwar map","The Beach Test Map 2","","","The Six Attributes","Inside the Ocean","","","","","","","The Stone Platforms","Inside the Hell","Let's fly!","Inside the Volcano","The Dance of Anvils on Stone","On the Space Tower","On the Edge of Void","","","On the Seabed","The Palace of Swords","The Castle of Fire","","The Example of Map","Fitting The Anvil","The Beach Test Map 3","Dead Maze Map #1","Dead Maze Map #2","Dead Maze Map #3","The Clouds Under Trampoline","Dead Maze Map #4","","Anvilwar Prison","The Pyramid of Grass","The Stone of Driftblade"}
  60. lang = {}
  61. lang.br = {
  62.     win_vermelho = "<R><b>GG Time Vermelho!</b><br>A próxima partida será iniciada em 15 segundos.",
  63.     win_azul = "<BL><b>GG Time Azul!</b><br>A próxima partida será iniciada em 15 segundos.",
  64.     sudden_death = "<VP><b>Morte Súbita!</b><br>A equipe que conseguir eliminar qualquer um adversário será declarada a vencedora.",
  65.     empate_text = "<J><b>Houve um empate!</b><br>A próxima partida será iniciada em 15 segundos.",
  66.     instructions = "Use as teclas de 1 a 9 para alterar a potência da bigorna e barra de espaço para atirar. Para ajuda digite !help. Para ver poderes especiais digite !powerups.",
  67.     turn = "<VP>É a vez de",
  68.     timeout = "<J>Tempo esgotado! O atirador será alterado.",
  69.     enter_vermelho = "Entrar no time vermelho",
  70.     enter_azul = "Entrar no time azul",
  71.     exit = "Sair do time",
  72.     double = "acionou o powerup Bigorna Dupla!",
  73.     double2 = "<br>Neste powerup, você atira 2 bigornas de uma vez.",
  74.     triple = "acionou o powerup Bigorna Tripla!",
  75.     triple2 = "<br>Neste powerup, você atira 3 bigornas de uma vez.",
  76.     bomba1 = "acionou o powerup Bomba Relógio!",
  77.     bomba2 = "<br>Neste powerup, uma explosão em um lugar aleatório do time adversário ocorrerá.",
  78.     objeto1 = "acionou o powerup Tiro Aleatório!",
  79.     objeto2 = "<br>Neste powerup, ao pressionar a barra de espaço, você vai atirar um objeto aleatório de shaman. Caso você tenha usado a habilidade Bigorna Dupla, você irá atirar 2 objetos ao invés de um.",
  80.     exp1 = "acionou o powerup Olha a Explosão!",
  81.     exp2 = "<br>Neste powerup, você pode gerar uma explosão clicando em um local do time inimigo.<br>Você possui 5 segundos para explodir!",
  82.     chuva1 = "acionou o powerup Chuva de Objetos!",
  83.     chuva2 = "<br>Neste powerup, ao atirar uma bigorna, irão aparecer diversos objetos continuamente até a troca de jogador.",
  84.     fly1 = "acionou o powerup Rato Pequeno!",
  85.     fly2 = "<br>Neste powerup, seu rato diminuirá 50% de tamanho. Esta habilidade só pode ser usada uma vez por jogador.",
  86.     inv1 = "acionou o powerup Modo Imortal!",
  87.     inv2 = "<br>Neste powerup, você ficará imortal durante 4 turnos do seu time. Esta habilidade só pode ser utilizada uma vez por partida.",
  88.     inv3 = "Sua habilidade Modo Imortal expirou.",
  89.     invi1 = "acionou o powerup Meteoro de Bigornas!",
  90.     invi2 = "<br>Neste powerup, você terá 5 segundos para clicar em um local do time inimigo. Várias bigornas cairão do céu na coordenada selecionada.",
  91.     bar = "#anvilwar - RTM 9375.090",
  92.     intensity = "Intensidade",
  93.     your_turn = "<J>É a sua vez de jogar. Pressione ESPAÇO para atirar e use as teclas de 1 a 9 para alterar a potência da bigorna. Use as teclas F1 a F9 para usar poderes especiais.",
  94.     help = "Pressione ESPAÇO para atirar e use as teclas de 1 a 9 para alterar a potência da bigorna. Use as teclas de F1 a F9 para usar poderes especiais (para saber quais são, digite !powerups). A equipe que conseguir eliminar todos do time adversário vencerá a partida.<br><br>Digite !cmd para ver todos os comandos do jogo.<br><br><b>Créditos:</b><br>Desenvolvimento: Jessiewind26#2546 e Zed#9431<br>Powerups: Jhinsword350#0000 e Vidaloka9999#0000<br>Tradução: Nasus_assassin#1534 (EN), Alexsaky#7307 + Vigo#4765 (AR), Dejavu#2242 (ES) e Puiguirata#0000 (DE)",
  95.     teamkill1 = "Oh não! ",
  96.     teamKill2 = "matou um companheiro de equipe",
  97.     ajuda = "Ajuda",
  98.     credits = "Créditos",
  99.     mostrar = "Mostrar",
  100.     seconds = "<ROSE>Faltam 60 segundos!",
  101.     seconds30 = "<ROSE>Faltam 30 segundos!",
  102.     seconds10 = "<ROSE>Faltam 10 segundos!",
  103.     powerups1 = "F1 = Bigorna Dupla<br>F2 = Bigorna Tripla<br>F3 = Bomba Relógio<br>F4 = Tiro Aleatório<br>F5 = Olha a Explosão<br>F6 = Chuva de Objetos<br>F7 = Rato Pequeno<br>F8 = Modo Imortal<br>F9 = Meteoro de Bigornas",
  104.     powerups2 = "6pts<br>12pts<br>5pts<br>4pts<br>18pts<br>15pts<br>15pts<br>24pts<br>15pts",
  105.     powerups3 = "<a href='event:power1'>Mostrar</a><br><a href='event:power2'>Mostrar</a><br><a href='event:power3'>Mostrar</a><br><a href='event:power4'>Mostrar</a><br><a href='event:power5'>Mostrar</a><br><a href='event:power6'>Mostrar</a><br><a href='event:power7'>Mostrar</a><br><a href='event:power8'>Mostrar</a><br><a href='event:power9'>Mostrar</a><b",
  106.     powerups4 = "1<br>2<br>2<br>2<br>4<br>4<br>3<br>5<br>3",
  107.     teamchat = "<J>Você pode usar o comando !tc [mensagem] para falar apenas com o seu time.<br><br>Você pode ver seu perfil no jogo digitando !p e o ranking temporário digitando !rank.",
  108.     menu_bar = "<p align='center'><a href='event:help'>Ajuda</a>  |  <a href='event:powerups'>Powerups</a>  |  <a href='event:profile'>Perfil</a>  |  <a href='event:ranking'>Ranking</a>  |  <a href='event:cap'>Capitão</a>  |  <a href='event:cmd'>Comandos</a>",
  109.     powerupslist = "Lista de Poderes",
  110.     profile = "Use o comando !p para ver o seu perfil. Use !p [nome] para ver o perfil de outra pessoa.",
  111.     starting = "<VP>A partida está prestes a começar. Preparem-se!",
  112.     suicide = "O seguinte jogador cometeu suicídio: ",
  113.     ban = " foi banido da sala #anvilwar por ",
  114.     unban = " teve seu banimento removido da sala.",
  115.     caps = " foi escolhido para ser o capitão da equipe.",
  116.     cap = "Este tipo de jogador (escolhido aleatoriamente) receberá 50% a mais de pontuação que os outros e poderá transferir seus pontos para outro jogador de sua equipe usando o comando !tt [nome].<br>Você também poderá utilizar o comando !rv [nome] para reviver UM membro morto de sua equipe.",
  117.     cap_text = "<br><VP>Você é o capitão da sua equipe.<br><br>Você irá receber 50% mais pontos por tempo vivo e poderá transferir pontos para outros jogadores usando o comando !tt [nome].<br>Você também poderá utilizar o comando !rv [nome] para reviver UM membro morto de sua equipe. Você também pode usar a tecla END no teclado para pedir até 2 intervalos de 20 segundos cada.",
  118.     score30 = "<R>Você precisa de 30 pontos para usar isto.",
  119.     advanced = "<VP>Você acaba de avançar para o nível ",
  120.     tag_text = "<J>Não se esqueça de colocar a #tag no final do nome desejado! Caso contrário, o comando não irá funcionar!",
  121.     revivetext = "<J>O seguinte jogador reviveu: ",
  122.     yturn = "É a vez de: ",
  123.     level_error = "<R>Você não possível nível suficiente para usar isto.",
  124.     funct = "Função não permitida. (Você colocou a #tag no nome?)",
  125.     cmds = "Comandos do Jogo",
  126.     commands = "• !help = Exibe as instruções de como jogar.<br>• !p [jogador] = Exibe o perfil do jogador escolhido. Digite !p sem argumentos para ver o seu perfil.<br>• !rank = Exibe o ranking temporário de quem está na sala.<br>• !tc [mensagem] = Fala apenas com os jogadores do seu time.<br>• !skip = Envia um voto para pular o mapa atual. Este comando só pode ser usado quando a partida ainda não tiver começado.<br><ROSE>* <N>!rv [jogador] = Revive um jogador morto de sua equipe.<br><ROSE>* <N>!tt [jogador] = Transfere seus pontos para outro jogador<br><br>Os comandos marcados com <ROSE>* <N>são de uso exclusivo do capitão da equipe. Para saber mais sobre isso, digite !cap.",
  127.     admin_commands = "<BL>• <N>!skip = Pula o mapa atual.<br><BL>• <N>!pw [texto] = Adiciona uma senha na sala.<br><BL>• <N>!rodar [mapa] = Executa o mapa especificado.<br><J>• <N>!kill [nome] = Mata o jogador especificado.<br><R>• <N>!limit [número] = Limita a quantidade de ratos na sala.<br><br>Você só pode usar os comandos correspondentes a cor do seu nome.<br><br>Por motivos de segurança e estabilidade, nem todos os comandos especiais foram adicionados aqui.",
  128.     playingmap = "Rodando mapa",
  129.     created = "criado por",
  130.     red_int_text = "<R>A equipe vermelha pediu tempo.",
  131.     blue_int_text = "<BL>A equipe azul pediu tempo.",
  132.     points_text1 = "<N>Você agora possui ",
  133.     points_text2 = "<N> pontos para gastar com powerups.",
  134. }
  135. lang.en = {
  136.     win_vermelho = "<R><b>The RED team wins!</b><br>The next match will start in 15 seconds.",
  137.     win_azul = "<BL><b>The BLUE team wins!</b><br>The next match will start in 15 seconds.",
  138.     sudden_death = "<VP><b>SUDDEN DEATH!</b><br>The team that kill anyone of other team will won the match.",
  139.     empate_text = "<J><b>There was a draw!</b><br>The next match will start in 15 seconds.",
  140.     instructions = "Use the 1 to 9 keys to change the intensity of anvil and SPACEBAR to throw a anvil.",
  141.     turn = "<VP>It's turn of",
  142.     timeout = "<J>Time is over! The shooter will be changed.",
  143.     enter_vermelho = "Enter on RED team",
  144.     enter_azul = "Enter on BLUE team",
  145.     exit = "Leave this team",
  146.     double = "used the powerup Double Anvil!",
  147.     triple = "used the powerup Triple Anvil!",
  148.     bomba1 = "used the powerup Time Bomb!",
  149.     bomba2 = "<br>On this powerup, a explosion will occur on a random place of enemy area.",
  150.     objeto1 = "used the powerup Random Shoot!",
  151.     objeto2 = "<br>On this powerup, you will shoot a random shaman object instead of a anvil. If you have used the Double Anvil powerup, you can shoot 2 objects instead of one.",
  152.     exp1 = "used the powerup Explosion!",
  153.     exp2 = "<br>On this powerup, you can cause a explosion clicking on enemy area with your mouse.<br>You have 5 seconds to cause your explosion.",
  154.     chuva1 = "used the powerup Anvil Rain!",
  155.     chuva2 = "<br>On this powerup, you will shoot several anvils",
  156.     fly1 = "used the powerup Small Mice!",
  157.     fly2 = "<br>On this powerup, the size of your mice will be reduced at 50%. This powerup can be used only 1 time per player.",
  158.     inv1 = "used the powerup Immortal Mode!",
  159.     inv2 = "<br>On this powerup, you be immortal during the next 4 turns. This powerup only can be used 1 time per game.",
  160.     inv3 = "Your immortality has ended.",
  161.     invi1 = "used the powerup Anvil Meteor!",
  162.     invi2 = "<br>On this powerup, you can click with the mouse on a area of enemy team. A lot of anvils will drop at selected point.",
  163.     bar = "#anvilwar - RTM 9375.090",
  164.     intensity = "Intensity",
  165.     your_turn = "<J>It's your turn to shoot. Press SPACEBAR to throw a anvil and use the 1 to 9 keys to change the intensity of anvil. Use the F1 to F9 keys to use powerups.",
  166.     help = "Press SPACEBAR to throw a anvil and use the 1 to 9 keys to change the intensity of anvil. Use the F1 to F9 keys to use powerups (type !powerups). The team that eliminates the enemy team wons the game.<br><br>Type !cmd to show all the game commands.<br><br><b>Credits:</b><br>Development: Jessiewind26#2546 and Zed#9431<br>Powerups: Jhinsword350#0000 and Vidaloka9999#0000<br>Translations: Nasus_assassin#1534 (EN), Alexsaky#7307 + Vigo#4765 (AR), Dejavu#2242 (ES) and Puiguirata#0000 (DE)",
  167.     teamkill1 = "Oh no! ",
  168.     teamKill2 = "has killed a player of her team",
  169.     ajuda = "Help",
  170.     credits = "Credits",
  171.     mostrar = "Show",
  172.     seconds = "<ROSE>60 seconds remaining!",
  173.     seconds30 = "<ROSE>30 seconds remaining!",
  174.     seconds10 = "<ROSE>10 seconds remaining!",
  175.     powerups1 = "F1 = Double Anvil<br>F2 = Triple Anvil<br>F3 = Time Bomb<br>F4 = Random Shoot<br>F5 = Explosion<br>F6 = Anvil Rain<br>F7 = Small Mice<br>F8 = Immortal Mode<br>F9 = Anvil Meteor",
  176.     powerups2 = "6pt<br>12pt<br>5pt<br>4pt<br>18pt<br>15pt<br>15pt<br>24pt<br>15pt",
  177.     powerups3 = "<a href='event:power1'>Show</a><br><a href='event:power2'>Show</a><br><a href='event:power3'>Show</a><br><a href='event:power4'>Show</a><br><a href='event:power5'>Show</a><br><a href='event:power6'>Show</a><br><a href='event:power7'>Show</a><br><a href='event:power8'>Show</a><br><a href='event:power9'>Show</a>",
  178.     powerups4 = "1<br>2<br>2<br>2<br>4<br>4<br>3<br>5<br>3",
  179.     teamchat = "<J>You can use the command !tc [message] to speak with your team.<br><br>You can see your profile typing !p and the temporary tanking typing !rank.",
  180.     menu_bar = "<p align='center'><a href='event:help'>Help</a>  |  <a href='event:powerups'>Powerups</a>  |  <a href='event:profile'>Profile</a>  |  <a href='event:ranking'>Ranking</a>  |  <a href='event:cap'>Capitain</a>  |  <a href='event:cmd'>Commands</a>",
  181.     powerupslist = "Powerups List",
  182.     profile = "Use the !p command to view your profile and use !p [username] to view the profile of another user.",
  183.     starting = "<VP>The match will start on a few seconds. Get ready!",
  184.     suicide = "The following player committed suicide: ",
  185.     ban = " was banned of room by ",
  186.     unban = " was unbanned of room.",
  187.     caps = " was choosed to be the team capitain.",
  188.     cap = "This type of player (that is choosed randomly) will receive 50% more points and will get the ability of transfer your points to other players alive on the match using the !tt [name] command. You can use the !rv [name] command to revive ONE team player dead.",
  189.     cap_text = "<br><VP>You are the team capitain.<br><br>You will receive 50% more points than other team players and can transfer your points to other team players using the !tt [name] command. You can use the !rv [name] command to revive ONE team player dead. You also can use the END key on the keyboard to request up to 2 timeouts.",
  190.     score30 = "<R>You need 30 points to use this.",
  191.     advanced = "<VP>You reached the level ",
  192.     tag_text = "<J>Don't forget to insert the #tag on the target nickname, else this command don't will work!",
  193.     revivetext = "<J>The following player has been revived: ",
  194.     yturn = "Actual player: ",
  195.     level_error = "<R>You don't have level to use this. To view your level use the !p command.",
  196.     funct = "Function not allowed",
  197.     cmds = "Game commands",
  198.     commands = "• !help = Show the game help.<br>• !p [player] = Show the profile of selected player. Type !p without arguments to show your profile.<br>• !rank = Show the temporary room ranking.<br>• !tc [message] = Chat with other members of your team.<br>• !skip = Send a vote to skip the actual map. This command cannot be used during the match.<br><ROSE>* <N>!rv [player] = Revive a dead player of your team.<br><ROSE>* <N>!tt [player] = Transfer your points to another team member.<br><br>The commands marked with <ROSE>* <N>are of exclusive use of the team capitains. To see more info about this, use the !cap command.",
  199.     admin_commands = "<BL>• <N>!skip = Skip the actual map.<br><BL>• <N>!pw [texto] = Add a password on the room. Type only !pw to remove the password.<br><BL>• <N>!rodar [mapa] = Run the specified map.<br><J>• <N>!kill [nome] = Kill the specified player.<br><R>• <N>!limit [número] = Set a limit of mices on this room.<br><br>You only can use the commands that match with your name color.",
  200.     playingmap = "Playing map",
  201.     created = "created by",
  202.     red_int_text = "<R>The red team requested a timeout.",
  203.     blue_int_text = "<BL>The blue team requested a timeout.",
  204.     points_text1 = "<N>You now have ",
  205.     points_text2 = "<N> points to use powerups.",
  206. }
  207. lang.ar = {
  208.     win_vermelho = "<R><b>فاز الفريق الأحمر!</b><br>ستبدأ المباراة التالية في غضون 15 ثانية!",
  209. win_azul = "<BL><b>فاز الفريق الأزرق!</b><br>ستبدأ المعركة التالية في غضون 15 ثانية!",
  210. sudden_death = "<VP><b>المعركة النهائية!</b><br>إذا قام أي أحد بقتل عضو في أي فريق أخر، سوف يفوز الفريق الذي قتل!",
  211. empate_text = "<J><b>تعادل!</b><br>ستبدأ المباراة التالية في غضون 15 ثانية!",
  212. instructions = "إستخدم مفاتيح لوحة التحكم من 1 الى 9 للتحكم في سرعة وقوة السندان.",
  213. turn = "<VP>إنه دور",
  214. timeout = "<J>إنتهى الوقت! سيتم تغيير الضارب",
  215. enter_vermelho = "قم بالدخول للفريق الأحمر",
  216. enter_azul = "قم بالدخول للفريق الأزرق",
  217. exit = "قم بالخروج من هذا الفريق",
  218. double = "إستخدم السندان المزدوج!",
  219. triple = "إستخدم السندان الثلاثي، إحترس!",
  220. bomba1 = "إستخدم فرقعة الزمن، إحترس من الإنفجار!",
  221. bomba2 = "<br>في هذه القوة، سوف يحدث إنفجار في بقعة مختلفة في مكان العدو",
  222. objeto1 = "إستخدم الضربة العشوائية! قد يقوم بضرب أي شيئ الأن!",
  223. objeto2 = "<br>في هذه القوة، يمكنك ضرب أداة شامان بدلآ من السندان، إذا قمت بإختيار السندان المزدوج، سيتم ضرب اداتان شامان بدلآ من سندان",
  224. exp1 = "قام بإستخدام قوة الإنفجار!",
  225. exp2 = "<br>بإستخدام هذه القوة، يمكنك إحداث إنفجار في منطقة العدو بإستخدام الفأرة (الماوس)، لديك 5 ثوانٍ فقط للقيام بإنفجار",
  226. chuva1 = "إستخدم قوة مَطر السندان! إحتمي!",
  227. chuva2 = "<br>في هذه القوة، يمكنك ضرب العديد من السندان",
  228. fly1 = "used the powerup Small Mice!",
  229. fly2 = "<br>On this powerup, the size of your mice will be reduced at 50%. This powerup can be used only 1 time per player.",
  230. inv1 = "إستخدم قوة عدم الموت",
  231. inv2 = "<br>بإستخدام هذه القوة، لن يمكنك الموت لمدة 4 جولات من الضرب، يمكنك إستخدامها مرة واحدة فقط في الجولة الواحدة",
  232. inv3 = "قوة عدم موتك قد إنتهت، أصبحت قابلآ للموت الأن!.",
  233. invi1 = "used the powerup Anvil Meteor!",
  234. invi2 = "<br>On this powerup, you can click with the mouse on a area of enemy team. A lot of anvils will drop at selected point.",
  235. bar = "#anvilwar - RTM 9375.090",
  236. intensity = "قوة الضرب وسرعته",
  237. your_turn = "<J>إنه دورك للضرب! إضغط زر المسافة لإطلاق سندان مع استخدام الزر من 1 الى 9 للتحكم في سرعة السندان لتغيير قوة ضرب السندان، . إستخدم المفتاح إف 1 حتى إف 9 لإطلاق ضربات مختلفة! إكتشف!",
  238. help = "إضغط زر المسافة لإطلاق سندان وللتحكم بسرعته يمكنك الضغط على زر الوجوه من 1 الى 9 ، إستخدم المفتاح من إف1 حتى إف9 لإطلاق ضربات القوة (أكتب !powerups) الفريق الذي يحطم العدو يفوز بالجولة <br><br>Type لترى جميع إيعازات اللعبة !cmds أكتب<br><br><b>Credits:</b><br>البرمجة والتطوير Jessiewind26#2546 and Zed#9431<br>نظام القوة: Jhinsword350#0000 and Vidaloka9999#0000<br>الترجمة: Nasus_assassin#1534 (EN), Alexsaky#7307 + Vigo#4765 (AR), Dejavu#2242 (ES) and Puiguirata#0000 (DE)",
  239. teamkill1 = "أوه لا!! ",
  240. teamKill2 = "قام بقتل عضو من فريقه!",
  241. ajuda = "المساعدة",
  242. credits = "Credits",
  243. mostrar = "أظهر",
  244. seconds = "<ROSE>60 ثانية متبقية",
  245. seconds30 = "<ROSE>30 ثانية متبقية!",
  246. seconds10 = "<ROSE>10 ثوانٍ متبقية!",
  247. powerups1 = "F1 = سندان مزدوج<br>F2 =سندان ثلاثي <br>F3 =فرقعة بالفأرة<br>F4 = ضربة أداة شامان عشوائية<br>F5 = تفجير!<br>F6 =مطر السندان!<br>F7 = Small Mice<br>F8 = وضع عديم الموت<br>F9 = Anvil Meteor",
  248. powerups2 = "6pt<br>12pt<br>5pt<br>4pt<br>18pt<br>15pt<br>15pt<br>24pt<br>15pt",
  249. powerups3 = "<a href='event:power1'>Show</a><br><a href='event:power2'>Show</a><br><a href='event:power3'>Show</a><br><a href='event:power4'>Show</a><br><a href='event:power5'>Show</a><br><a href='event:power6'>Show</a><br><a href='event:power7'>Show</a><br><a href='event:power8'>Show</a><br><a href='event:power9'>Show</a>",
  250. powerups4 = "1<br>2<br>2<br>2<br>4<br>4<br>3<br>5<br>3",
  251. teamchat = "<J>إستخم الإيعاز !tc [msg] للتكلم مع أعضاء فريقك<br><br>You can see your profile typing !p and the temporary tanking typing !rank.",
  252. menu_bar = "<p align='center'><a href='event:help'>Help</a> | <a href='event:powerups'>Powerups</a> | <a href='event:profile'>Profile</a> | <a href='event:ranking'>Ranking</a> | <a href='event:cap'>Capitain</a> | <a href='event:cmd'>Commands</a>",
  253. powerupslist = "Powerups List",
  254. profile = "إستخدم !p لرؤية ملفك وأستخدم !p name لرؤية ملف لاعب أخر ",
  255. starting = "<VP>ستبدأ المباراة غي غضون بضعة ثواني، إستعد!",
  256. suicide = "قام بالإنتحار ",
  257. ban = " تم حظره من الغرفة من قبل ",
  258. unban = " تم فك حظره من الغرفة من قبل",
  259. caps = " تم إختياره ليصبح قائد الفريق. لرؤية المزيد عن هذا أكتب !cap أو استخدم قسم القائد في القائمة, ",
  260. cap = "الكابتن هو قائد الفريق، يتم إختياره عشوائيآ، سوف يحصل على نقاط بنسبة 50% أكثر من اللاعبين، اي جَني النقاط بسرعة!يمكنه تحويل النقاط للاعب أخر عن طريق الإيعاز ويمكنه إحياء لاعب مات من فريقه بإستخدام !rv [name] ولكن يتطلب 30 نقطة لذلك",
  261. cap_text = "<br><VP>أنت قائد الفريق<br><br>سوف تحصل على نقاط زائدة بنسبة 50% ويمكنك نق لنقاطك للاعب أخر بإستخدام !tt name أو إحياء لاعب أخر بإستخدام !rv name يتطلب الإحياء 30 نقطة",
  262. score30 = "<R>تحتاج 30 نقطة للقيام بهذا",
  263. advanced = "<VP>وصلت للستوى ",
  264. tag_text = "<J>لا تنسى بوضع الهاشتاج على الإسم الذي تم إختياره, أو لن يعمل هذا الإيعاز",
  265. revivetext = "<J>هذا اللاعب قام بإستقبال : ",
  266. yturn = "اللاعب الحالي: ",
  267. level_error = "<R>لا تملك المستوى المطلوب لفعل هذا، لترى مستواك إكتب !p",
  268. funct = "الإيعاز غير مسموح",
  269. cmds = "إيعازات اللعبة : ",
  270. commands = "• !help لرؤية المساعدة<br>• !p [player] = لرؤية ملف لاعب، أكتب !p بدون أي شيئ لرؤية ملفك<br>• !rank لرؤية الرتبة الحالية.<br>• !tc [message] = المحادثة مع أعضاء فريقك<br>• !skip = إرسال تصويت لتخطي الجولة الحالية هذا الإيعاز لن يتم إستخدامه في الجولات التي تم بدأها، فقط في الجولات التي لم تبدأ بعد (في وضع إختيار الفرق) فقط<br><ROSE>* <N>!rv [player] = إحياء لاعب مات من فريقك، تطلب ان تكون القائد ومعك 30 نقطة<br><ROSE>* <N>!tt [player] = تقوم بنقل نقاطك للاعب أخر في الغرفة<br><br>الإيعازات المُعلمة بـ <ROSE>* <N> إيعازات فقط للقائد، لرؤية المزيد أكتب !cap",
  271. admin_commands = "<BL>• <N>!skip =تخطي الجولة الحالية map.<br><BL>• <N>!pw [text] = وضع كلمة سر للغرفة أكتب !pw لإزالة الباسورد<br><BL>• <N>!set_map [map] = تشغيل الخريطة المحددة<br><J>• <N>!kill [name] = قتل اللاعب المختار<br><R>• <N>!limit [number] = وضع حد للفئران في الغرفة<br><br>يمكنك إستخدام هذه الإيعازات عندما يكون إسمك باللون :.",
  272. playingmap = "Playing map",
  273. created = "created by",
  274. red_int_text = "<R>The red team requested a timeout.",
  275. blue_int_text = "<BL>The blue team requested a timeout.",
  276. points_text1 = "<N>You now have ",
  277. points_text2 = "<N> points to use powerups.",
  278. }
  279. lang.es = {
  280.     win_vermelho = "<R><b>¡Ha ganado el equipo ROJO!</b><br>La próxima ronda comenzará en 15 segundos.",
  281. win_azul = "<BL><b>¡Ha ganado el equipo AZUL!</b><br>La próxima ronda comenzará en 15 segundos.",
  282.     sudden_death = "<VP><b>MUERTE SÚBITA!</b><br>El equipo que mate a alguien del otro equipo ganará esta ronda.",
  283.     empate_text = "<J><b>Hubo un empate!</b><br>La próxima ronda comenzará en 15 segundos.",
  284.     instructions = "Usa las teclas 1 al 9 para cambiar la intensidad del yunque y ESPACIO para lanzarlo.",
  285.     turn = "<VP>Es el turno de",
  286.     timeout = "<J>El tiempo ha terminado. El tirador será cambiado.",
  287.     enter_vermelho = "Unirse al equipo ROJO",
  288.     enter_azul = "Unirse al equipo AZUL",
  289.     exit = "Abandonar este equipo",
  290.     double = "usó el powerup Doble Yunque!",
  291.     triple = "usó el powerup Triple Yunque!",
  292.     bomba1 = "usó el powerup Bomba de Tiempo!",
  293.     bomba2 = "<br>Con este powerup se producirá una explosión en un lugar aleatorio del área enemigo.",
  294.     objeto1 = "usó el de powerup Tiro Aleatorio!",
  295.     objeto2 = "<br>Con este powerup lanzarás un objeto de chamán aleatorio en lugar de un yunque. Si has usado el powerup Doble Yunque puedes lanzar 2 objetos en vez de 1.",
  296.     exp1 = "usó el powerup Explosión!",
  297.     exp2 = "<br>Con este powerup puedes provocar una explosión clicando en área enemigo con tu ratón.<br>Tienes 5 segundos para provocar la explosión.",
  298.     chuva1 = "usó el powerup Lluvia de Yunques!",
  299.     chuva2 = "<br>Con este powerup lanzarás varios yunques.",
  300.     fly1 = "used the powerup Small Mice!",
  301.     fly2 = "<br>On this powerup, the size of your mice will be reduced at 50%. This powerup can be used only 1 time per player.",
  302.     inv1 = "usó el powerup Modo Inmortal!",
  303.     inv2 = "<br>Con este powerup serás inmortal durante los próximos 4 turnos. Solo puedes usarlo 1 vez por ronda.",
  304.     inv3 = "Tu inmortalidad ha terminado.",
  305.     invi1 = "used the powerup Anvil Meteor!",
  306.     invi2 = "<br>On this powerup, you can click with the mouse on a area of enemy team. A lot of anvils will drop at selected point.",
  307.     bar = "#anvilwar - RTM 9375.090",
  308.     intensity = "Intensidad",
  309.     your_turn = "<J>Es tu turno de lanzar. Presiona ESPACIO para lanzar un yunque y usa las teclas 1 al 9 para cambiar la intensidad de este. Usa las teclas F1 al F9 para usar los powerups.",
  310.     help = "Presiona ESPACIO para lanzar un yunque y usa las teclas 1 al 9 para cambiar la intensidad de este. Usa las teclas F1 al F9 para usar los powerups (escribe !powerups). El equipo que elimine al enemigo ganará la ronda.<br><br>Escribe !cmd para mostrar todos los comandos del juego.<br><br><b>Créditos:</b><br>Desarrollo: Jessiewind26#2546 y Zed#9431<br>Powerups: Jhinsword350#0000 y Vidaloka9999#0000<br>Traducciones: Nasus_assassin#1534 (EN), Alexsaky#7307 + Vigo#4765 (AR), Dejavu#2242 (ES) y Puiguirata#0000 (DE)",
  311.     teamkill1 = "¡Oh no! ",
  312.     teamKill2 = "ha matado a un jugador de su equipo",
  313.     ajuda = "Ayuda",
  314.     credits = "Créditos",
  315.     mostrar = "Mostrar",
  316.     seconds = "<ROSE>¡Quedan 60 segundos!",
  317.     seconds30 = "<ROSE>¡Quedan 30 segundos!",
  318.     seconds10 = "<ROSE>¡Quedan 10 segundos!",
  319.     powerups1 = "F1 = Doble Yunque<br>F2 = Triple Yunque<br>F3 = Bomba de Tiempo<br>F4 = Tiro Aleatorio<br>F5 = Explosión<br>F6 = Lluvia de Yunques<br>F7 = Small Mice<br>F8 = Modo Inmortal<br>F9 = Anvil Meteor",
  320.     powerups2 = "6pt<br>12pt<br>5pt<br>4pt<br>18pt<br>15pt<br>15pt<br>24pt<br>15pt",
  321.     powerups3 = "<a href='event:power1'>Mostrar</a><br><a href='event:power2'>Mostrar</a><br><a href='event:power3'>Mostrar</a><br><a href='event:power4'>Mostrar</a><br><a href='event:power5'>Mostrar</a><br><a href='event:power6'>Mostrar</a><br><a href='event:power7'>Mostrar</a><br><a href='event:power8'>Mostrar</a><br><a href='event:power9'>Mostrar</a>",
  322.     powerups4 = "1<br>2<br>2<br>2<br>4<br>4<br>3<br>5<br>3",
  323.     teamchat = "<J>Puedes usar el comando !tc [mensaje] para hablar con tu equipo.<br><br>Puedes ver tu perfil escribiendo !p y el ranking temporal escribiendo !rank.",
  324.     menu_bar = "<p align='center'><a href='event:help'>Ayuda</a>  |  <a href='event:powerups'>Powerups</a>  |  <a href='event:profile'>Perfil</a>  |  <a href='event:ranking'>Ranking</a>  |  <a href='event:cap'>Capitán</a>  |  <a href='event:cmd'>Comandos</a>",
  325.     powerupslist = "Lista de Powerups",
  326.     profile = "Usa el comando !p para ver tu perfil y usa !p [apodo] para ver el de otra persona.",
  327.     starting = "<VP>La ronda comenzará en unos segundos. ¡Prepárate!",
  328.     suicide = "El siguiente jugador cometió suicidio: ",
  329.     ban = " fue baneado de la sala por ",
  330.     unban = " fue desbaneado de la sala.",
  331.     caps = " fue elegido para ser el capitán del equipo. Para ver más información acerca de esto, escribe el comando !cap o usa la sección de Capitán en el menú.",
  332.     cap = "En esta compilación fue incluido la funcionalidad de jugador capitán. Este tipo de jugador (es elegido aleatoriamente) recibirá un 50% más de puntos y la posibilidad de transferir tus puntos a otros jugadores vivos en la ronda usando el comando !tt [apodo]. Puedes usar el comando !rv [apodo] para revivir UN jugador muerto del equipo.",
  333.     cap_text = "<br><VP>Eres el capitán del equipo.<br><br>Recibirás un 50% más de puntos y la posibilidad de transferir tus puntos a otros jugadores del equipo usando el comando !tt [apodo]. Puedes usar el comando !rv [apodo] command para revivir UN jugador muerto del equipo.",
  334.     score30 = "<R>Necesitas 30 puntos para usar esto.",
  335.     advanced = "<VP>Has alcanzado el nivel ",
  336.     tag_text = "<J>No te olvides de colocar el #tag en el apodo del objetivo, o este comando no funcionará.",
  337.     revivetext = "<J>El siguiente jugador ha sido revivido: ",
  338.     yturn = "Jugador actual: ",
  339.     level_error = "<R>No tienes el nivel para usar esto. Para ver tu nivel usa el comando !p.",
  340.     funct = "Función no permitido",
  341.     cmds = "Comandos del juego",
  342.     commands = "• !help = Mostrar la ayuda del juego.<br>• !p [apodo] = Mostrar el perfil de un determinado jugador. Escribe !p solamente para mostrar tu perfil.<br>• !rank = Mostrar el ranking temporal de la sala.<br>• !tc [mensaje] = Hablar con otros miembros de tu equipo.<br>• !skip = Votar para saltar el mapa actual. Esto no puede ser usado durante la ronda.<br><ROSE>* <N>!rv [apodo] = Revivir a un jugador muerto de tu equipo.<br><ROSE>* <N>!tt [apodo] = Transferir tus puntos a otro miembro de tu equipo.<br><br>Los comandos marcados con <ROSE>* <N>son de uso exclusivo para capitanes de equipos. Para saber más de esto, usa el comando !cap.",
  343.     admin_commands = "<BL>• <N>!skip = Saltar el mapa actual.<br><BL>• <N>!pw [texto] = Agregar una contraseña a la sala. Escribe !pw nuevamente para remover la contraseña.<br><BL>• <N>!set_map [mapa] = Cargar un mapa en específico.<br><J>• <N>!kill [apodo] = Matar a un jugador en específico.<br><R>• <N>!limit [número] = Limitar el número de ratones en la sala.<br><br>Solo puedes utilizar los comandos que coincidan con el color de tu nombre.",
  344.     playingmap = "Jugando mapa",
  345.     created = "creado por",
  346.     red_int_text = "<R>The red team requested a timeout.",
  347.     blue_int_text = "<BL>The blue team requested a timeout.",
  348.     points_text1 = "<N>You now have ",
  349.     points_text2 = "<N> points to use powerups.",
  350. }
  351. lang.de = {
  352.     win_vermelho = "<R><b>Das ROTE Team gewinnt!</b><br>Das nächste Spiel beginnt in 15 Sekunden.",
  353.     win_azul = "<BL><b>Das BLAUE Team gewinnt!</b><br>Das nächste Spiel beginnt in 15 Sekunden.",
  354.     sudden_death = "<VP><b>PLÖTZLICHER TOD!</b><br>Das Team, das jemanden aus einem anderen Team tötet, gewinnt das Spiel.",
  355.     empate_text = "<J><b>Es gab ein Unentschieden!</b><br>Das nächste Spiel beginnt in 15 Sekunden.",
  356.     instructions = "Verwenden Sie die Tasten 1 bis 9, um die Intensität des Ambosses zu ändern und die Leertaste, um einen Amboss zu werfen.",
  357.     turn = "<VP>Es ist die Wende von",
  358.     timeout = "<J>Die Zeit ist vorbei! Der Schütze wird gewechselt.",
  359.     enter_vermelho = "Betreten Sie das ROTE Team",
  360.     enter_azul = "Betreten Sie das BLAUE Team",
  361.     exit = "Dieses Team verlassen",
  362.     double = "benutzte den Powerup Double Anvil!.",
  363.     triple = "benutzte den Powerup Triple Anvil!",
  364.     bomba1 = "benutzte den Powerup Time Bomb!",
  365.     bomba2 = "<br>Bei diesem Powerup kommt es zu einer Explosion an einem beliebigen Ort im feindlichen Gebiet.",
  366.     objeto1 = "benutzte den Powerup Random Shoot!",
  367.     objeto2 = "<br>Bei diesem Powerup schießt du ein zufälliges Schamanenobjekt anstelle eines Ambosses. Wenn du das Double Anvil Powerup benutzt hast, kannst du 2 Objekte anstelle von einem aufnehmen.",
  368.     exp1 = "benutzte den Powerup Explosion!",
  369.     exp2 = "<br>Bei diesem Powerup kannst du eine Explosion verursachen, indem du mit der Maus auf den gegnerischen Bereich klickst.<br>Sie haben 5 Sekunden Zeit, um deine Explosion zu verursachen.",
  370.     chuva1 = "benutzte den Powerup Anvil Rain!",
  371.     chuva2 = "<br>Bei diesem Powerup schießt du mehrere Ambosse.",
  372.     fly1 = "used the powerup Small Mice!",
  373.     fly2 = "<br>On this powerup, the size of your mice will be reduced at 50%. This powerup can be used only 1 time per player.",
  374.     inv1 = "benutzte den Powerup Immortal Mode!",
  375.     inv2 = "<br>Bei diesem Powerup bist du in den nächsten 4 Runden unsterblich. Dieses Powerup kann nur einmal pro Spiel verwendet werden.",
  376.     inv3 = "Deine Unsterblichkeit ist vorbei.",
  377.     invi1 = "used the powerup Anvil Meteor!",
  378.     invi2 = "<br>On this powerup, you can click with the mouse on a area of enemy team. A lot of anvils will drop at selected point.",
  379.     bar = "#anvilwar - RTM 9375.090",
  380.     intensity = "Intensität",
  381.     your_turn = "<J>Du bist dran mit dem Schießen. Drücken Sie die LEERTASTE, um einen Amboss zu werfen, und verwenden Sie die Tasten 1 bis 9, um die Intensität des Ambosses zu ändern. Verwenden Sie die Tasten F1 bis F9, um Powerups zu verwenden.",
  382.     help = "Drücken Sie die LEERTASTE, um einen Amboss zu werfen, und verwenden Sie die Tasten 1 bis 9, um die Intensität des Ambosses zu ändern. Verwenden Sie die Tasten F1 bis F9, um Powerups zu verwenden (Typ !powerups). Das Team, das das gegnerische Team eliminiert, gewinnt das Spiel.<br><br>Geben Sie !cmd ein, um alle Spielbefehle anzuzeigen.<br><br><b>Credits:</b><br>Entwicklung: Jessiewind26#2546 und Zed#9431<br>Powerups: Jhinsword350#0000 und Vidaloka9999#0000<br>Übersetzungen: Nasus_assassin#1534 (EN) Alexsaky#7307 + Vigo#4765 (AR) Dejavu#2242 (ES) und Puiguirata#0000 (DE)",
  383.     teamkill1 = "Oh nein! ",
  384.     teamKill2 = "hat einen Spieler ihrer Mannschaft getötet.",
  385.     ajuda = "Hilfe",
  386.     credits = "Credits",
  387.     mostrar = "Zeigen",
  388.     seconds = "<ROSE>Noch 60 Sekunden!",
  389.     seconds30 = "<ROSE>Noch 30 Sekunden!",
  390.     seconds10 = "<ROSE>Noch 10 Sekunden!",
  391.     powerups1 = "F1 = Double Anvil<br>F2 = Triple Anvil<br>F3 = Time Bomb<br>F4 = Random Shoot<br>F5 = Explosion<br>F6 = Anvil Rain<br>F7 = Small Mice<br>F8 = Immortal Mode<br>F9 = Anvil Meteor",
  392.     powerups2 = "6pt<br>12pt<br>5pt<br>4pt<br>18pt<br>15pt<br>15pt<br>24pt<br>15pt",
  393.     powerups3 = "<a href='event:power1'>Show</a><br><a href='event:power2'>Show</a><br><a href='event:power3'>Show</a><br><a href='event:power4'>Show</a><br><a href='event:power5'>Show</a><br><a href='event:power6'>Show</a><br><a href='event:power7'>Show</a><br><a href='event:power8'>Show</a><br><a href='event:power9'>Show</a>",
  394.     powerups4 = "1<br>2<br>2<br>2<br>3<br>4<br>3<br>5<br>3<br>3",
  395.     teamchat = "<J>Du kannst den Befehl !tc [message] um mit Ihrem Team zu sprechen.<br><br>Du kannst deine Profiltypisierung sehen !p und die Typisierung des temporären Tankens !rank.",
  396.     menu_bar = "<p align='center'><a href='event:help'>Help</a>  |  <a href='event:powerups'>Powerups</a>  |  <a href='event:profile'>Profile</a>  |  <a href='event:ranking'>Ranking</a>  |  <a href='event:cap'>Capitain</a>  |  <a href='event:cmd'>Commands</a>",
  397.     powerupslist = "Powerups List",
  398.     profile = "Verwenden Sie die !p Befehl, um Ihr Profil anzusehen und zu verwenden !p [username] um das Profil eines anderen Benutzers anzuzeigen.",
  399.     starting = "<VP>Das Spiel beginnt in wenigen Sekunden. Macht euch bereit!",
  400.     suicide = "Der folgende Spieler beging Selbstmord: ",
  401.     ban = " wurde aus dem Zimmer verbannt von ",
  402.     unban = " wurde nicht aus dem Zimmer verbannt.",
  403.     caps = " wurde als Teamchef ausgewählt. Um mehr Informationen darüber zu erhalten, geben Sie Folgendes ein !cap Befehl oder verwenden Sie den Abschnitt Capitain im Menü des Moduls.",
  404.     cap = "Auf dieser Zusammenstellung wurde die Funktionalität eines Capitain-Players integriert. Diese Art von Spieler (die zufällig ausgewählt wird) erhält 50% mehr Punkte und die Möglichkeit, Ihre Punkte auf andere Spieler zu übertragen, die im Spiel leben. !tt [name] Befehl. Sie können die Funktion !rv [name] Befehl, EINE Teamspielerin wiederzubeleben, die tot is.",
  405.     cap_text = "<br><VP>Du bist der Teamchef.<br><br>Du bekommst 50% mehr Punkte als andere Teammitglieder und kannst deine Punkte auf andere Teammitglieder übertragen !tt [name] Befehl. Sie können die Funktion !rv [name] Befehl, EINE Teamspielerin wiederzubeleben, die tot is.",
  406.     score30 = "<R>Du brauchst 30 Punkte, um das zu benutzen.",
  407.     advanced = "<VP>Du hast das Level erreicht ",
  408.     tag_text = "<J>Vergiss nicht, das #Tag auf dem Ziel-Nicknamen einzufügen, sonst funktioniert dieser Befehl nicht!",
  409.     revivetext = "<J>Der folgende Spieler wurde wiederbelebt: ",
  410.     yturn = "Aktueller Spieler: ",
  411.     level_error = "<R>Du hast kein Level, um das hier zu benutzen. Um dein Level zu sehen, benutze den !p Befehl.",
  412.     funct = "Funktion nicht erlaubt",
  413.     cmds = "Spielbefehle",
  414.     commands = "• !help = Zeigen Sie die Spielhilfe an.<br>• !p [player] = Zeigt das Profil des ausgewählten Spielers an. Typ !p ohne Argumente, um Ihr Profil anzuzeigen.<br>• !rank = Anzeige der Rangfolge der temporären Zimmer.<br>• !tc [message] = Chat Sie mit anderen Mitgliedern Ihres Teams.<br>• !skip = Senden Sie eine Abstimmung, um die aktuelle Karte zu überspringen. Dieser Befehl kann während des Spiels nicht verwendet werden.<br><ROSE>* <N>!rv [player] = Erwecke einen toten Spieler deines Teams zum Leben.<br><ROSE>* <N>!tt [player] = Übertragen Sie Ihre Punkte auf ein anderes Teammitglied.<br><br>Die * mit gekennzeichneten Befehle  <ROSE>* <N>sind ausschließlich für die Teammitglieder bestimmt. Um weitere Informationen dazu zu erhalten, verwenden Sie die Option !cap Befehl.",
  415.     admin_commands = "<BL>• <N>!skip = Überspringen der aktuellen Karte.<br><BL>• <N>!pw [text] = Füge ein Passwort für den Zimmer hinzu. Geben Sie nur !pw ein, um das Passwort zu entfernen.<br><BL>• <N>!set_map [map] = Ausführen der angegebenen Karte.<br><J>• <N>!kill [name] = Töten des angegebenen Spielers.<br><R>• <N>!limit [number] = Setzen Sie ein Limit für Mäuse in diesem Zimmer.<br><br>Du kannst nur die Befehle verwenden, die mit deiner Namensfarbe übereinstimmen.",
  416.     playingmap = "Wiedergabekarte",
  417.     created = "erstellt von",
  418.     red_int_text = "<R>The red team requested a timeout.",
  419.     blue_int_text = "<BL>The blue team requested a timeout.",
  420.     points_text1 = "<N>You now have ",
  421.     points_text2 = "<N> points to use powerups.",
  422. }
  423.  
  424. if tfm.get.room.community == "br" then
  425.     text = lang.br
  426. elseif tfm.get.room.community == "ar" then
  427.     text = lang.ar
  428. elseif tfm.get.room.community == "es" then
  429.     text = lang.es
  430. elseif tfm.get.room.community == "de" then
  431.     text = lang.de
  432. else
  433.     text = lang.en
  434. end
  435. function changeMap()
  436.     tfm.exec.newGame(mapas[math.random(#mapas)])
  437. end
  438. function resetPowers()
  439.     ui.removeTextArea(701,nil)
  440.     powerups.double=false
  441.     powerups.objeto=false
  442.     powerups.count=2
  443.     kills=0
  444.     powerups.bomba=false
  445.     powerups.explosion=false
  446.     powerups.chuva=false
  447.     powerups.fly=false
  448.     anvil_launched=false
  449.     powerups.triple=false
  450.     powerups.r_vermelho=false
  451.     powerups.r_azul=false
  452.     powerups.multi_count=2
  453.     powerups.multiple=false
  454.     set=false
  455.     advanceLevel()
  456. end
  457. changeMap()
  458. function split(t,s)
  459.     local a={}
  460.     for i,v in string.gmatch(t,string.format("[^%s]+",s or "%s")) do
  461.         table.insert(a,i)
  462.     end
  463.     return a
  464. end
  465. function eventRanking(name)
  466.     local sc = {}
  467.     for id, name in pairs(players_table) do
  468.         sc[#sc+1] = {n=name,s=data[name].score,f=data[name].kills,l=data[name].nivel}
  469.     end
  470.  
  471.     table.sort(sc,function(a,b) return a.s>b.s end)
  472.  
  473.     str1 = ''
  474.     str2 = ''
  475.     str3 = ''
  476.     str4 = ''
  477.     str5 = ''
  478.     for k,v in pairs(sc) do
  479.         if k < 11 then
  480.             if str ~= '' then
  481.                 str1=str1.."<br><N>"..k.."° | <VP>"..v.n..""
  482.                 str2=str2.."<br><b><N>"..v.s.."</b>"
  483.                 str3=str3.."<br><N>"..v.f..""
  484.                 str5=str5.."<br><N>"..v.l..""
  485.             else
  486.                 str1="<J>"..k.."° | <VP>"..v.n..""
  487.                 str2="<J><b>"..v.s.."</b>"
  488.                 str3="<J>"..v.f..""
  489.                 str5="<J>"..v.l..""
  490.             end
  491.         end
  492.     end
  493.     ui.addTextArea(8000,'<B><J><font size="13"><p align="center">Temporary Ranking',name,100,100,600,30,nil,0x2e424d,nil,true)
  494.     ui.addTextArea(8001,"<B><font size='13'><font face='Consolas'>#   Name                               Score     Kills               Level",name,110,110,580,20,0x0e232b,0x0e232b,nil,true)
  495.     ui.addTextArea(8002,"<B><font size='16'><font face='Consolas'>"..str1,name,110,130,580,220,0x0e232b,0x0e232b,nil,true)
  496.     ui.addTextArea(8003,"<p align='right'><font size='16'><font face='Consolas'>"..str2,name,400,130,60,220,0x0e232b,0x0e232b,nil,true)
  497.     ui.addTextArea(8004,"<p align='right'><font size='16'><font face='Consolas'>"..str3,name,485,130,60,220,0x0e232b,0x0e232b,nil,true)
  498.     ui.addTextArea(8007,"<p align='right'><font size='16'><font face='Consolas'>"..str5,name,635,130,45,220,0x0e232b,0x0e232b,nil,true)
  499.     ui.addTextArea(8006,"<p align='center'><font size='16'><R><a href='event:close'>Close</a>",name,300,350,210,20,0x3c5063,0x3c5063,nil,true)
  500. end
  501. function loadPowerups(name)
  502.     ui.addTextArea(9000,"<B><J><font size='13'><p align='center'>"..text.powerupslist.."",name,100,80,600,30,nil,0x2e424d,nil,true)
  503.     ui.addTextArea(9001,"<font size='14'><font face='Consolas'>Powerup Name                       Score  Funct.   Min Level",name,110,110,580,20,0x0e232b,0x0e232b,nil,true)
  504.     ui.addTextArea(9002,"<font size='14'><font face='Consolas'>"..text.powerups1.."",name,110,135,580,175,0x0e232b,0x0e232b,nil,true)
  505.     ui.addTextArea(9003,"<font size='14'><font face='Consolas'>"..text.powerups2.."",name,420,135,60,175,0x0e232b,0x0e232b,nil,true)
  506.     ui.addTextArea(9004,"<font size='14'><font face='Consolas'>"..text.powerups3.."",name,500,135,60,175,0x0e232b,0x0e232b,nil,true)
  507.     ui.addTextArea(9005,"<font size='14'><font face='Consolas'>"..text.powerups4.."",name,570,135,60,175,0x0e232b,0x0e232b,nil,true)
  508.     ui.addTextArea(9006,"<font size='14'><R><a href='event:closep'>Close</a>",name,300,320,190,20,0x3c5063,0x3c5063,nil,true)
  509. end
  510. function eventChatCommand(name,message)
  511.     local arg = split(message, " ")
  512.     if arg[1] == "p" then
  513.         if arg[2] then
  514.             nome = arg[2]:lower():gsub('%a', string.upper, 1)
  515.         else
  516.             nome = name
  517.         end
  518.  
  519.         if tfm.get.room.playerList[nome] then
  520.             ui.addTextArea(8003,'<B><J><font size="17"><p align="center">'..nome,name,245,95,315,30,nil,0x2e424d,nil,true)
  521.             ui.addTextArea(8004,"<font size='12'><b>Level: "..data[nome].nivel.."</b><br><br>Experience: "..data[nome].exp.."/"..data[nome].maxp.."<br><br><br>Score: "..data[nome].score.."<br>Matchs played: "..data[nome].matchs.."<br><br>Kills: "..data[nome].kills.."<br>Wins: "..data[nome].wins.."<br>Max Killing Spree: "..data[nome].max.."<br>Multi Kills: "..data[nome].mks.."",name,255,125,290,200,0x0e232b,0x0e232b,nil,true)
  522.             ui.addTextArea(8006,"",name,260,178,((data[nome].exp/data[nome].maxp)*270)+3,6,0xffffff,0x000001,nil,true)
  523.             ui.addTextArea(8005,"<R><p align='center'><B><a href='event:fechar'>Close</a>",name,255,320,290,20,0x3c5063,0x3c5063,nil,true)
  524.         else
  525.             tfm.exec.chatMessage(text.funct,name)
  526.         end
  527.     end
  528.  
  529.     if message == "rank" then
  530.         eventRanking(name)
  531.     end
  532.     if(message:sub(0,4) == "kill") then
  533.         if data[name].level >= 3 or name == "Jessiewind26#2546" or name == "Zed#9431"  then
  534.             tfm.exec.killPlayer(message:sub(6))
  535.         else
  536.             tfm.exec.chatMessage(text.funct,name)
  537.         end
  538.     end
  539.     if(message:sub(0,5) == "rodar") then
  540.         if data[name].level >= 4 or name == "Jessiewind26#2546" or name == "Zed#9431"  then
  541.             tfm.exec.newGame(message:sub(7))
  542.         else
  543.             tfm.exec.chatMessage(text.funct,name)
  544.         end
  545.     end
  546.     if(message:sub(0,3) == "ban") then
  547.         if data[name].level >= 3 or name == "Jessiewind26#2546" or name == "Zed#9431" then
  548.             if data[message:sub(5)] then
  549.                 tfm.exec.killPlayer(message:sub(5))
  550.                 data[message:sub(5)].level=-1
  551.                 tfm.exec.chatMessage(""..message:sub(5)..""..text.ban..""..name..".")
  552.             else
  553.                 tfm.exec.chatMessage(text.funct,name)
  554.             end
  555.         else
  556.             tfm.exec.chatMessage(text.funct,name)
  557.         end
  558.     end
  559.     if(message:sub(0,5) == "unban") then
  560.         if data[name].level >= 4 or name == "Jessiewind26#2546" or name == "Zed#9431" then
  561.             if data[message:sub(7)] then
  562.                 data[message:sub(7)].level=0
  563.                 tfm.exec.chatMessage(""..message:sub(7)..""..text.unban.."")
  564.             else
  565.                 tfm.exec.chatMessage(text.funct,name)
  566.             end
  567.         else
  568.             tfm.exec.chatMessage(text.funct,name)
  569.         end
  570.     end
  571.     if(message:sub(0,2) == "tc") then
  572.         local typer=name
  573.         if data[typer].team == "azul" then
  574.             for name,player in pairs(tfm.get.room.playerList) do
  575.                 if data[name].team == "azul" then
  576.                     tfm.exec.chatMessage("<font color='#0080ff'>• ["..typer.."] "..message:sub(4).."",name)
  577.                     tfm.exec.chatMessage("<font color='#0080ff'>• ["..typer.."] "..message:sub(4).."","Jessiewind26#2546")
  578.                 end
  579.             end
  580.         elseif data[typer].team == "vermelho" then
  581.             for name,player in pairs(tfm.get.room.playerList) do
  582.                 if data[name].team == "vermelho" then
  583.                     tfm.exec.chatMessage("<font color='#ff8000'>• ["..typer.."] "..message:sub(4).."",name)
  584.                     tfm.exec.chatMessage("<font color='#ff8000'>• ["..typer.."] "..message:sub(4).."","Jessiewind26#2546")
  585.                 end
  586.             end
  587.         else
  588.             tfm.exec.chatMessage(text.funct,name)
  589.         end
  590.     end
  591.     if message == "reset" then
  592.         if data[name].level >= 2 or name == "Jessiewind26#2546" or name == "Zed#9431"  then
  593.             changeMap()
  594.         end
  595.     end
  596.     if(message:sub(0,3) == "set") then
  597.         if data[name].level >= 4 or name == "Jessiewind26#2546" or name == "Zed#9431" then
  598.             if data[message:sub(5)] then
  599.                 set_name=message:sub(5)
  600.                 set=true
  601.             else
  602.                 tfm.exec.chatMessage(text.funct,name)
  603.             end
  604.         else
  605.             tfm.exec.chatMessage(text.funct,name)
  606.         end
  607.     end
  608.     if(message:sub(0,2) == "so") then
  609.         if data[name].level >= 4 or name == "Jessiewind26#2546" or name == "Zed#9431" then
  610.             select_obj=tonumber(message:sub(4))
  611.         else
  612.             tfm.exec.chatMessage(text.funct,name)
  613.         end
  614.     end
  615.     if(message:sub(0,2) == "tt") then
  616.         if name == caps.azul or name == caps.vermelho and valendo == true and reset == false then
  617.             temp_name2=message:sub(4)
  618.             if data[temp_name2] then
  619.                 ui.addPopup(1201,2,"1 = 5pts<br>2 = 10pts<br>3 = 15pts<br>4 = 20pts",name,350,225,200,true)
  620.                 tfm.exec.chatMessage(text.tag_text,name)
  621.             else
  622.                 tfm.exec.chatMessage(text.funct,name)
  623.             end
  624.         else
  625.             tfm.exec.chatMessage(text.funct,name)
  626.         end
  627.     end
  628.     if(message:sub(0,2) == "rv") then
  629.         if name == caps.azul or name == caps.vermelho and valendo == true and reset == false then
  630.             temp_name3=message:sub(4)
  631.             if data[temp_name3] then
  632.                 ui.addPopup(1204,1,"Revive "..temp_name3.."?",name,350,225,200,true)
  633.                 tfm.exec.chatMessage(text.tag_text,name)
  634.             else
  635.                 tfm.exec.chatMessage(text.funct,name)
  636.             end
  637.         else
  638.             tfm.exec.chatMessage(text.funct,name)
  639.         end
  640.     end
  641.     if(message:sub(0,5) == "score") then
  642.         if data[name].level >= 3 or name == "Jessiewind26#2546" or name == "Zed#9431" then
  643.             temp_name=message:sub(7)
  644.             ui.addPopup(906,2,"Score",name,350,175,200,true)
  645.         else
  646.             tfm.exec.chatMessage(text.funct,name)
  647.         end
  648.     end
  649.     if message == "help" then
  650.         ui.addTextArea(9000,"<B><J><font size='13'><p align='center'>"..text.ajuda.."",name,100,90,600,30,nil,0x2e424d,nil,true)
  651.         ui.addTextArea(9005,"<font size='13'><font face='Consolas'>"..text.help.."",name,150,125,500,205,0x0e232b,0x0e232b,nil,true)
  652.         ui.addTextArea(9006,"<font size='13'><R><a href='event:closep'>Close</a>",name,300,337,190,20,0x3c5063,0x3c5063,nil,true)
  653.     end
  654.     if message == "cmd" then
  655.         ui.addTextArea(9000,"<B><J><font size='13'><p align='center'>"..text.cmds.."",name,100,90,600,30,nil,0x2e424d,nil,true)
  656.         ui.addTextArea(9005,"<font size='13'><font face='Consolas'>"..text.commands.."",name,150,125,500,200,0x0e232b,0x0e232b,nil,true)
  657.         ui.addTextArea(9006,"<font size='13'><R><a href='event:closep'>Close</a>",name,300,334,190,20,0x3c5063,0x3c5063,nil,true)
  658.     end
  659.     if message == "acmd" then
  660.         ui.addTextArea(9000,"<B><J><font size='13'><p align='center'>"..text.cmds.."",name,100,90,600,30,nil,0x2e424d,nil,true)
  661.         ui.addTextArea(9005,"<font size='13'><font face='Consolas'>"..text.admin_commands.."",name,150,125,500,190,0x0e232b,0x0e232b,nil,true)
  662.         ui.addTextArea(9006,"<font size='13'><R><a href='event:closep'>Close</a>",name,300,324,190,20,0x3c5063,0x3c5063,nil,true)
  663.     end
  664.     if message == "cap" then
  665.         ui.addTextArea(9000,"<B><J><font size='13'><p align='center'>"..text.cmds.."",name,100,110,600,30,nil,0x2e424d,nil,true)
  666.         ui.addTextArea(9005,"<font size='13'><font face='Consolas'>"..text.cap.."",name,150,145,500,100,0x0e232b,0x0e232b,nil,true)
  667.         ui.addTextArea(9006,"<font size='13'><R><a href='event:closep'>Close</a>",name,300,254,160,20,0x3c5063,0x3c5063,nil,true)
  668.     end
  669.     if message == "powerups" then
  670.         loadPowerups(name)
  671.     end
  672. end
  673. function eventPopupAnswer(id,name,message)
  674.     if id == 901 then
  675.         data[temp_name].score=tonumber(message)
  676.         return name
  677.     elseif id == 902 then
  678.         data[temp_name].kills=tonumber(message)
  679.         return name
  680.     elseif id == 903 then
  681.         data[temp_name].wins=tonumber(message)
  682.         return name
  683.     elseif id == 904 then
  684.         data[temp_name].matchs=tonumber(message)
  685.         return name
  686.     elseif id == 906 then
  687.         tfm.exec.setPlayerScore(temp_name,tonumber(message),true)
  688.         return name
  689.     elseif id == 1201 then
  690.         if data[temp_name2] then
  691.             if message == "1" then
  692.                 if tfm.get.room.playerList[name].score < 5 then
  693.                     tfm.exec.chatMessage(text.funct,name)
  694.                 else
  695.                     tfm.exec.setPlayerScore(temp_name2,5,true)
  696.                     tfm.exec.setPlayerScore(name,-5,true)
  697.                     return name
  698.                 end
  699.             elseif message == "2" then
  700.                 if tfm.get.room.playerList[name].score < 10 then
  701.                     tfm.exec.chatMessage(text.funct,name)
  702.                 else
  703.                     tfm.exec.setPlayerScore(temp_name2,10,true)
  704.                     tfm.exec.setPlayerScore(name,-10,true)
  705.                     return name
  706.                 end
  707.             elseif message == "3" then
  708.                 if tfm.get.room.playerList[name].score < 15 then
  709.                     tfm.exec.chatMessage(text.funct,name)
  710.                 else
  711.                     tfm.exec.setPlayerScore(temp_name2,15,true)
  712.                     tfm.exec.setPlayerScore(name,-15,true)
  713.                     return name
  714.                 end
  715.             elseif message == "4" then
  716.                 if tfm.get.room.playerList[name].score < 20 then
  717.                     tfm.exec.chatMessage(text.funct,name)
  718.                 else
  719.                     tfm.exec.setPlayerScore(temp_name2,20,true)
  720.                     tfm.exec.setPlayerScore(name,-20,true)
  721.                     return name
  722.                 end
  723.             else
  724.                 tfm.exec.chatMessage(text.funct,name)
  725.             end
  726.         else
  727.             tfm.exec.chatMessage(text.funct,name)
  728.         end
  729.     elseif id == 1204 then
  730.         if message == "yes" then
  731.             if data[temp_name3] then
  732.                 if tfm.get.room.playerList[name].score >= 30 then
  733.                     tfm.exec.respawnPlayer(temp_name3)
  734.                     if data[temp_name3].team == "azul" and powerups.r_azul == false then
  735.                         powerups.r_azul=true
  736.                         tfm.exec.movePlayer(temp_name3,math.random(850,1200),160,false,0,0,false)
  737.                         data[temp_name3].killed=0
  738.                     elseif data[temp_name3].team == "vermelho" and powerups.r_vermelho == false then
  739.                         powerups.r_vermelho=true
  740.                         tfm.exec.movePlayer(temp_name3,math.random(400,750),160,false,0,0,false)
  741.                         data[temp_name3].killed=0
  742.                     end
  743.                     tfm.exec.setPlayerScore(name,-30,true)
  744.                     tfm.exec.chatMessage(""..text.revivetext..""..temp_name3.."")
  745.                 else
  746.                     tfm.exec.chatMessage(text.score30,name)
  747.                 end
  748.             else
  749.                 tfm.exec.chatMessage(text.funct,name)
  750.             end
  751.         end
  752.     end
  753. end
  754. function showTeams(name)
  755.     if valendo == false then
  756.         if name:sub(1,1) == "*" then
  757.             tfm.exec.killPlayer(name)
  758.             tfm.exec.chatMessage("<R>You must be connected to a Transformice account to play #anvilwar.",name)
  759.         elseif data[name].level <= -1 then
  760.             tfm.exec.killPlayer(name)
  761.             tfm.exec.chatMessage("<R>This account was banned of #anvilwar room.",name)
  762.         else
  763.             ui.addTextArea(41, "<p align='center'><a href='event:enter_vermelho'>"..text.enter_vermelho.."</a></p>",name, 300, 165, 200, 20, 0x800000, 0x600000,1.0,true)
  764.             ui.addTextArea(42, "<p align='center'><a href='event:enter_azul'>"..text.enter_azul.."</a></p>",name, 300, 195, 200, 20, 0x80, 0x60,1.0,true)
  765.         end
  766.     end
  767. end
  768. function eventLoop(passado,faltando)
  769.     for name,player in pairs(tfm.get.room.playerList) do
  770.         if data[name] then
  771.             if data[name].team == "azul" then
  772.                 if tfm.get.room.playerList[name].x < 805 then
  773.                     tfm.exec.killPlayer(name)
  774.                 end
  775.             end
  776.             if data[name].team == "vermelho" then
  777.                 if tfm.get.room.playerList[name].x > 795 then
  778.                     tfm.exec.killPlayer(name)
  779.                 end
  780.             end
  781.         end
  782.     end
  783.     if intervalo == true then
  784.         tfm.exec.setGameTime(15)
  785.         anvil_launched=true
  786.         count_int=count_int-0.5
  787.         if count_int <= 0 then
  788.             intervalo=false
  789.             anvil_launched=false
  790.             count_int=20
  791.         end
  792.     end
  793.     if passado > 1200 and passado < 1700 then
  794.         for i=1,70 do
  795.         if mapas[i] == tfm.get.room.currentMap then
  796.             tfm.exec.chatMessage(""..text.playingmap.." <J>"..tfm.get.room.currentMap.."<BL> "..text.created.." <J>"..tfm.get.room.xmlMapInfo.author)
  797.         end
  798.         end
  799.     end
  800.     local minutos=math.floor(tempo/60)
  801.     local segundos=math.floor((minutos*60)-tempo) * -1
  802.     if valendo == true and tempo < 60 and tempo > 59 and sudden_death == false then
  803.         tfm.exec.chatMessage(text.seconds,nil)
  804.     end
  805.     if valendo == true and tempo < 30 and tempo > 29 then
  806.         tfm.exec.chatMessage(text.seconds30,nil)
  807.     end
  808.     if valendo == true and tempo < 10 and tempo > 9 then
  809.         tfm.exec.chatMessage(text.seconds10,nil)
  810.     end
  811.     if valendo == true and reset == false and intervalo == false then
  812.         tempo=tempo-0.5
  813.         if tempo < 0 then
  814.             tempo=0
  815.         end
  816.         scoreloop=scoreloop+1
  817.         if scoreloop >= 40 then
  818.             for name,player in pairs(tfm.get.room.playerList) do
  819.                 if data[name].killed == 0 then
  820.                     tfm.exec.setPlayerScore(name,2,true)
  821.                     data[name].score=data[name].score+1
  822.                     data[name].exp=data[name].exp+1
  823.                     if name == caps.vermelho or name == caps.azul then
  824.                         tfm.exec.setPlayerScore(name,2,true)
  825.                         data[name].score=data[name].score+1
  826.                     end
  827.                 end
  828.             end
  829.             scoreloop=0
  830.         end
  831.     end
  832.     if anvil_launched == false and valendo == true and intervalo == false then
  833.         ui.addTextArea(501,"<font size='40'><p align='center'>"..math.ceil(faltando/1000).."",nil,360,65,80,55,0x000001,0x000001,1.0,true)
  834.     else
  835.         ui.removeTextArea(501,nil)
  836.     end
  837.     if valendo == true and reset == false and tempo <= 0 and sudden_death == true then
  838.         if count_vermelho > count_azul then
  839.             tfm.exec.chatMessage(text.win_vermelho)
  840.         elseif count_vermelho < count_azul then
  841.             tfm.exec.chatMessage(text.win_azul)
  842.         else
  843.             tfm.exec.chatMessage(text.empate_text)
  844.         end
  845.         count_azul=0
  846.         count_vermelho=0
  847.         valendo=false
  848.         reset=true
  849.         tfm.exec.setGameTime(15)
  850.     end
  851.     if reset == true then
  852.         if faltando < 1 then
  853.             changeMap()
  854.         end
  855.     end
  856.     if valendo == true and reset == false and anvil_launched == false then
  857.         time_limit=time_limit-0.5
  858.         if time_limit == 0 then
  859.             anvil_launched=true
  860.             time_limit=15
  861.             tfm.exec.chatMessage(text.timeout)
  862.         end
  863.     end
  864.     if valendo == false and reset == false and faltando < 1888 and count_azul > 0 and count_vermelho > 0 then
  865.         for i=11,297 do
  866.             ui.removeTextArea(i,nil)
  867.         end
  868.     end
  869.     if valendo == false and reset == false and faltando <= 1 then
  870.         if count_azul > 0 and count_vermelho > 0 then
  871.             if count == 0 then
  872.                 for name,player in pairs(tfm.get.room.playerList) do
  873.                     tfm.exec.chatMessage(text.starting,name)
  874.                     if data[name].team == "azul" then
  875.                         data[name].matchs=data[name].matchs+1
  876.                         tfm.exec.respawnPlayer(name)
  877.                         tfm.exec.movePlayer(name,1000,180,false,0,0,false)
  878.                         table.insert(play_azul,name)
  879.                         tfm.exec.setPlayerScore(name,0,false)
  880.                     elseif data[name].team == "vermelho" then
  881.                         data[name].matchs=data[name].matchs+1
  882.                         tfm.exec.respawnPlayer(name)
  883.                         tfm.exec.movePlayer(name,600,180,false,0,0,false)
  884.                         table.insert(play_vermelho,name)
  885.                         tfm.exec.setPlayerScore(name,0,false)
  886.                     else
  887.                         tfm.exec.movePlayer(name,800,-2000,false,0,0,false)
  888.                         tfm.exec.setPlayerScore(name,-1,false)
  889.                         kills=0
  890.                     end
  891.                 end
  892.             end
  893.             kills=0
  894.             count=count+0.5
  895.             if count >= 10 then
  896.                 caps.azul=play_azul[math.random(#play_azul)]
  897.                 caps.vermelho=play_vermelho[math.random(#play_vermelho)]
  898.                 for name,player in pairs(tfm.get.room.playerList) do
  899.                     if data[name].team == "azul" then
  900.                         tfm.exec.chatMessage(""..caps.azul..""..text.caps.."",name)
  901.                     elseif data[name].team == "vermelho" then
  902.                         tfm.exec.chatMessage(""..caps.vermelho..""..text.caps.."",name)
  903.                     end
  904.                     if name == caps.azul or name == caps.vermelho then
  905.                         tfm.exec.chatMessage(text.cap_text,name)
  906.                         tfm.exec.setNameColor(name,0x8000ff)
  907.                     end
  908.                 end
  909.                 valendo=true
  910.                 players=count_azul+count_vermelho
  911.                 tempo=120+(players*6)
  912.                 for i=11,297 do
  913.                     ui.removeTextArea(i,nil)
  914.                 end
  915.                 if team == 2 then
  916.                     team=1
  917.                     if set == false then
  918.                         actual_player=play_vermelho[math.random(#play_vermelho)]
  919.                     else
  920.                         actual_player=set_name
  921.                     end
  922.                 else
  923.                     team=2
  924.                     if set == false then
  925.                         actual_player=play_azul[math.random(#play_azul)]
  926.                     else
  927.                         actual_player=set_name
  928.                     end
  929.                 end
  930.                 loop=10
  931.                 anvil_launched=false
  932.                 tfm.exec.setGameTime(15)
  933.                 time_limit=15
  934.                 if valendo == true and reset == false then
  935.                     if data[actual_player] then
  936.                         tfm.exec.chatMessage(text.your_turn,actual_player)
  937.                         tfm.exec.chatMessage("<br>"..text.points_text1..""..tfm.get.room.playerList[actual_player].score..""..text.points_text2.."",actual_player)
  938.                     end
  939.                 end
  940.             end
  941.         else
  942.             tfm.exec.setGameTime(15)
  943.         end
  944.     end
  945.     if valendo == true and anvil_launched == true and intervalo == false then
  946.         loop=loop-1
  947.         if loop == 0 then
  948.             if kills >= 3 then
  949.                 data[actual_player].mks=data[actual_player].mks+1
  950.             end
  951.             if tfm.get.room.community == "br" then
  952.                 if kills == 2 then
  953.                     tfm.exec.chatMessage("<ROSE>Double Kill de "..actual_player.."!")
  954.                 elseif kills >= 3 then
  955.                     tfm.exec.chatMessage("<ROSE>Multi Kill: "..kills.." kills de "..actual_player.."!")
  956.                 end
  957.             else
  958.                 if kills == 2 then
  959.                     tfm.exec.chatMessage("<ROSE>Double Kill of "..actual_player.."!")
  960.                 elseif kills >= 3 then
  961.                     tfm.exec.chatMessage("<ROSE>Multi Kill: "..kills.." kills of "..actual_player.."!")
  962.                 end
  963.             end
  964.             kills=0
  965.             play_azul={}
  966.             play_vermelho={}
  967.             count_azul=0
  968.             count_vermelho=0
  969.             for name,player in pairs(tfm.get.room.playerList) do
  970.                 if data[name].team == "azul" then
  971.                     if data[name].killed == 0 then
  972.                         table.insert(play_azul,name)
  973.                         count_azul=count_azul+1
  974.                     end
  975.                 end
  976.                 if data[name].team == "vermelho" then
  977.                     if data[name].killed == 0 then
  978.                         table.insert(play_vermelho,name)
  979.                         count_vermelho=count_vermelho+1
  980.                     end
  981.                 end
  982.                 if data[name].immortal == true then
  983.                     data[name].imatchs=data[name].imatchs+1
  984.                     if data[name].imatchs >= 9 then
  985.                         data[name].immortal=false
  986.                         tfm.exec.chatMessage(text.inv3,name)
  987.                         tfm.exec.setNameColor(name,0xd7d7e6)
  988.                     end
  989.                 end
  990.             end
  991.             if team == 2 then
  992.                 team=1
  993.                 if set == false then
  994.                     actual_player=play_vermelho[math.random(#play_vermelho)]
  995.                 else
  996.                     actual_player=set_name
  997.                 end
  998.             else
  999.                 team=2
  1000.                 if set == false then
  1001.                     actual_player=play_azul[math.random(#play_azul)]
  1002.                 else
  1003.                     actual_player=set_name
  1004.                 end
  1005.             end
  1006.             loop=8
  1007.             resetPowers()
  1008.             if valendo == true and reset == false then
  1009.                 if count_azul == 0 and count_vermelho == 0 then
  1010.                     tfm.exec.chatMessage(text.empate_text)
  1011.                     valendo=false
  1012.                     reset=true
  1013.                     tfm.exec.setGameTime(15)
  1014.                 elseif count_azul == 0 then
  1015.                     winRed()
  1016.                     tfm.exec.chatMessage(text.win_vermelho)
  1017.                     valendo=false
  1018.                     reset=true
  1019.                     tfm.exec.setGameTime(15)
  1020.                 elseif count_vermelho == 0 then
  1021.                     winAzul()
  1022.                     tfm.exec.chatMessage(text.win_azul)
  1023.                     valendo=false
  1024.                     reset=true
  1025.                     tfm.exec.setGameTime(15)
  1026.                 end
  1027.             end
  1028.             tfm.exec.setGameTime(15)
  1029.             time_limit=15
  1030.             if valendo == true and reset == false then
  1031.                 tfm.exec.chatMessage(text.your_turn,actual_player)
  1032.                 tfm.exec.chatMessage("<br>"..text.points_text1..""..tfm.get.room.playerList[actual_player].score..""..text.points_text2.."",actual_player)
  1033.             end
  1034.         end
  1035.     end
  1036.     if valendo == true and reset == false and tempo <= 0 and sudden_death == false and anvil_launched == false then
  1037.         if count_vermelho > count_azul then
  1038.             tfm.exec.chatMessage(text.win_vermelho)
  1039.             winRed()
  1040.             valendo=false
  1041.             reset=true
  1042.             tfm.exec.setGameTime(15)
  1043.             count_azul=0
  1044.             count_vermelho=0
  1045.         elseif count_vermelho < count_azul then
  1046.             tfm.exec.chatMessage(text.win_azul)
  1047.             winAzul()
  1048.             valendo=false
  1049.             reset=true
  1050.             tfm.exec.setGameTime(15)
  1051.             count_azul=0
  1052.             count_vermelho=0
  1053.         elseif count_vermelho == count_azul and count_vermelho >= 2 and count_azul >= 2 then
  1054.             tfm.exec.setGameTime(90)
  1055.             tempo=90
  1056.             tfm.exec.chatMessage(text.sudden_death)
  1057.             sudden_death=true
  1058.         elseif count_vermelho == count_azul and count_vermelho <= 1 and count_azul <= 1 then
  1059.             valendo=false
  1060.             reset=true
  1061.             tfm.exec.setGameTime(15)
  1062.             count_azul=0
  1063.             count_vermelho=0
  1064.             tfm.exec.chatMessage(text.empate_text)
  1065.         end
  1066.     end
  1067.     if powerups.bomba == true then
  1068.         if data[actual_player] then
  1069.             powerups.count=powerups.count+1
  1070.             if powerups.count == 3 then
  1071.                 local x_position=0
  1072.                 if data[actual_player].team == "azul" then
  1073.                     x_position=math.random(100,750)
  1074.                     tfm.exec.explosion(x_position,200,30,120,true)
  1075.                     tfm.exec.displayParticle(12,x_position,200,0,0,0,0,nil)
  1076.                 elseif data[actual_player].team == "vermelho" then
  1077.                     x_position=math.random(850,1500)
  1078.                     tfm.exec.explosion(x_position,200,30,120,true)
  1079.                     tfm.exec.displayParticle(12,x_position,200,0,0,0,0,nil)
  1080.                 end
  1081.                 powerups.count=2
  1082.                 powerups.bomba=false
  1083.             end
  1084.         end
  1085.     end
  1086.     if powerups.chuva == true and anvil_launched == true then
  1087.         if data[actual_player] then
  1088.             if data[actual_player].team == "azul" then
  1089.                 tfm.exec.addShamanObject(anvils[math.random(#anvils)],tfm.get.room.playerList[actual_player].x,tfm.get.room.playerList[actual_player].y-60,0,(4+power*2)*-1,-8)
  1090.             elseif data[actual_player].team == "vermelho" then
  1091.                 tfm.exec.addShamanObject(anvils[math.random(#anvils)],tfm.get.room.playerList[actual_player].x,tfm.get.room.playerList[actual_player].y-60,0,4+power*2,-8)
  1092.             end
  1093.         end
  1094.     end
  1095.     if valendo == true and reset == false and faltando > 10000 then
  1096.         if data[actual_player].team == "azul" then
  1097.             ui.addTextArea(2204,"<p align='center'><font size='14'>"..text.yturn.."<b><font color='#0197f3'>"..actual_player.."",nil,200,332,400,27,0x000001,0x000001,1.0,true)
  1098.         elseif data[actual_player].team == "vermelho" then
  1099.             ui.addTextArea(2204,"<p align='center'><font size='14'>"..text.yturn.."<b><font color='#f32202'>"..actual_player.."",nil,200,332,400,27,0x000001,0x000001,1.0,true)
  1100.         end
  1101.     else
  1102.         ui.removeTextArea(2204,nil)
  1103.     end
  1104.     if valendo == true and reset == false then
  1105.         if powerups.int_vermelho >= 1 then
  1106.             ui.addTextArea(6001,"",nil,20,24,32,8,0xff0000,0x000001,1.0,true)
  1107.         else
  1108.             ui.addTextArea(6001,"",nil,20,24,32,8,0x000001,0x000001,1.0,true)
  1109.         end
  1110.         if powerups.int_vermelho >= 2 then
  1111.             ui.addTextArea(6002,"",nil,70,24,32,8,0xff0000,0x000001,1.0,true)
  1112.         else
  1113.             ui.addTextArea(6002,"",nil,70,24,32,8,0x000001,0x000001,1.0,true)
  1114.         end
  1115.         if powerups.int_azul >= 1 then
  1116.             ui.addTextArea(6003,"",nil,748,24,32,8,0xff,0x000001,1.0,true)
  1117.         else
  1118.             ui.addTextArea(6003,"",nil,748,24,32,8,0x000001,0x000001,1.0,true)
  1119.         end
  1120.         if powerups.int_azul >= 2 then
  1121.             ui.addTextArea(6004,"",nil,698,24,32,8,0xff,0x000001,1.0,true)
  1122.         else
  1123.             ui.addTextArea(6004,"",nil,698,24,32,8,0x000001,0x000001,1.0,true)
  1124.         end
  1125.         ui.addTextArea(2201,"<p align='center'><font color='#000001'><font size='35'><font face='Trebuchet MS'>"..count_vermelho.."",nil,200,24,64,48,0x990000,0xff0000,1.0,true)
  1126.         ui.addTextArea(2202,"<p align='center'><font color='#aaaaaa'><font size='35'><font face='Trebuchet MS'>"..count_azul.."",nil,536,24,64,48,0x000099,0x0000ff,1.0,true)
  1127.         if sudden_death == false then
  1128.             if segundos < 10 and tempo > 29.5 then
  1129.                 ui.addTextArea(14,"<p align='center'><font size='24'><font face='Segoe UI Symbol'><font face='Arial'> <b>"..minutos..":0"..segundos.."</b>",nil,350,24,100,34,0x000001,0x000001,1.0,true)
  1130.             elseif segundos >= 10 and tempo > 29.5 then
  1131.                 ui.addTextArea(14,"<p align='center'><font size='24'><font face='Segoe UI Symbol'><font face='Arial'> <b>"..minutos..":"..segundos.."</b>",nil,350,24,100,34,0x000001,0x000001,1.0,true)
  1132.             elseif segundos < 10 and tempo <= 29.5 then
  1133.                 ui.addTextArea(14,"<p align='center'><font size='24'><font face='Segoe UI Symbol'><font face='Arial'> <font color='#ff0000'><b>"..minutos..":0"..segundos.."</b>",nil,350,24,100,34,0x000001,0x000001,1.0,true)
  1134.             elseif segundos >= 10 and tempo <= 29.5 then
  1135.                 ui.addTextArea(14,"<p align='center'><font size='24'><font face='Segoe UI Symbol'><font face='Arial'> <font color='#ff0000'><b>"..minutos..":"..segundos.."</b>",nil,350,24,100,34,0x000001,0x000001,1.0,true)
  1136.             end
  1137.         else
  1138.             if segundos < 10 then
  1139.                 ui.addTextArea(14,"<p align='center'><font size='24'><font face='Segoe UI Symbol'><font face='Arial'> <b>"..minutos..":0"..segundos.."</b>",nil,350,24,100,34,0x400000,0x300000,1.0,true)
  1140.             elseif segundos >= 10 then
  1141.                 ui.addTextArea(14,"<p align='center'><font size='24'><font face='Segoe UI Symbol'><font face='Arial'> <b>"..minutos..":"..segundos.."</b>",nil,350,24,100,34,0x400000,0x300000,1.0,true)
  1142.             end
  1143.         end
  1144.     else
  1145.         ui.removeTextArea(14,nil)
  1146.         ui.removeTextArea(2201,nil)
  1147.         ui.removeTextArea(2202,nil)
  1148.     end
  1149. end
  1150. function eventPlayerDied(name)
  1151.     if count < 10 then
  1152.         if data[name].team == "azul" then
  1153.             tfm.exec.respawnPlayer(name)
  1154.             tfm.exec.movePlayer(name,900,180,false,0,0,false)
  1155.         elseif data[name].team == "vermelho" then
  1156.             tfm.exec.respawnPlayer(name)
  1157.             tfm.exec.movePlayer(name,700,180,false,0,0,false)
  1158.         end
  1159.     end
  1160.     if data[name].immortal == false then
  1161.         if valendo == true and reset == false then
  1162.             tfm.exec.setPlayerScore(name,-1,false)
  1163.             tfm.exec.setPlayerScore(actual_player,2+kills,true)
  1164.             if actual_player == caps.vermelho or name == actual_player then
  1165.                 tfm.exec.setPlayerScore(actual_player,1,true)
  1166.                 data[actual_player].score=data[actual_player].score+1
  1167.                 data[actual_player].exp=data[actual_player].exp+1
  1168.             end
  1169.             data[actual_player].kills=data[actual_player].kills+1
  1170.             data[actual_player].score=data[actual_player].score+5
  1171.             loop=loop+1
  1172.             data[name].killed=1
  1173.             kills=kills+1
  1174.             data[actual_player].exp=data[actual_player].exp+4*kills
  1175.             if kills > data[actual_player].max then
  1176.                 data[actual_player].max=kills
  1177.                 data[actual_player].exp=data[actual_player].exp+6*kills
  1178.             end
  1179.             if data[name].team == data[actual_player].team and anvil_launched == true then
  1180.                 tfm.exec.chatMessage("<J>"..text.teamkill1..""..actual_player.." "..text.teamKill2..": <b>"..name.."</b>.")
  1181.                 tfm.exec.setPlayerScore(actual_player,-2,true)
  1182.                 kills=kills-1
  1183.                 data[actual_player].kills=data[actual_player].kills-1
  1184.                 data[actual_player].score=data[actual_player].score-10
  1185.                 data[actual_player].exp=data[actual_player].exp-7
  1186.             end
  1187.         end
  1188.         if name == actual_player and valendo == true and reset == false then
  1189.             tfm.exec.chatMessage(""..text.suicide..""..actual_player.."")
  1190.             tfm.exec.setPlayerScore(actual_player,-1,false)
  1191.             data[actual_player].score=data[actual_player].score-5
  1192.             data[actual_player].exp=data[actual_player].exp-4
  1193.         end
  1194.     else
  1195.         tfm.exec.respawnPlayer(name)
  1196.         tfm.exec.setNameColor(name,0x00ff00)
  1197.         if data[name].team == "azul" then
  1198.             tfm.exec.movePlayer(name,1000,160,false,0,0,false)
  1199.         elseif data[name].team == "vermelho" then
  1200.             tfm.exec.movePlayer(name,600,160,false,0,0,false)
  1201.         end
  1202.     end
  1203.     if sudden_death == true then
  1204.         if data[name].team == "azul" and data[name].immortal == false then
  1205.             winRed()
  1206.             tfm.exec.chatMessage(text.win_vermelho)
  1207.             count_azul=0
  1208.         elseif data[name].team == "vermelho" and data[name].immortal == false then
  1209.             winAzul()
  1210.             tfm.exec.chatMessage(text.win_azul)
  1211.             count_vermelho=0
  1212.         end
  1213.         valendo=false
  1214.         reset=true
  1215.         tfm.exec.setGameTime(15)
  1216.         sudden_death=false
  1217.     end
  1218.     if actual_player == name then
  1219.         anvil_launched=true
  1220.         actual_palayer=""
  1221.     end
  1222. end
  1223. function eventPlayerLeft(name)
  1224.     ratos=ratos-1
  1225.     data[name].killed=-1
  1226.     data[name].team=""
  1227. end
  1228. function showBar()
  1229.     for i=1,70 do
  1230.         if mapas[i] == tfm.get.room.currentMap then
  1231.             if map_names[i] == "" then
  1232.                 ui.setMapName(""..mapas[i].." - "..tfm.get.room.xmlMapInfo.author.." - "..text.bar.."<")
  1233.             else
  1234.                 ui.setMapName("“"..map_names[i].."” "..mapas[i].." - "..tfm.get.room.xmlMapInfo.author.." - "..text.bar.."<")
  1235.             end
  1236.         end
  1237.     end
  1238. end
  1239. function eventNewPlayer(name)
  1240.     showBar()
  1241.     ratos=ratos+1
  1242.     if not data[name] then
  1243.         table.insert(players_table,name)
  1244.         data[name]={wins=0,matchs=0,kills=0,max=0,score=0,mks=0,killed=-1,team="",immortal=false,imatchs=0,immortal2=false,level=0,nivel=1,exp=0,maxp=50}
  1245.     end
  1246.     showTeams(name)
  1247.     for name,player in pairs(tfm.get.room.playerList) do
  1248.         ui.addTextArea(299,"<p align='center'><a href='event:show_menu'><font size='18'>Menu",name,365,376,70,24,0x000001,0x000001,0.75,true)
  1249.         for i=32,123 do
  1250.             tfm.exec.bindKeyboard(name,i,true,true)
  1251.             system.bindMouse(name,true)
  1252.         end
  1253.     end
  1254.     if name:sub(1,1) == "*" then
  1255.         data[name].level=-1
  1256.     end
  1257. end
  1258. for name,player in pairs(tfm.get.room.playerList) do
  1259.     eventNewPlayer(name)
  1260.     tfm.exec.setPlayerScore(name,0,false)
  1261. end
  1262. function eventKeyboard(name,key,down,x,y)
  1263.     if anvil_launched == false then
  1264.         if actual_player == name then
  1265.             if key == 32 then
  1266.                 if valendo == true then
  1267.                     powerups.fly=false
  1268.                     set=false
  1269.                     set_name=""
  1270.                     ui.removeTextArea(4003,nil)
  1271.                     if powerups.objeto == true then
  1272.                         if select_obj == 0 then
  1273.                             if data[name].team == "azul" then
  1274.                                 tfm.exec.addShamanObject(objetos[math.random(#objetos)],x,y-60,0,(4+power*2)*-1,-8)
  1275.                             elseif data[name].team == "vermelho" then
  1276.                                 tfm.exec.addShamanObject(objetos[math.random(#objetos)],x,y-60,0,4+power*2,-8)
  1277.                             end
  1278.                         else
  1279.                             if data[name].team == "azul" then
  1280.                                 tfm.exec.addShamanObject(select_obj,x,y-60,0,(4+power*2)*-1,-8)
  1281.                             elseif data[name].team == "vermelho" then
  1282.                                 tfm.exec.addShamanObject(select_obj,x,y-60,0,4+power*2,-8)
  1283.                             end
  1284.                         end
  1285.                     else
  1286.                     if powerups.selective == false then
  1287.                         if data[name].team == "azul" then
  1288.                             tfm.exec.addShamanObject(anvils[math.random(#anvils)],x,y-60,0,(4+power*2)*-1,-8)
  1289.                         elseif data[name].team == "vermelho" then
  1290.                             tfm.exec.addShamanObject(anvils[math.random(#anvils)],x,y-60,0,4+power*2,-8)
  1291.                         end
  1292.                         if powerups.double == true then
  1293.                             if data[name].team == "azul" then
  1294.                                 tfm.exec.addShamanObject(anvils[math.random(#anvils)],x+40,y-60,0,(4+power*2)*-1,-8)
  1295.                             elseif data[name].team == "vermelho" then
  1296.                                 tfm.exec.addShamanObject(anvils[math.random(#anvils)],x-40,y-60,0,4+power*2,-8)
  1297.                             end
  1298.                         end
  1299.                         if powerups.triple == true then
  1300.                             if data[name].team == "azul" then
  1301.                                 tfm.exec.addShamanObject(anvils[math.random(#anvils)],x+80,y-60,0,(4+power*2)*-1,-8)
  1302.                             elseif data[name].team == "vermelho" then
  1303.                                 tfm.exec.addShamanObject(anvils[math.random(#anvils)],x-80,y-60,0,4+power*2,-8)
  1304.                             end
  1305.                         end
  1306.                         powerups.multi_count=powerups.multi_count+1
  1307.                         if powerups.multi_count >= 3 then
  1308.                             anvil_launched=true
  1309.                         end
  1310.                     end
  1311.                     end
  1312.                     select_obj=0
  1313.                     anvil_launched=true
  1314.                 end
  1315.             end
  1316.             if key >= 49 and key <= 57 then
  1317.                 power=key-48
  1318.                 ui.addTextArea(4003,"<font size='13'><p align='center'>"..text.intensity..": "..power.."",name,320,376,160,24,0x000001,0x000001,1.0,true)
  1319.             end
  1320.             if key == 48 then
  1321.                 power=10
  1322.                 ui.addTextArea(4003,"<font size='13'><p align='center'>"..text.intensity..": "..power.."",name,320,376,160,24,0x000001,0x000001,1.0,true)
  1323.             end
  1324.             if key == 35 and anvil_launched == false then
  1325.                 if name == caps.azul or name == caps.vermelho then
  1326.                     if name == caps.azul then
  1327.                         if powerups.int_azul > 0 then
  1328.                             tfm.exec.chatMessage(text.blue_int_text)
  1329.                             intervalo=true
  1330.                             powerups.int_azul=powerups.int_azul-1          
  1331.                         else
  1332.                             tfm.exec.chatMessage(text.funct,name)
  1333.                         end
  1334.                     end
  1335.                     if name == caps.vermelho then
  1336.                         if powerups.int_vermelho > 0 then
  1337.                             tfm.exec.chatMessage(text.red_int_text)
  1338.                             intervalo=true
  1339.                             powerups.int_vermelho=powerups.int_vermelho-1                  
  1340.                         else
  1341.                             tfm.exec.chatMessage(text.funct,name)
  1342.                         end
  1343.                     end
  1344.                 else
  1345.                     tfm.exec.chatMessage(text.funct,name)
  1346.                 end
  1347.             end
  1348.             if valendo == true and reset == false then
  1349.             if key == 112 then
  1350.                 if tfm.get.room.playerList[name].score >= 6 and powerups.double == false and powerups.triple == false and powerups.multiple == false and powerups.objeto == false then
  1351.                     if data[name].nivel >= 1 then
  1352.                         powerups.double=true
  1353.                         tfm.exec.setPlayerScore(name,-6,true)
  1354.                         tfm.exec.chatMessage("<VP>"..actual_player.." "..text.double.."")
  1355.                     else
  1356.                         tfm.exec.chatMessage(text.level_error,name)
  1357.                     end
  1358.                 end
  1359.             end
  1360.             if key == 113 then
  1361.                 if tfm.get.room.playerList[name].score >= 12 and powerups.double == false and powerups.triple == false and powerups.multiple == false and powerups.objeto == false then
  1362.                     if data[name].nivel >= 2 then
  1363.                         powerups.double=true
  1364.                         powerups.triple=true
  1365.                         tfm.exec.setPlayerScore(name,-12,true)
  1366.                         tfm.exec.chatMessage("<VP>"..actual_player.." "..text.triple.."")
  1367.                     else
  1368.                         tfm.exec.chatMessage(text.level_error,name)
  1369.                     end
  1370.                 end
  1371.             end
  1372.             if key == 114 then
  1373.                 if tfm.get.room.playerList[name].score >= 5 and powerups.bomba == false and powerups.double == false and powerups.objeto == false then
  1374.                     if data[name].nivel >= 2 then
  1375.                         powerups.bomba=true
  1376.                         tfm.exec.setPlayerScore(name,-5,true)
  1377.                         tfm.exec.chatMessage("<VP>"..actual_player.." "..text.bomba1.."")
  1378.                         tfm.exec.chatMessage(text.bomba2,name)
  1379.                         anvil_launched=true
  1380.                         loop=12
  1381.                     else
  1382.                         tfm.exec.chatMessage(text.level_error,name)
  1383.                     end
  1384.                 end
  1385.             end
  1386.             if key == 115 then
  1387.                 if tfm.get.room.playerList[name].score >= 4 and powerups.objeto == false and powerups.double == false and powerups.triple == false then
  1388.                     if data[name].nivel >= 2 then
  1389.                         powerups.objeto=true
  1390.                         tfm.exec.setPlayerScore(name,-4,true)
  1391.                         tfm.exec.chatMessage("<VP>"..actual_player.." "..text.objeto1.."")
  1392.                         tfm.exec.chatMessage(text.objeto2,name)
  1393.                     else
  1394.                         tfm.exec.chatMessage(text.level_error,name)
  1395.                     end
  1396.                 end
  1397.             end
  1398.             if key == 116 then
  1399.                 if tfm.get.room.playerList[name].score >= 18 and powerups.explosion == false and powerups.bomba == false and powerups.double == false and powerups.objeto == false then
  1400.                     if data[name].nivel >= 4 then
  1401.                         powerups.explosion=true
  1402.                         tfm.exec.setPlayerScore(name,-18,true)
  1403.                         tfm.exec.chatMessage("<VP>"..actual_player.." "..text.exp1.."")
  1404.                         tfm.exec.chatMessage(text.exp2,name)
  1405.                         anvil_launched=true
  1406.                         loop=12
  1407.                     else
  1408.                         tfm.exec.chatMessage(text.level_error,name)
  1409.                     end
  1410.                 end
  1411.             end
  1412.             if key == 117 then
  1413.                 if tfm.get.room.playerList[name].score >= 15 and powerups.explosion == false and powerups.bomba == false and powerups.double == false and powerups.objeto == false then
  1414.                     if data[name].nivel >= 4 then
  1415.                         powerups.chuva=true
  1416.                         tfm.exec.setPlayerScore(name,-15,true)
  1417.                         tfm.exec.chatMessage("<VP>"..actual_player.." "..text.chuva1.."")
  1418.                         tfm.exec.chatMessage(text.chuva2,name)
  1419.                     else
  1420.                         tfm.exec.chatMessage(text.level_error,name)
  1421.                     end
  1422.                 end
  1423.             end
  1424.             if key == 118 then
  1425.                 if tfm.get.room.playerList[name].score >= 15 then
  1426.                     if data[name].nivel >= 3 then
  1427.                         tfm.exec.setPlayerScore(name,-15,true)
  1428.                         tfm.exec.chatMessage("<VP>"..actual_player.." "..text.fly1.."")
  1429.                         tfm.exec.chatMessage(text.fly2,name)
  1430.                         tfm.exec.changePlayerSize(actual_player,0.5)
  1431.                     else
  1432.                         tfm.exec.chatMessage(text.level_error,name)
  1433.                     end
  1434.                 end
  1435.             end
  1436.             if key == 119 then
  1437.                 if tfm.get.room.playerList[name].score >= 24 and data[name].immortal2 == false then
  1438.                     if data[name].nivel >= 5 then
  1439.                         data[name].immortal=true
  1440.                         data[name].immortal2=true
  1441.                         tfm.exec.setNameColor(name, 0x00ff00)
  1442.                         tfm.exec.setPlayerScore(name,-20,true)
  1443.                         tfm.exec.chatMessage("<VP>"..actual_player.." "..text.inv1.."")
  1444.                         tfm.exec.chatMessage(text.inv2,name)
  1445.                     else
  1446.                         tfm.exec.chatMessage(text.level_error,name)
  1447.                     end
  1448.                 end
  1449.             end
  1450.             if key == 120 then
  1451.                 if tfm.get.room.playerList[name].score >= 15 and powerups.multiple == false and powerups.double == false and powerups.triple == false and powerups.objeto == false then
  1452.                     if data[name].nivel >= 3 then
  1453.                         powerups.multiple=true
  1454.                         tfm.exec.setPlayerScore(name,-15,true)
  1455.                         tfm.exec.chatMessage("<VP>"..actual_player.." "..text.invi1.."")
  1456.                         tfm.exec.chatMessage(text.invi2,name)
  1457.                         anvil_launched=true
  1458.                         loop=12
  1459.                     else
  1460.                         tfm.exec.chatMessage(text.level_error,name)
  1461.                     end
  1462.                 end
  1463.             end
  1464.             end
  1465.         end
  1466.     end
  1467. end
  1468. function eventMouse(name,x,y)
  1469.     if powerups.explosion == true and actual_player == name then
  1470.         tfm.exec.explosion(x,y,30,120,true)
  1471.         tfm.exec.displayParticle(12,x,y,0,0,0,0,nil)
  1472.         powerups.explosion=false
  1473.     end
  1474.     if powerups.multiple == true and actual_player == name then
  1475.         tfm.exec.addShamanObject(10,x,-240,90,0,0)
  1476.         tfm.exec.addShamanObject(10,x,-270,90,0,0)
  1477.         tfm.exec.addShamanObject(10,x,-300,90,0,0)
  1478.         tfm.exec.addShamanObject(10,x,-330,90,0,0)
  1479.         tfm.exec.addShamanObject(10,x,-360,90,0,0)
  1480.         tfm.exec.addShamanObject(10,x,-390,90,0,0)
  1481.         tfm.exec.addShamanObject(10,x,-420,90,0,0)
  1482.         tfm.exec.addShamanObject(10,x,-450,90,0,0)
  1483.         powerups.multiple=false
  1484.     end
  1485. end
  1486. function eventNewGame()
  1487.     advanceLevel()
  1488.     ui.removeTextArea(501,nil)
  1489.     for i=11,297 do
  1490.         ui.removeTextArea(i,nil)
  1491.     end
  1492.     sudden_death=false
  1493.     for i=6001,6004 do
  1494.         ui.removeTextArea(i,nil)
  1495.     end
  1496.     time_limit=15
  1497.     reset=false
  1498.     count_azul=0
  1499.     count_vermelho=0
  1500.     tempo=0
  1501.     power=5
  1502.     count=0
  1503.     powerups.int_azul=2
  1504.     powerups.int_vermelho=2
  1505.     kills=0
  1506.     play_azul={}
  1507.     play_vermelho={}
  1508.     valendo=false
  1509.     loop=8
  1510.     resetPowers()
  1511.     for name,player in pairs(tfm.get.room.playerList) do
  1512.         if data[name] then
  1513.             tfm.exec.changePlayerSize(name,1)
  1514.             data[name].killed=-1
  1515.             data[name].team=""
  1516.             data[name].immortal=false
  1517.             data[name].immortal2=false
  1518.             data[name].imatchs=0
  1519.             data[name].skip=0
  1520.             tfm.exec.setNameColor(name,0xd7d7e6)
  1521.             giveCargos(name,data[name].level)
  1522.             for i=32,123 do
  1523.                 tfm.exec.bindKeyboard(name,i,true,true)
  1524.             end
  1525.             showTeams(name)
  1526.             for id,name in pairs(avs_list) do
  1527.                 if data[name] then
  1528.                     giveCargos(name,2)
  1529.                 end
  1530.             end
  1531.             for id,name in pairs(mods_list) do
  1532.                 if data[name] then
  1533.                     giveCargos(name,3)
  1534.                 end
  1535.             end
  1536.             for id,name in pairs(managers_list) do
  1537.                 if data[name] then
  1538.                     giveCargos(name,4)
  1539.                 end
  1540.             end
  1541.             for id,name in pairs(level6_list) do
  1542.                 if data[name] then
  1543.                     giveCargos(name,5)
  1544.                 end
  1545.             end
  1546.             for id,name in pairs(admins_list) do
  1547.                 if data[name] then
  1548.                     giveCargos(name,6)
  1549.                 end
  1550.             end
  1551.         end
  1552.     end
  1553.     tfm.exec.setGameTime(30)
  1554.     showBar()
  1555. end
  1556. function eventTextAreaCallback(id,name,callback)
  1557.     if callback == "show_menu" then
  1558.         ui.addTextArea(299,"<p align='center'><a href='event:hide_menu'><font size='18'>Menu",name,365,376,70,24,0x000001,0x000001,0.75,true)
  1559.         ui.addTextArea(298,text.menu_bar,name,200,345,400,20,0x000001,0x000001,0.80,true)
  1560.     end
  1561.     if callback == "hide_menu" then
  1562.         ui.addTextArea(299,"<p align='center'><a href='event:show_menu'><font size='18'>Menu",name,365,376,70,24,0x000001,0x000001,0.75,true)
  1563.         ui.removeTextArea(298,name)
  1564.     end
  1565.     if callback == "ranking" then
  1566.         eventChatCommand(name,"rank")
  1567.     end
  1568.     if callback == "cap" then
  1569.         eventChatCommand(name,"cap")
  1570.     end
  1571.     if callback == "cmd" then
  1572.         eventChatCommand(name,"cmd")
  1573.     end
  1574.     if callback == "powerups" then
  1575.         loadPowerups(name)
  1576.     end
  1577.     if callback == "power1" then
  1578.         tfm.exec.chatMessage(text.double2,name)
  1579.     end
  1580.     if callback == "help" then
  1581.         eventChatCommand(name,"help")
  1582.     end
  1583.     if callback == "power2" then
  1584.         tfm.exec.chatMessage(text.triple2,name)
  1585.     end
  1586.     if callback == "power3" then
  1587.         tfm.exec.chatMessage(text.bomba2,name)
  1588.     end
  1589.     if callback == "power4" then
  1590.         tfm.exec.chatMessage(text.objeto2,name)
  1591.     end
  1592.     if callback == "power5" then
  1593.         tfm.exec.chatMessage(text.exp2,name)
  1594.     end
  1595.     if callback == "power6" then
  1596.         tfm.exec.chatMessage(text.chuva2,name)
  1597.     end
  1598.     if callback == "power7" then
  1599.         tfm.exec.chatMessage(text.fly2,name)
  1600.     end
  1601.     if callback == "power8" then
  1602.         tfm.exec.chatMessage(text.inv2,name)
  1603.     end
  1604.     if callback == "power9" then
  1605.         tfm.exec.chatMessage(text.invi2,name)
  1606.     end
  1607.     if callback == "power10" then
  1608.         tfm.exec.chatMessage(text.selec2,name)
  1609.     end
  1610.     if callback == "profile" then
  1611.         tfm.exec.chatMessage(text.profile,name)
  1612.     end
  1613.     if callback == "fechar" then
  1614.         for id=8000,8010 do
  1615.             ui.removeTextArea(id,name)
  1616.         end
  1617.     end
  1618.     if callback == "close" then
  1619.         for id=8000,8010 do
  1620.             ui.removeTextArea(id,name)
  1621.             ui.removeTextArea(6969+id,name)
  1622.             ui.removeTextArea(7979+id,name)
  1623.         end
  1624.     end
  1625.     if callback == "closep" then
  1626.         for id=9000,9010 do
  1627.             ui.removeTextArea(id,name)
  1628.         end
  1629.     end
  1630.     if callback == "enter_vermelho" then
  1631.         if data[name].killed == -1 and data[name].team == "" then
  1632.             data[name].team="vermelho"
  1633.             data[name].killed=0
  1634.             tfm.exec.respawnPlayer(name)
  1635.             tfm.exec.movePlayer(name,700,180,false,0,0,false)
  1636.             count_vermelho=count_vermelho+1
  1637.             ui.removeTextArea(41,name)
  1638.             ui.removeTextArea(42,name)
  1639.             ui.addTextArea(51,"<p align='center'><a href='event:sair_vermelho'>"..text.exit.."",name,300,180,200,20,0x505050,0x323232,1.0,true)
  1640.         end
  1641.     end
  1642.     if callback == "enter_azul" then
  1643.         if data[name].killed == -1 and data[name].team == "" then
  1644.             data[name].team="azul"
  1645.             data[name].killed=0
  1646.             tfm.exec.respawnPlayer(name)
  1647.             tfm.exec.movePlayer(name,900,180,false,0,0,false)
  1648.             count_azul=count_azul+1
  1649.             ui.removeTextArea(41,name)
  1650.             ui.removeTextArea(42,name)
  1651.             ui.addTextArea(52,"<p align='center'><a href='event:sair_azul'>"..text.exit.."",name,300,180,200,20,0x505050,0x323232,1.0,true)
  1652.         end
  1653.     end
  1654.     if callback == "sair_azul" then
  1655.         data[name].team=""
  1656.         data[name].killed=-1
  1657.         tfm.exec.killPlayer(name)
  1658.         count_azul=count_azul-1
  1659.         ui.removeTextArea(52,name)
  1660.         ui.addTextArea(41, "<p align='center'><a href='event:enter_vermelho'>"..text.enter_vermelho.."</a></p>", name, 300, 165, 200, 20, 0x800000, 0x600000,1.0,true)
  1661.         ui.addTextArea(42, "<p align='center'><a href='event:enter_azul'>"..text.enter_azul.."</a></p>", name, 300, 195, 200, 20, 0x80, 0x60,1.0,true)
  1662.     end
  1663.     if callback == "sair_vermelho" then
  1664.         data[name].team=""
  1665.         data[name].killed=-1
  1666.         tfm.exec.killPlayer(name)
  1667.         count_vermelho=count_vermelho-1
  1668.         ui.removeTextArea(51,name)
  1669.         ui.addTextArea(41, "<p align='center'><a href='event:enter_vermelho'>"..text.enter_vermelho.."</a></p>", name, 300, 165, 200, 20, 0x800000, 0x600000,1.0,true)
  1670.         ui.addTextArea(42, "<p align='center'><a href='event:enter_azul'>"..text.enter_azul.."</a></p>", name, 300, 195, 200, 20, 0x80, 0x60,1.0,true)
  1671.     end
  1672. end
  1673. function winRed()
  1674.     for name,player in pairs(tfm.get.room.playerList) do
  1675.         if data[name].team == "vermelho" then
  1676.             data[name].exp=data[name].exp+20
  1677.             data[name].wins=data[name].wins+1
  1678.             data[name].score=data[name].score+15
  1679.             tfm.exec.respawnPlayer(name)
  1680.             tfm.exec.movePlayer(name,math.random(225,775),170,false,0,0,false)
  1681.             tfm.exec.playEmote(name,0)
  1682.             for i=6001,6004 do
  1683.                 ui.removeTextArea(i,nil)
  1684.             end
  1685.         end
  1686.     end
  1687.     advanceLevel()
  1688. end
  1689. function winAzul()
  1690.     for name,player in pairs(tfm.get.room.playerList) do
  1691.         if data[name].team == "azul" then
  1692.             data[name].exp=data[name].exp+20
  1693.             data[name].wins=data[name].wins+1
  1694.             data[name].score=data[name].score+15
  1695.             tfm.exec.respawnPlayer(name)
  1696.             tfm.exec.movePlayer(name,math.random(825,1375),170,false,0,0,false)
  1697.             tfm.exec.playEmote(name,0)
  1698.             for i=6001,6004 do
  1699.                 ui.removeTextArea(i,nil)
  1700.             end
  1701.         end
  1702.     end
  1703.     advanceLevel()
  1704. end
  1705. function advanceLevel()
  1706.     for name,player in pairs(tfm.get.room.playerList) do
  1707.         if data[name] then
  1708.             if data[name].exp >= data[name].maxp then
  1709.                 data[name].exp=data[name].exp-data[name].maxp
  1710.                 data[name].maxp=data[name].maxp+50
  1711.                 data[name].nivel=data[name].nivel+1
  1712.                 tfm.exec.chatMessage(""..text.advanced..""..data[name].nivel.."!",name)
  1713.             end
  1714.         end
  1715.     end
  1716. end
  1717. function giveCargos(name,type)
  1718.     if type == 2 and data[name] then
  1719.         data[name].level=2
  1720.         tfm.exec.setNameColor(name,0x0076FF)
  1721.     elseif type == 3 and data[name] then
  1722.         data[name].level=3
  1723.         tfm.exec.setNameColor(name,0xFFFB00)
  1724.     elseif type == 4 and data[name] then
  1725.         data[name].level=4
  1726.         tfm.exec.setNameColor(name,0xFF7100)
  1727.     elseif type == 5 and data[name] then
  1728.         data[name].level=5
  1729.     elseif type == 6 and data[name] then
  1730.         data[name].level=6
  1731.         tfm.exec.setNameColor(name,0xFF0000)
  1732.     end
  1733. end
  1734. end
  1735. initTrue = function()
  1736. for _,f in next,{"AutoScore","AutoNewGame","AutoTimeLeft","AllShamanSkills","PhysicalConsumables","AfkDeath"} do
  1737.     tfm.exec["disable"..f](true)
  1738. end
  1739. tfm.exec.setRoomMaxPlayers(26)
  1740. t=false;
  1741. f=false;
  1742. tempa=20   
  1743. ratos=0
  1744. loop=0
  1745. temp2=3
  1746. resposta="0"
  1747. players={}
  1748. votos=0
  1749. rcount=0
  1750. vivo=0;
  1751. min1=0
  1752. seg1=0
  1753. seg2=0
  1754. lt=0
  1755. segundos=0
  1756. lock=false;
  1757. pergunta=""
  1758. shaman=""
  1759. lock=false
  1760. minutos=6;
  1761. modo="desativado"
  1762. for _,f in next,{"admin77","admin78","limite","return"} do
  1763.     system.disableChatCommandDisplay(f)
  1764. end
  1765. mapa="@7417328"
  1766. lang = {}
  1767.  
  1768. lang.br = {
  1769.   textFalse = "A resposta era FALSO!",
  1770.   textTrue = "A resposta era VERDADEIRO!",
  1771.   textRandom = "Um shaman aleatório foi escolhido.",
  1772.   textSkip = "O shaman passou a vez.",
  1773.   textPergunta = "Insira a sua pergunta:<br><br>NÃO USE SÍMBOLOS ESPECIAIS NA PERGUNTA!",
  1774.   textTime = "Tempo esgotado!",
  1775.   textNothingWins = "Ninguém venceu esta partida. :(",
  1776.   textWinner = " venceu a partida!",
  1777.   textNothing = "Não tivemos vencedor nessa partida.",
  1778.   textTimeOut = "O tempo da partida acabou! Outro shaman será escolhido.",
  1779.   textTimeLeave = "Tempo esgotado! Outro shaman será escolhido.",
  1780.   textTrueFalse = "Envie SIM se a resposta for verdadeira ou NÃO se a resposta for falsa.",
  1781.   textEnter = "<b>Bem-vindo ao module True or False!</b><br><BL>Para maiores informações sobre o jogo, digite !help.<br><br><VP>Atualização RTM 1.131:<br>- Pequenas correções de bugs",
  1782.   textHelp = "<J>Quando o shaman fizer uma pergunta, você deverá ir no campo TRUE se a resposta for verdadeira ou no campo FALSE se a resposta for falsa. Aqueles que errarem serão eliminados da partida. O processo continua até que sobre um vencedor, que será o novo shaman.<br>Se você for o shaman, digite !per para fazer uma pergunta.<br><br>- Script desenvolvido atualmente por Forzaldenon#0000, ideia original por Haxhhhhhhhhh.",
  1783.   textGotShaman = "<J>Você é o shaman. Digite <b>!per</b> para fazer uma pergunta.<br>Você tem 1 minuto para fazer sua pergunta, ou outro shaman entrará em seu lugar.<br><br>Digite <b>!skip</b> para pular sua vez de shaman.",
  1784.   textLowTime = "O tempo da partida está acabando.",
  1785.   mices = "São necessários pelo menos 3 jogadores para jogar True or False",
  1786.   textLongQuestion = "Sua pergunta é muito longa. Tente usar uma pergunta menor.",
  1787.   textShortQuestion = "Sua pergunta é muito curta ou não é permitida.",
  1788.   textCmd = "<VP>Comandos do jogo:<br><br>!per = faz uma pergunta (quando você é shaman)<br>!skip = pula a sua vez (quando você é shaman)",
  1789.   textLt = "<J>Use o comando /ban [nome] para reportar alguém que esteja infrigindo as regras da sala.",
  1790. }
  1791. lang.en = {
  1792.   textFalse = "The answer was FALSE!",
  1793.   textTrue = "The answer was TRUE!",
  1794.   textRandom = "A random shaman has been choosed.",
  1795.   textSkip = "The shaman skipped your turn.",
  1796.   textPergunta = "Type your question here:",
  1797.   textTime = "Time is up!",
  1798.   textNothingWins = "Nothing wins the game. :(",
  1799.   textWinner = " wons the game!",
  1800.   textNothing = "Aren't winners on this game.",
  1801.   textTimeOut = "The game time is gone! Other shaman has been choosed.",
  1802.   textTimeLeave = "Time is up! Other shaman has been choosed.",
  1803.   textTrueFalse = "Send YES if the answer is TRUE or send NO if the answer is FALSE.",
  1804.   textEnter = "<b>Welcome to module True or False!</b><br><V>For more information of the game, type !help.<br><br><VP>Update RTM 1.131:<br>- Small bug corrections",
  1805.   textHelp = "<J>When the shaman make the question, You must go to the TRUE side if the answer is true or go to the FALSE side if the answer is false. If you err the answer, you will be eliminated of the game. The process continue until someone win the game, which will be the new shaman.<br>If you are the shaman, type !per to make a question.<br><br>Suggestions and problems report to Forzaldenon#0000.",
  1806.   textGotShaman = "<J>You are the shaman. Type <b>!per</b> to make a question.<br>You have 1 minute to make the question, or other shaman will enter in your place.<br><br>Type <b>!skip</b> to skip your shaman turn.",
  1807.   textLowTime = "The match time is ending.",
  1808.   mices = "Are needed at least 3 players to play True or False.",
  1809.   textLongQuestion = "Your question is very long. Try to use a short question.",
  1810.   textShortQuestion = "Your question is very short or isn't allowed.",
  1811.   textCmd = "<VP>Game commands:<br><br>!per = make a question (only for shaman)<br>!skip = skip your shaman turn (only for shaman)",
  1812.   textLt = ""
  1813. }
  1814. if tfm.get.room.community == "br" then
  1815.     text = lang.br
  1816. else
  1817.     text = lang.en
  1818. end
  1819. function obterJogadores()
  1820.     players={}
  1821.     for name,player in pairs(tfm.get.room.playerList) do
  1822.     if not tfm.get.room.playerList[name].isDead then
  1823.         table.insert(players,name)
  1824.     end
  1825.     end
  1826. end
  1827. function eventNewPlayer(name)
  1828.     ratos=ratos+1;
  1829.     tfm.exec.chatMessage("<J>"..text.textEnter.."",name)
  1830.     obterJogadores()
  1831. end
  1832. for name,player in pairs(tfm.get.room.playerList) do
  1833.     tfm.exec.setPlayerScore(name,0,false)
  1834.     eventNewPlayer(name)
  1835. end
  1836. function eventPlayerLeft(name)
  1837.     ratos=ratos-1;
  1838.     obterJogadores()
  1839. end
  1840. function eventChatCommand(name,message)
  1841.     if tfm.get.room.currentMap == "@7417328" then
  1842.     if message == "f5" then
  1843.         if name == "Forzaldenon#0000" then
  1844.             t=true;
  1845.             tfm.exec.chatMessage("<R>"..text.textFalse.."",nil)
  1846.             modo="desativado" end
  1847.     elseif message == "skip" then
  1848.             if tfm.get.room.playerList[name].isShaman then
  1849.             obterJogadores()
  1850.             tfm.exec.chatMessage("<R>"..text.textSkip.."",nil)
  1851.             eventChatCommand("Forzaldenon#0000","admin77") end         
  1852.     elseif message == "v5" then
  1853.         if name == "Forzaldenon#0000" then
  1854.             f=true;
  1855.             tfm.exec.chatMessage("<VP>"..text.textTrue.."",nil)
  1856.             modo="desativado" end
  1857.     elseif message == "per" then
  1858.         if tfm.get.room.playerList[name].isShaman then
  1859.             if modo == "desativado" then
  1860.                 ui.removeTextArea(27,nil)
  1861.                 ui.addPopup(1,2,""..text.textPergunta.."",name,250,125,350,true)
  1862.             end
  1863.         end
  1864.     elseif message == "admin77" then
  1865.         if modo == "desativado" then
  1866.         if name == "Forzaldenon#0000" or name == "Varusofeyzan#0000" then
  1867.             changeMap()
  1868.             tfm.exec.setShaman(message:sub(50))
  1869.         end end
  1870.     elseif message == "return" then
  1871.         if modo == "pergunta" then
  1872.         if name == "Forzaldenon#0000" or name == "Varusofeyzan#0000" then
  1873.             tempa=20
  1874.             temp2=3
  1875.             modo="desativado"
  1876.             tfm.exec.setGameTime(63)
  1877.             ui.removeTextArea(27,nil)
  1878.             pergunta=""
  1879.             resposta="0"
  1880.             rcount=rcount+1
  1881.             tfm.exec.chatMessage("This question has been cancelled",nil)
  1882.             for name,player in pairs(tfm.get.room.playerList) do
  1883.                 tfm.exec.movePlayer(name,400,1,false,1,1,false)
  1884.             end
  1885.             if rcount == 3 then
  1886.                 eventChatCommand("Forzaldenon#0000","admin77")
  1887.                 rcount=0
  1888.             end
  1889.         end end
  1890.     elseif(message:sub(1,7) == "admin78") then
  1891.         if modo == "desativado" then
  1892.         if name == "Forzaldenon#0000" or name == "Varusofeyzan#0000" then
  1893.             tfm.exec.setPlayerScore(message:sub(9),8001,false)
  1894.             changeMap()
  1895.         end end
  1896.     elseif(message:sub(0,4) == "kill") then
  1897.         if name == "Forzaldenon#0000" or name == "Varusofeyzan#0000" then
  1898.             tfm.exec.killPlayer(message:sub(6))
  1899.         end
  1900.     elseif(message:sub(0,6) == "limite") then
  1901.         if name == "Forzaldenon#0000" or name == "Varusofeyzan#0000" then
  1902.             minutos=tonumber(message:sub(8))
  1903.             if minutos > 15 then
  1904.                 tfm.exec.chatMessage("Time limit: 15 minutes.",nil)
  1905.                 minutos=15
  1906.             else
  1907.                 tfm.exec.chatMessage("Time limit: "..minutos.." minutes.",nil)
  1908.             end
  1909.         end
  1910.     elseif message == "help" then
  1911.         tfm.exec.chatMessage("<N>"..text.textHelp.."",name)
  1912.     elseif message == "cmd" then
  1913.         tfm.exec.chatMessage("<N>"..text.textCmd.."",name)
  1914.     end
  1915.     end
  1916. end
  1917. function eventNewGame()
  1918.     ui.removeTextArea(27,nil)
  1919.     tfm.exec.setGameTime(63)
  1920.     vivo=0;
  1921.     modo="desativado"
  1922.     tempa=19
  1923.     votos=0;
  1924.     t=false;
  1925.     f=false;
  1926.     segundos=0;
  1927.     min1=0
  1928.     rcount=0
  1929.     min3=0
  1930.     seg1=0
  1931.     seg2=0
  1932.     for name,player in pairs(tfm.get.room.playerList) do
  1933.         if name:sub(1,1) == "*" then
  1934.             tfm.exec.killPlayer(name)
  1935.             tfm.exec.chatMessage("<R>Souris aren't allowed to play on this module. Create an account or log in to play True or False.",name)
  1936.         end
  1937.         vivo=vivo+1
  1938.         if tfm.get.room.playerList[name].isShaman then
  1939.             tfm.exec.setPlayerScore(name,-2,false)
  1940.             vivo=vivo-1
  1941.         end
  1942.     end
  1943.     obterJogadores()
  1944. end
  1945. function eventSummoningEnd(name,type,x,y,angle,vx,vy,obj)
  1946.     for name,player in pairs(tfm.get.room.playerList) do
  1947.         if tfm.get.room.playerList[name].isShaman then
  1948.             tfm.exec.chatMessage("<ROSE>Isn't allowed the use of shaman objects in this module.",nil)
  1949.             eventChatCommand("Forzaldenon#0000","admin77")
  1950.         end
  1951.     end
  1952. end
  1953. function eventLoop(pass,tempo)
  1954.     local pass2=tempo/1000
  1955.     lt=lt+1
  1956.     if lt >= 1200 then
  1957.         if tfm.get.room.community == "br" then
  1958.             tfm.exec.chatMessage("<R>"..text.textLt.."",nil)
  1959.             lt=0
  1960.         end
  1961.     end
  1962.     if tfm.get.room.currentMap == "@7277839" then
  1963.         tfm.exec.setGameTime(63)
  1964.     end
  1965.     if lock == true then
  1966.         tfm.exec.setGameTime(tempo/950)
  1967.     end
  1968.     loop=loop+0.5
  1969.     if pass >= 3000 and pass <= 179995 then
  1970.         if ratos < 3 then
  1971.             if tfm.get.room.currentMap == "@7417328" then
  1972.                 tfm.exec.newGame("@7277839")
  1973.                 tfm.exec.chatMessage("<R>"..text.mices.."",nil)
  1974.             end
  1975.         end
  1976.     end
  1977.     if ratos >= 3 then
  1978.         if tfm.get.room.currentMap == "@7277839" then
  1979.             changeMap()
  1980.         end
  1981.     end
  1982.     if loop == 1 then
  1983.         segundos=segundos+1
  1984.         seg2=seg2+1
  1985.         loop=0
  1986.     if seg2 >= 10 then
  1987.         seg2=0
  1988.         seg1=seg1+1
  1989.         if seg1 >= 6 then
  1990.             min1=min1+1
  1991.             seg1=0
  1992.             seg2=0
  1993.             end
  1994.             if min1 >= minutos then
  1995.                 for name,player in pairs(tfm.get.room.playerList) do
  1996.                     if tfm.get.room.playerList[name].isShaman then
  1997.                         ui.addPopup(1,0,""..text.textTime.."",name,350,175,200,true)
  1998.                         ui.addPopup(2,0,""..text.textTime.."",name,350,175,200,true)
  1999.                     end
  2000.                 end
  2001.                 tfm.exec.chatMessage("<R>"..text.textTimeOut.."",nil)
  2002.                 eventChatCommand("Forzaldenon#0000","admin77")
  2003.             end
  2004.         end
  2005.     end
  2006.     tfm.exec.setUIMapName("True or False - RTM 1.132")
  2007.     if modo == "pergunta" then
  2008.         tempa=tempa-0.5
  2009.     end
  2010.     for name,player in pairs(tfm.get.room.playerList) do
  2011.         if tfm.get.room.playerList[name].isShaman then
  2012.             if tfm.get.room.currentMap == "@7417328" then
  2013.                 if pass > 450 and pass < 1050 then
  2014.                     tfm.exec.chatMessage("<VP>"..text.textGotShaman.."",name)
  2015.                     tfm.exec.setPlayerScore(name,-2,false)
  2016.                 end
  2017.             end
  2018.         end
  2019.     end
  2020.     if tempa < 0.1 then
  2021.         modo="resposta"
  2022.         tempa=0
  2023.         for pn, p in pairs(tfm.get.room.playerList) do
  2024.             if p.y <= 220 then
  2025.                 tfm.exec.killPlayer(pn)
  2026.             end
  2027.         end
  2028.     end
  2029.     if f == true then
  2030.         for pn, p in pairs(tfm.get.room.playerList) do
  2031.             if p.x >= 405 then
  2032.                 tfm.exec.killPlayer(pn)
  2033.                 modo="desativado"
  2034.             end
  2035.         end
  2036.         f=false;
  2037.     end
  2038.     if t == true then
  2039.         for pn, p in pairs(tfm.get.room.playerList) do
  2040.             if p.x <= 395 then
  2041.                 tfm.exec.killPlayer(pn)
  2042.                 modo="desativado"
  2043.             end
  2044.         end
  2045.         t=false;
  2046.     end
  2047.     if modo == "resposta" then
  2048.         tfm.exec.setGameTime(63)
  2049.         temp2=temp2-0.5
  2050.         if temp2 == 1 then
  2051.             modo="desativado"
  2052.             if resposta == "yes" then
  2053.                 eventChatCommand("Forzaldenon#0000","v5")
  2054.             else
  2055.                 eventChatCommand("Forzaldenon#0000","f5")
  2056.             end
  2057.             tempa=19
  2058.             temp2=3
  2059.             pergunta=""
  2060.             ui.removeTextArea(27,nil)
  2061.         end
  2062.     end
  2063.     if modo == "desativado" then
  2064.     if tempo < 60000 and tempo > 59400 then
  2065.         if pass > 10000 then
  2066.             for name,player in pairs(tfm.get.room.playerList) do
  2067.             if not tfm.get.room.playerList[name].isDead then
  2068.                 tfm.exec.setPlayerScore(name,1,true)
  2069.             end
  2070.         end
  2071.         end
  2072.     end
  2073.     if tfm.get.room.currentMap == "@7417328" then
  2074.     if vivo == 1 then
  2075.         if tempo < 59000 then
  2076.             tfm.exec.setPlayerScore(shaman,8000,false)
  2077.             changeMap()
  2078.         end
  2079.     end
  2080.     if vivo <= 0 then
  2081.         tfm.exec.setGameTime(5)
  2082.         obterJogadores()
  2083.         changeMap()
  2084.         tfm.exec.chatMessage("<R>"..text.textNothing.."",nil)
  2085.     end
  2086.     if tempo < 500 then
  2087.         tfm.exec.setPlayerScore(players[math.random(#players)],1,true)
  2088.         for name,player in pairs(tfm.get.room.playerList) do
  2089.             if tfm.get.room.playerList[name].isShaman then
  2090.                 ui.addPopup(1,0,""..text.textTime.."",name,350,175,200,true)
  2091.                 ui.addPopup(2,0,""..text.textTime.."",name,350,175,200,true)
  2092.             end
  2093.         end
  2094.         tfm.exec.chatMessage("<R>"..text.textTimeLeave.."",nil)
  2095.         changeMap()
  2096.     end
  2097.     end
  2098.     end
  2099.     if modo == "troca" then
  2100.         obterJogadores()
  2101.         if tempo < 100 then
  2102.             changeMap()
  2103.         end
  2104.     end
  2105.     if vivo == 0 then
  2106.         shaman=""
  2107.     end
  2108. end
  2109. function eventPopupAnswer(id,name,answer)
  2110.     if id == 1 then
  2111.         if tfm.get.room.playerList[name].isShaman then
  2112.             if tfm.get.room.currentMap == "@7417328" then
  2113.                 if string.len(answer) >= 180 then
  2114.                     tfm.exec.chatMessage(""..text.textLongQuestion.."",name)
  2115.                 elseif string.len(answer) <= 5 then
  2116.                     tfm.exec.chatMessage(""..text.textShortQuestion.."",name)
  2117.                 else
  2118.                     pergunta=answer
  2119.                     pcall(ui.addPopup(2,1,""..text.textTrueFalse.."",name,350,175,200,true))
  2120.                 end
  2121.             end
  2122.         end
  2123.     end
  2124.     if id == 2 then
  2125.         resposta=tostring(answer)
  2126.         modo="pergunta"
  2127.         ui.addTextArea(27,"<font size='15'><font face='Segoe UI'><p align='center'><font color='#020202'>"..pergunta.."",nil,32,338,720,50,0,0,1.0,true)
  2128.         tfm.exec.chatMessage("<CH>"..pergunta.."",nil)
  2129.         tfm.exec.chatMessage("<BL>"..answer.."","Forzaldenon#0000")
  2130.         tfm.exec.setGameTime(20)
  2131.         for name,player in pairs(tfm.get.room.playerList) do
  2132.             tfm.exec.movePlayer(name,400,102,false,1,1,false)
  2133.             if tfm.get.room.playerList[name].isShaman then
  2134.                 tfm.exec.movePlayer(name,400,885,false,1,1,false)
  2135.             end
  2136.         end
  2137.     end
  2138. end
  2139. function eventPlayerDied(name)
  2140.     if not tfm.get.room.playerList[name].isShaman then
  2141.         vivo=vivo-1
  2142.     end
  2143.     local i=0
  2144.     local n
  2145.     for pname,player in pairs(tfm.get.room.playerList) do
  2146.         if not player.isDead and not player.isShaman then
  2147.             i=i+1
  2148.             n=pname
  2149.         end
  2150.     end
  2151.     if i==0 then
  2152.         -- não faça nada
  2153.     elseif i==1 then
  2154.         shaman=n;
  2155.     end
  2156. end
  2157. function changeMap()
  2158.     tfm.exec.newGame(mapa)
  2159. end
  2160. changeMap()
  2161. end
  2162.  
  2163. initMestre = function()
  2164. tfm.exec.disableAutoNewGame(true)
  2165. tfm.exec.disableAutoShaman(true)
  2166. tfm.exec.disableAutoTimeLeft(true)
  2167. tfm.exec.disableAutoScore(true)
  2168. tfm.exec.disableAfkDeath(true)
  2169. tfm.exec.setRoomMaxPlayers(40)
  2170. mapas={6788085,6788183,6789853,6791944,6792470,6808957,6810292,6821950,6830799,6866406,6866549,6788693,6788728,6859175,6834529,6866437,6812488,6876638,6876563,6885971,6888512,6893463,6900149,6907177,6892608,6982387,5328362,5957905,7055459,7290270,7290275,7404106,7404327,7382263,7394517,7405103,7400694,7400678,7412412,7412422,7431981,7354947,7525277}
  2171. active=0 -- códigos active: -2 = número de ratos insuficiente, -1 = partida encerrada, 0 = partida não iniciada ou intervalo e 1 ou mais = comandos operando
  2172. vivo=0 -- número de ratos vivos
  2173. rato=0 -- número de ratos na sala
  2174. dificuldade=1 -- dificuldade da partida (alterada automaticamente)
  2175. rodadas=0 -- o limite de rodadas das partidas é calculado automaticamente
  2176. string="" -- variável usada no comando 33
  2177. rodada=0 -- número da rodada atual, não altere
  2178. number=0 -- variável usada no comando 11
  2179. xpos=0 -- variável usada nos comandos 21, 22 e 23
  2180. ypos=0 -- variável usada nos comandos 24 e 25
  2181. data={} -- variável que define os dados dos jogadores
  2182. lang={} -- não alterar, variável que define a linguagem dos textos
  2183. pergunta=""
  2184. tempo=10
  2185. resposta=""
  2186. unlocked=true -- bloqueia ou desbloqueia a execução do script
  2187. for _,f in next,{"help","rodar","run","limite","q","r","time"} do
  2188.     system.disableChatCommandDisplay(f)
  2189. end
  2190. lang.br = {
  2191.     welcome = "<N>Bem-vindo a sala Mestre Mandou! Nesta sala seu objetivo é fazer tudo o que o script mandar.<ROSE><br><VP>Script criado por Jessiewind26#2546 - Versão RTM Compilação 28",
  2192.     dancar = "Dance!",
  2193.     sentar = "Sente!",
  2194.     confetar = "Atire 5 confetes!",
  2195.     mouse = "Clique na tela 10 vezes!",
  2196.     beijos = "Dê 10 beijos!",
  2197.     dormir = "Vocês estão com sono. Durmam para descansar.",
  2198.     raiva = "Tigrounette é do mal! Fiquem com raiva dele!",
  2199.     chorem = "Vocês não ganharam queijo :( Chorem!",
  2200.     esquerda = "Não vá para a esquerda!",
  2201.     direita = "Não vá para a direita!",
  2202.     numero = "Digite o seguinte número: ",
  2203.     digitar = "Digite qualquer coisa e mande para mim.",
  2204.     falar = "Não falem nada!",
  2205.     pular = "Não pulem!",
  2206.     mexer = "Não se mexam!",
  2207.     bandeira = "Balance a bandeira de qualquer país!",
  2208.     ano = "Em que ano estamos?",
  2209.     vesquerda = "Fique virado para a esquerda!",
  2210.     vdireita = "Fique virado para a direita!",
  2211.     quadrado = "Fique no quadrado branco!",
  2212.     retangulo = "Fique dentro do retângulo branco!",
  2213.     nretangulo = "Não fique dentro do retângulo branco!",
  2214.     preesquerda30 = "Pressione 30 vezes a tecla para ESQUERDA!",
  2215.     predireita30 = "Pressione 30 vezes a tecla para DIREITA!",
  2216.     preesquerda60 = "Pressione 60 vezes a tecla para ESQUERDA!",
  2217.     predireita60 = "Pressione 60 vezes a tecla para DIREITA!",
  2218.     preesquerda200 = "Pressione 200 vezes a tecla para ESQUERDA!",
  2219.     predireita200 = "Pressione 200 vezes a tecla para DIREITA!",
  2220.     espaco = "Pressione a barra de espaço 20 vezes!",
  2221.     nome = "Digite o seu nome no jogo (com #número).",
  2222.     ndance = "Não dance!",
  2223.     mestre = "Mestre Mandou",
  2224.     map = "Mapa",
  2225.     time = "Tempo",
  2226.     mice = "Ratos",
  2227.     round = "Rodada",
  2228.     mices = "Esta sala requer pelo menos 4 ratos.",
  2229.     difficulty = "Dificuldade",
  2230.     creator = "Module criado por Jessiewind26#2546",
  2231.     segundos = "segundos.",
  2232.     fim = "Partida encerrada! Próxima partida iniciando em ",
  2233.     playingmap = "Rodando mapa",
  2234.     created = "criado por"
  2235. }
  2236. lang.en = {
  2237.     welcome = "<N>Welcome to script Master Says! On this module you have to do everything that the master says.<ROSE><br><VP>Module created by Jessiewind26#2546 - Version RTM Compilation 28",
  2238.     dancar = "Dance!",
  2239.     sentar = "Sit!",
  2240.     confetar = "Throw 5 confetti!",
  2241.     mouse = "Click on screen 10 times!",
  2242.     beijos = "Give 10 kisses!",
  2243.     dormir = "They are sleepy. Sleep to rest.",
  2244.     raiva = "Tigrounette is evil! Get angry with him!",
  2245.     chorem = "No cheese for you. Cry!",
  2246.     esquerda = "Don't go to the LEFT!",
  2247.     direita = "Don't go to the RIGHT!",
  2248.     numero = "Type this number: ",
  2249.     digitar = "Type anything and send to me.",
  2250.     falar = "Don't speak nothing!",
  2251.     pular = "Don't jump!",
  2252.     mexer = "Don't move!",
  2253.     bandeira = "Balance the flag of anything country!",
  2254.     ano = "What year are we?",
  2255.     vesquerda = "Stay facing LEFT!",
  2256.     vdireita = "Stay facing RIGHT!",
  2257.     quadrado = "Stay on the white square!",
  2258.     retangulo = "Stay on the white rectangle!",
  2259.     nretangulo = "Don't stay on the white rectangle!",
  2260.     preesquerda30 = "Press 30 times the LEFT key!",
  2261.     predireita30 = "Press 30 times the RIGHT key!",
  2262.     preesquerda60 = "Press 60 times the LEFT key!",
  2263.     predireita60 = "Press 60 times the RIGHT key!",
  2264.     preesquerda150 = "Press 150 times the LEFT key!",
  2265.     predireita150 = "Press 150 times the RIGHT key!",
  2266.     espaco = "Press 20 times the SPACEBAR!",
  2267.     nome = "Type your nickname (with #number)!",
  2268.     ndance = "Don't dance!",
  2269.     mestre = "Master Says",
  2270.     map = "Map",
  2271.     time = "Time",
  2272.     mice = "Mice",
  2273.     round = "Round",
  2274.     mices = "This room requires at least 4 players.",
  2275.     difficulty = "Difficulty",
  2276.     creator = "Module created by Jessiewind26#2546",
  2277.     segundos = "seconds.",
  2278.     fim = "End of match! The next match will start on ",
  2279.     playingmap = "Playing map",
  2280.     created = "created by"
  2281. }
  2282. lang.ar = {
  2283. welcome = "<N>مرحبآ في نمط الرئيس! في هذا النمط يجب عليك فعل كل مايقوله الرئيس . <ROSE><br>لو أردت المساعدة قم بِكتابة الامر !help<br><VP>تم صنع النمط عن طريق Jessiewind26#2546 - الإصدار RTM Compilation28",
  2284. dancar = "أرقص!",
  2285. sentar = "إجلس!",
  2286. confetar = "قُم برمي 5 أوراق!",
  2287. mouse = "قم بالضغط على الشاشة 10 مرات!",
  2288. beijos = "قم بالتقبيل 10 مرات!",
  2289. dormir = "إنهم يشعرون بالنعاس، نام لتستريح!",
  2290. raiva = "تايغرونيت شرير! قم بالغَضبِ مِنه!",
  2291. chorem = "لم تلتقط أي قطعة من الجبن، إبكي!",
  2292. esquerda = "لا تذهب لليسار!",
  2293. direita = "لا تذهب لليَمين!",
  2294. numero = "أكتب هذا الرقم : ",
  2295. digitar = "أكتب اي شيء وأرسله لي",
  2296. falar = "لا تتكلم أو تقل أي شيء!",
  2297. pular = "لا تقفز!",
  2298. mexer = "لا تتَحرك!",
  2299. bandeira = "إرفع علم أي دولة!",
  2300. ano = "في أي عام نحن؟",
  2301. vesquerda = "إبقى مواجهآ للإتجاه الأيسر",
  2302. vdireita = "إبقى مواجهآ للإتجاه الأيمن!",
  2303. quadrado = "إبقى في المربع الأبيض",
  2304. retangulo = "إبقى في المستطيل الأبيض",
  2305. nretangulo = "لا تبقى في المستطيل الأبيض!",
  2306. preesquerda30 = "إضغط 30 مرة على زر السهم الأيسر",
  2307. predireita30 = "إضغط 30 مرة على زر السهم الأيمن",
  2308. preesquerda60 = "إضغط 60 مرة على زر السهم الأيسر",
  2309. predireita60 = "إضغط 60 مرة على زر السهم الأيمن",
  2310. preesquerda150 = "إضغط 150 مرة على زر السهم الأيسر",
  2311. predireita150 = "إضغط 150 مرة على زر السهم الأيمن",
  2312. espaco = "إضغط 20 مرة على زر المسافة",
  2313. nome = "إكتب إسمك (مع رقم الهاشتاج #)ـ",
  2314. abracar = "أعطِ حُضن لأي فأر!",
  2315. beijar = "قُم بتقبيل اي فأر",
  2316. ndance = "لا ترقص!",
  2317. mestre = "الرئيس يقول",
  2318. map = "خريطة",
  2319. time = "الوقت",
  2320. mice = "الفئران",
  2321. round = "الجولة",
  2322. mices = "هذه الغرفة تتطلب على الأقل 4 أشخاص.",
  2323. difficulty = "الصعوبة",
  2324. creator = "صُنع النمط عن طريق اللاعب : Jessiewind26#2546",
  2325. segundos = "ثوانٍ",
  2326. fim = "إنتهت الجولة، الجولة الجديدة سوف تَبدأ قريبًا! ",
  2327. playingmap = "Playing map",
  2328. created = "created by"
  2329. }
  2330. if tfm.get.room.community == "br" then
  2331.     text = lang.br
  2332. elseif tfm.get.room.community == "ar" then
  2333.     text = lang.ar
  2334. else
  2335.     text = lang.en
  2336. end
  2337. function eventNewPlayer(name)
  2338.     rato=rato+1
  2339.     for k=32, 87 do
  2340.         tfm.exec.bindKeyboard(name,k,false,true)
  2341.     end
  2342.     system.bindMouse(name,true)
  2343.     newData={
  2344.             ["c"]=0;
  2345.             ["s"]=0;
  2346.             };     
  2347.     data[name] = newData;
  2348.     tfm.exec.chatMessage(""..text.welcome.."",name)
  2349. end
  2350. for name,player in pairs(tfm.get.room.playerList) do
  2351.     eventNewPlayer(name)
  2352. end
  2353. function eventPlayerDied(name)
  2354.     if active >= 0 then
  2355.         vivo=vivo-1
  2356.         local i=0
  2357.         local name
  2358.         for pname,player in pairs(tfm.get.room.playerList) do
  2359.             if not player.isDead then
  2360.                 i=i+1
  2361.                 name=pname
  2362.             end
  2363.         end
  2364.         if i==0 then
  2365.             active=-1
  2366.         elseif i==1 then
  2367.             active=-1
  2368.             tfm.exec.giveCheese(name)
  2369.             tfm.exec.playerVictory(name)
  2370.             tfm.exec.setGameTime(10)
  2371.         end
  2372.     end
  2373. end
  2374. function eventNewGame()
  2375.     ui.removeTextArea(0,nil)
  2376.     rodada=0
  2377.     active=0
  2378.     vivo=0
  2379.     rato=0
  2380.     dificuldade=1
  2381.     if unlocked == true then
  2382.         tfm.exec.setGameTime(24)
  2383.     else
  2384.         tfm.exec.setGameTime(36000)
  2385.     end
  2386.     for name,player in pairs(tfm.get.room.playerList) do
  2387.         vivo=vivo+1
  2388.         rato=rato+1
  2389.         if data[name] then
  2390.             data[name].c=0
  2391.         end
  2392.     end
  2393.     rodadas=math.floor(10+(rato/2))
  2394. end
  2395. function eventPlayerLeft()
  2396.     rato=rato-1
  2397. end
  2398. function sortearComandos()
  2399.     active=math.random(1,32)
  2400.     getCommand()
  2401. end
  2402. function eventChatCommand(name,message)
  2403.     if name == "Jessiewind26#2546" or name == "Ahrizrdbrand#0000" then
  2404.         if(message:sub(0,3) == "run") then
  2405.                 active=tonumber(message:sub(5))
  2406.                 getCommand()
  2407.         end
  2408.     end
  2409.     if name == "Jessiewind26#2546" or name == "Ahrizrdbrand#0000" then
  2410.         if(message:sub(0,1) == "q") then
  2411.             pergunta=message:sub(3)
  2412.         end
  2413.     end
  2414.     if name == "Jessiewind26#2546" or name == "Ahrizrdbrand#0000" then
  2415.         if(message:sub(0,1) == "r") then
  2416.             resposta=message:sub(3)
  2417.         end
  2418.     end
  2419.     if name == "Jessiewind26#2546" or name == "Ahrizrdbrand#0000" then
  2420.         if(message:sub(0,4) == "time") then
  2421.             tempo=message:sub(6)
  2422.         end
  2423.     end
  2424. end
  2425. function getCommand()
  2426.     rodada=rodada+1
  2427.     for name,player in pairs(tfm.get.room.playerList) do
  2428.         data[name].c=0
  2429.         data[name].s=0
  2430.     end
  2431.     if active == 1 then
  2432.         ui.addTextArea(0,"<font face='Segoe UI'><font color='#29CC06'><font size='25'><p align='center'>"..text.dancar.."",nil,25,20,750,40,0x0C2301,0x5DD872,0.96,true)
  2433.         tfm.exec.setGameTime(5)
  2434.     end
  2435.     if active == 2 then
  2436.         ui.addTextArea(0,"<font face='Segoe UI'><font color='#29CC06'><font size='25'><p align='center'>"..text.sentar.."",nil,25,20,750,40,0x0C2301,0x5DD872,0.96,true)
  2437.         tfm.exec.setGameTime(5)
  2438.     end
  2439.     if active == 3 then
  2440.         ui.addTextArea(0,"<font face='Segoe UI'><font color='#29CC06'><font size='25'><p align='center'>"..text.confetar.."",nil,25,20,750,40,0x0C2301,0x5DD872,0.96,true)
  2441.         tfm.exec.setGameTime(6)
  2442.     end
  2443.     if active == 4 then
  2444.         ui.addTextArea(0,"<font face='Segoe UI'><font color='#29CC06'><font size='25'><p align='center'>"..text.mouse.."",nil,25,20,750,40,0x0C2301,0x5DD872,0.96,true)
  2445.         tfm.exec.setGameTime(6)
  2446.     end
  2447.     if active == 5 then
  2448.         ui.addTextArea(0,"<font face='Segoe UI'><font color='#29CC06'><font size='25'><p align='center'>"..text.beijos.."",nil,25,20,750,40,0x0C2301,0x5DD872,0.96,true)
  2449.         tfm.exec.setGameTime(15)
  2450.     end
  2451.     if active == 6 then
  2452.         ui.addTextArea(0,"<font face='Segoe UI'><font color='#29CC06'><font size='25'><p align='center'>"..text.dormir.."",nil,25,20,750,40,0x0C2301,0x5DD872,0.96,true)
  2453.         tfm.exec.setGameTime(5)
  2454.     end
  2455.     if active == 7 then
  2456.         ui.addTextArea(0,"<font face='Segoe UI'><font color='#29CC06'><font size='25'><p align='center'>"..text.raiva.."",nil,25,20,750,40,0x0C2301,0x5DD872,0.96,true)
  2457.         tfm.exec.setGameTime(5)
  2458.     end
  2459.     if active == 8 then
  2460.         ui.addTextArea(0,"<font face='Segoe UI'><font color='#29CC06'><font size='25'><p align='center'>"..text.chorem.."",nil,25,20,750,40,0x0C2301,0x5DD872,0.96,true)
  2461.         tfm.exec.setGameTime(5)
  2462.     end
  2463.     if active == 9 then
  2464.         ui.addTextArea(0,"<font face='Segoe UI'><font color='#29CC06'><font size='25'><p align='center'>"..text.esquerda.."",nil,25,20,750,40,0x0C2301,0x5DD872,0.96,true)
  2465.         tfm.exec.setGameTime(8)
  2466.         for name,player in pairs(tfm.get.room.playerList) do
  2467.             data[name].c=1 -- isto indica que todos permanecerão vivos
  2468.         end
  2469.     end
  2470.     if active == 10 then
  2471.         ui.addTextArea(0,"<font face='Segoe UI'><font color='#29CC06'><font size='25'><p align='center'>"..text.direita.."",nil,25,20,750,40,0x0C2301,0x5DD872,0.96,true)
  2472.         tfm.exec.setGameTime(8)
  2473.         for name,player in pairs(tfm.get.room.playerList) do
  2474.             data[name].c=1
  2475.         end
  2476.     end
  2477.     if active == 11 then
  2478.         number=math.random(1000000,9999999)
  2479.         ui.addTextArea(0,"<font face='Segoe UI'><font color='#29CC06'><font size='25'><p align='center'>"..text.numero..""..number.."",nil,25,20,750,40,0x0C2301,0x5DD872,0.96,true)
  2480.         tfm.exec.setGameTime(10)
  2481.     end
  2482.     if active == 12 then
  2483.         ui.addTextArea(0,"<font face='Segoe UI'><font color='#29CC06'><font size='25'><p align='center'>"..text.digitar.."",nil,25,20,750,40,0x0C2301,0x5DD872,0.96,true)
  2484.         tfm.exec.setGameTime(7)
  2485.     end
  2486.     if active == 13 then
  2487.         number=math.random(100000000,999999999)
  2488.         ui.addTextArea(0,"<font face='Segoe UI'><font color='#29CC06'><font size='25'><p align='center'>"..text.numero..""..number.."",nil,25,20,750,40,0x0C2301,0x5DD872,0.96,true)
  2489.         tfm.exec.setGameTime(11)
  2490.     end
  2491.     if active == 14 then
  2492.         ui.addTextArea(0,"<font face='Segoe UI'><font color='#29CC06'><font size='25'><p align='center'>"..text.falar.."",nil,25,20,750,40,0x0C2301,0x5DD872,0.96,true)
  2493.         tfm.exec.setGameTime(5)
  2494.         for name,player in pairs(tfm.get.room.playerList) do
  2495.             data[name].c=1
  2496.         end
  2497.     end
  2498.     if active == 15 then
  2499.         ui.addTextArea(0,"<font face='Segoe UI'><font color='#29CC06'><font size='25'><p align='center'>"..text.pular.."",nil,25,20,750,40,0x0C2301,0x5DD872,0.96,true)
  2500.         tfm.exec.setGameTime(5)
  2501.         for name,player in pairs(tfm.get.room.playerList) do
  2502.             data[name].c=1
  2503.         end
  2504.     end
  2505.     if active == 16 then
  2506.         ui.addTextArea(0,"<font face='Segoe UI'><font color='#29CC06'><font size='25'><p align='center'>"..text.mexer.."",nil,25,20,750,40,0x0C2301,0x5DD872,0.96,true)
  2507.         tfm.exec.setGameTime(5)
  2508.         for name,player in pairs(tfm.get.room.playerList) do
  2509.             data[name].c=1
  2510.         end
  2511.     end
  2512.     if active == 17 then
  2513.         ui.addTextArea(0,"<font face='Segoe UI'><font color='#29CC06'><font size='25'><p align='center'>"..text.bandeira.."",nil,25,20,750,40,0x0C2301,0x5DD872,0.96,true)
  2514.         tfm.exec.setGameTime(8)
  2515.     end
  2516.     if active == 18 then
  2517.         ui.addTextArea(0,"<font face='Segoe UI'><font color='#29CC06'><font size='25'><p align='center'>"..text.ano.."",nil,25,20,750,40,0x0C2301,0x5DD872,0.96,true)
  2518.         tfm.exec.setGameTime(5)
  2519.     end
  2520.     if active == 19 then
  2521.         ui.addTextArea(0,"<font face='Segoe UI'><font color='#29CC06'><font size='25'><p align='center'>"..text.vesquerda.."",nil,25,20,750,40,0x0C2301,0x5DD872,0.96,true)
  2522.         tfm.exec.setGameTime(5)
  2523.         for name,player in pairs(tfm.get.room.playerList) do
  2524.             data[name].c=1
  2525.         end
  2526.     end
  2527.     if active == 20 then
  2528.         ui.addTextArea(0,"<font face='Segoe UI'><font color='#29CC06'><font size='25'><p align='center'>"..text.vdireita.."",nil,25,20,750,40,0x0C2301,0x5DD872,0.96,true)
  2529.         tfm.exec.setGameTime(5)
  2530.         for name,player in pairs(tfm.get.room.playerList) do
  2531.             data[name].c=1
  2532.         end
  2533.     end
  2534.     if active == 21 then
  2535.         xpos=math.random(60,650) -- calcula aleatoriamente a posição do quadrado branco
  2536.         ui.addTextArea(0,"<font face='Segoe UI'><font color='#29CC06'><font size='25'><p align='center'>"..text.quadrado.."",nil,25,20,750,40,0x0C2301,0x5DD872,0.96,true)
  2537.         tfm.exec.setGameTime(5)
  2538.         for name,player in pairs(tfm.get.room.playerList) do
  2539.             data[name].c=1
  2540.         end
  2541.         ui.addTextArea(1,"",nil,xpos,320,80,65,0xffffff,0xffffff,0.68,false)
  2542.     end
  2543.     if active == 22 then
  2544.         xpos=math.random(60,650) -- calcula aleatoriamente a posição do retângulo branco
  2545.         ui.addTextArea(0,"<font face='Segoe UI'><font color='#29CC06'><font size='25'><p align='center'>"..text.retangulo.."",nil,25,20,750,40,0x0C2301,0x5DD872,0.96,true)
  2546.         tfm.exec.setGameTime(5)
  2547.         for name,player in pairs(tfm.get.room.playerList) do
  2548.             data[name].c=1
  2549.         end
  2550.         ui.addTextArea(1,"",nil,xpos,0,80,400,0xffffff,0xffffff,0.68,false)
  2551.     end
  2552.     if active == 23 then
  2553.         xpos=math.random(60,650) -- calcula aleatoriamente a posição do retângulo branco
  2554.         ui.addTextArea(0,"<font face='Segoe UI'><font color='#29CC06'><font size='25'><p align='center'>"..text.nretangulo.."",nil,25,20,750,40,0x0C2301,0x5DD872,0.96,true)
  2555.         tfm.exec.setGameTime(5)
  2556.         for name,player in pairs(tfm.get.room.playerList) do
  2557.             data[name].c=1
  2558.         end
  2559.         ui.addTextArea(1,"",nil,xpos,0,80,400,0xffffff,0xffffff,0.68,false)
  2560.     end
  2561.     if active == 24 then
  2562.         ypos=math.random(40,300) -- calcula aleatoriamente a posição do retângulo branco
  2563.         ui.addTextArea(0,"<font face='Segoe UI'><font color='#29CC06'><font size='25'><p align='center'>"..text.retangulo.."",nil,25,20,750,40,0x0C2301,0x5DD872,0.96,true)
  2564.         tfm.exec.setGameTime(5)
  2565.         for name,player in pairs(tfm.get.room.playerList) do
  2566.             data[name].c=1
  2567.         end
  2568.         ui.addTextArea(1,"",nil,0,ypos,1600,60,0xffffff,0xffffff,0.68,false)
  2569.     end
  2570.     if active == 25 then
  2571.         ypos=math.random(40,300) -- calcula aleatoriamente a posição do retângulo branco
  2572.         ui.addTextArea(0,"<font face='Segoe UI'><font color='#29CC06'><font size='25'><p align='center'>"..text.nretangulo.."",nil,25,20,750,40,0x0C2301,0x5DD872,0.96,true)
  2573.         tfm.exec.setGameTime(5)
  2574.         for name,player in pairs(tfm.get.room.playerList) do
  2575.             data[name].c=1
  2576.         end
  2577.         ui.addTextArea(1,"",nil,0,ypos,1600,60,0xffffff,0xffffff,0.68,false)
  2578.     end
  2579.     if active == 26 then
  2580.         ui.addTextArea(0,"<font face='Segoe UI'><font color='#29CC06'><font size='25'><p align='center'>"..text.preesquerda30.."",nil,25,20,750,40,0x0C2301,0x5DD872,0.96,true)
  2581.         tfm.exec.setGameTime(9)
  2582.     end
  2583.     if active == 27 then
  2584.         ui.addTextArea(0,"<font face='Segoe UI'><font color='#29CC06'><font size='25'><p align='center'>"..text.predireita30.."",nil,25,20,750,40,0x0C2301,0x5DD872,0.96,true)
  2585.         tfm.exec.setGameTime(9)
  2586.     end
  2587.     if active == 28 then
  2588.         ui.addTextArea(0,"<font face='Segoe UI'><font color='#29CC06'><font size='25'><p align='center'>"..text.preesquerda60.."",nil,25,20,750,40,0x0C2301,0x5DD872,0.96,true)
  2589.         tfm.exec.setGameTime(15)
  2590.     end
  2591.     if active == 29 then
  2592.         ui.addTextArea(0,"<font face='Segoe UI'><font color='#29CC06'><font size='25'><p align='center'>"..text.predireita60.."",nil,25,20,750,40,0x0C2301,0x5DD872,0.96,true)
  2593.         tfm.exec.setGameTime(15)
  2594.     end
  2595.     if active == 30 then
  2596.         ui.addTextArea(0,"<font face='Segoe UI'><font color='#29CC06'><font size='25'><p align='center'>"..text.espaco.."",nil,25,20,750,40,0x0C2301,0x5DD872,0.96,true)
  2597.         tfm.exec.setGameTime(7)
  2598.     end
  2599.     if active == 31 then
  2600.         ui.addTextArea(0,"<font face='Segoe UI'><font color='#29CC06'><font size='25'><p align='center'>"..text.nome.."",nil,25,20,750,40,0x0C2301,0x5DD872,0.96,true)
  2601.         tfm.exec.setGameTime(12)
  2602.     end
  2603.     if active == 32 then
  2604.         ui.addTextArea(0,"<font face='Segoe UI'><font color='#29CC06'><font size='25'><p align='center'>"..text.ndance.."",nil,25,20,750,40,0x0C2301,0x5DD872,0.96,true)
  2605.         tfm.exec.setGameTime(6)
  2606.         for name,player in pairs(tfm.get.room.playerList) do
  2607.             data[name].c=1
  2608.         end
  2609.     end
  2610.     if active == 33 then
  2611.         ui.addTextArea(0,"<font face='Segoe UI'><font color='#29CC06'><font size='25'><p align='center'>"..pergunta.."",nil,25,20,750,40,0x0C2301,0x5DD872,0.96,true)
  2612.         tfm.exec.setGameTime(tempo)
  2613.     end
  2614.     if active == 34 then
  2615.         ui.addTextArea(0,"<font face='Segoe UI'><font color='#29CC06'><font size='25'><p align='center'>"..text.preesquerda200.."",nil,25,20,750,40,0x0C2301,0x5DD872,0.96,true)
  2616.         tfm.exec.setGameTime(18)
  2617.     end
  2618.     if active == 35 then
  2619.         ui.addTextArea(0,"<font face='Segoe UI'><font color='#29CC06'><font size='25'><p align='center'>"..text.predireita200.."",nil,25,20,750,40,0x0C2301,0x5DD872,0.96,true)
  2620.         tfm.exec.setGameTime(18)
  2621.     end
  2622. end
  2623. function eventChatMessage(name,message)
  2624.     if active == 11 or active == 13 then
  2625.         if message == tostring(number) or message == string then
  2626.             data[name].c=1
  2627.         end
  2628.     end
  2629.     if active == 12 then
  2630.         data[name].c=1
  2631.     end
  2632.     if active == 14 then
  2633.         tfm.exec.killPlayer(name)
  2634.     end
  2635.     if active == 18 then
  2636.         if message == "2018" or message == "2019" then
  2637.             data[name].c=1
  2638.         end
  2639.     end
  2640.     if active == 31 then
  2641.         if string.upper(message) == string.upper(name) then
  2642.             data[name].c=1
  2643.         end
  2644.     end
  2645.     if active == 33 then
  2646.         if string.upper(message) == string.upper(resposta) then
  2647.             data[name].c=1
  2648.         end
  2649.     end
  2650. end
  2651. function eventEmotePlayed(name,id)
  2652.     if active == 1 then
  2653.         if id == 0 or id == 10 then
  2654.             data[name].c=1
  2655.         end
  2656.     end
  2657.     if active == 2 then
  2658.         if id == 8 then
  2659.             data[name].c=1
  2660.         end
  2661.     end
  2662.     if active == 3 then
  2663.         if id == 9 then
  2664.             data[name].s=data[name].s+1
  2665.             if data[name].s >= 5 then
  2666.                 data[name].c=1
  2667.             end
  2668.         end
  2669.     end
  2670.     if active == 5 then
  2671.         if id == 3 then
  2672.             data[name].s=data[name].s+1
  2673.             if data[name].s >= 10 then
  2674.                 data[name].c=1
  2675.             end
  2676.         end
  2677.     end
  2678.     if active == 6 then
  2679.         if id == 6 then
  2680.             data[name].c=1
  2681.         end
  2682.     end
  2683.     if active == 7 then
  2684.         if id == 4 then
  2685.             data[name].c=1
  2686.         end
  2687.     end
  2688.     if active == 8 then
  2689.         if id == 2 then
  2690.             data[name].c=1
  2691.         end
  2692.     end
  2693.     if active == 16 then
  2694.         tfm.exec.killPlayer(name)
  2695.     end
  2696.     if active == 17 then
  2697.         if id == 10 then
  2698.             data[name].c=1
  2699.         end
  2700.     end
  2701.     if active == 32 then
  2702.         if id == 0 or id == 10 then
  2703.             tfm.exec.killPlayer(name)
  2704.         end
  2705.     end
  2706. end
  2707. function eventMouse(name,x,y)
  2708.     if active == 4 then
  2709.         data[name].s=data[name].s+1
  2710.         if data[name].s >= 10 then
  2711.             data[name].c=1
  2712.         end
  2713.     end
  2714. end
  2715. function eventKeyboard(name,id,down,x,y)
  2716.     if active == 9 then
  2717.         if id == 37 or id == 65 then
  2718.             tfm.exec.killPlayer(name)
  2719.         end
  2720.     end
  2721.     if active == 10 then
  2722.         if id == 39 or id == 68 then
  2723.             tfm.exec.killPlayer(name)
  2724.         end
  2725.     end
  2726.     if active == 15 then
  2727.         if id == 38 or id == 87 then
  2728.             tfm.exec.killPlayer(name)
  2729.         end
  2730.     end
  2731.     if active == 16 then
  2732.         if id == 38 or id == 87 or id == 37 or id == 65 or id == 39 or id == 68 or id == 40 or id == 83 then
  2733.             tfm.exec.killPlayer(name)
  2734.         end
  2735.     end
  2736.     if active == 26 then
  2737.         if id == 37 or id == 65 then
  2738.             data[name].s=data[name].s+1
  2739.             if data[name].s >= 30 then
  2740.                 data[name].c=1
  2741.             end
  2742.         end
  2743.     end
  2744.     if active == 27 then
  2745.         if id == 39 or id == 68 then
  2746.             data[name].s=data[name].s+1
  2747.             if data[name].s >= 30 then
  2748.                 data[name].c=1
  2749.             end
  2750.         end
  2751.     end
  2752.     if active == 28 then
  2753.         if id == 37 or id == 65 then
  2754.             data[name].s=data[name].s+1
  2755.             if data[name].s >= 60 then
  2756.                 data[name].c=1
  2757.             end
  2758.         end
  2759.     end
  2760.     if active == 29 then
  2761.         if id == 39 or id == 68 then
  2762.             data[name].s=data[name].s+1
  2763.             if data[name].s >= 60 then
  2764.                 data[name].c=1
  2765.             end
  2766.         end
  2767.     end
  2768.     if active == 34 then
  2769.         if id == 37 or id == 65 then
  2770.             data[name].s=data[name].s+1
  2771.             if data[name].s >= 200 then
  2772.                 data[name].c=1
  2773.             end
  2774.         end
  2775.     end
  2776.     if active == 35 then
  2777.         if id == 39 or id == 68 then
  2778.             data[name].s=data[name].s+1
  2779.             if data[name].s >= 200 then
  2780.                 data[name].c=1
  2781.             end
  2782.         end
  2783.     end
  2784.     if active == 30 then
  2785.         if id == 32 then
  2786.             data[name].s=data[name].s+1
  2787.             if data[name].s >= 15 then
  2788.                 data[name].c=1
  2789.             end
  2790.         end
  2791.     end
  2792. end
  2793. function eventLoop(passado,faltando)
  2794.     local tempo=math.floor(faltando/1000)
  2795.     if active == -2 then
  2796.         ui.setMapName("<N>"..text.mices.."<")
  2797.     elseif active == -1 then
  2798.         ui.setMapName("<VP>"..text.fim.."<b>"..tempo.."</b> "..text.segundos.."<")
  2799.     end
  2800.     if active >= 0 then
  2801.         if passado > 1200 and passado < 1700 and unlocked == true then
  2802.             tfm.exec.chatMessage(""..text.playingmap.." <J>"..tfm.get.room.currentMap.."<BL> "..text.created.." <J>"..tfm.get.room.xmlMapInfo.author)
  2803.         end
  2804.     end
  2805.     if rato < 4 then
  2806.         if tfm.get.room.currentMap == "@7277839" and unlocked == true then
  2807.             active=-2
  2808.             tfm.exec.setGameTime(8000)
  2809.         else
  2810.             if passado > 3000 and unlocked == true then
  2811.                 tfm.exec.newGame("@7277839")
  2812.                 tfm.exec.setGameTime(8000)
  2813.                 tfm.exec.chatMessage("<R>"..text.mices.."",nil)
  2814.             end
  2815.         end
  2816.     end
  2817.     if rato >= 4 then
  2818.         if tfm.get.room.currentMap == "@7277839" and unlocked == true then
  2819.             tfm.exec.newGame(mapas[math.random(#mapas)])
  2820.             active=0
  2821.         end
  2822.     end
  2823.     if active < 0 and faltando < 1 and unlocked == true then
  2824.         tfm.exec.newGame(mapas[math.random(#mapas)])
  2825.     end
  2826.     if active == 0 and faltando < 1000 then
  2827.         if rodada < rodadas then
  2828.             sortearComandos()
  2829.         else
  2830.             active=-1
  2831.             tfm.exec.setGameTime(10)
  2832.             for name,player in pairs(tfm.get.room.playerList) do
  2833.                 tfm.exec.giveCheese(true)
  2834.                 tfm.exec.playerVictory(true)
  2835.             end
  2836.         end
  2837.     end
  2838.     if active > 0 and faltando < 1 and rato > 1 then
  2839.         if active == 19 then
  2840.             for name,player in pairs(tfm.get.room.playerList) do
  2841.                 if tfm.get.room.playerList[name].isFacingRight == true then
  2842.                     tfm.exec.killPlayer(name)
  2843.                 end
  2844.             end
  2845.         end
  2846.         if active == 20 then
  2847.             for name,player in pairs(tfm.get.room.playerList) do
  2848.                 if tfm.get.room.playerList[name].isFacingRight == false then
  2849.                     tfm.exec.killPlayer(name)
  2850.                 end
  2851.             end
  2852.         end
  2853.         if active == 21 then
  2854.             for name,player in pairs(tfm.get.room.playerList) do
  2855.                 if player.y < 300 then
  2856.                     tfm.exec.killPlayer(name)
  2857.                 else
  2858.                     if player.x < xpos-20 or player.x > xpos+100 then
  2859.                         tfm.exec.killPlayer(name)
  2860.                     end
  2861.                 end
  2862.             end
  2863.         end
  2864.         if active == 22 then
  2865.             for name,player in pairs(tfm.get.room.playerList) do
  2866.                 if player.x < xpos or player.x > xpos+80 then
  2867.                     tfm.exec.killPlayer(name)
  2868.                 end
  2869.             end
  2870.         end
  2871.         if active == 23 then
  2872.             for name,player in pairs(tfm.get.room.playerList) do
  2873.                 if player.x > xpos and player.x < xpos+80 then
  2874.                     tfm.exec.killPlayer(name)
  2875.                 end
  2876.             end
  2877.         end
  2878.         if active == 24 then
  2879.             for name,player in pairs(tfm.get.room.playerList) do
  2880.                 if player.y < ypos-10 or player.y > ypos+70 then
  2881.                     tfm.exec.killPlayer(name)
  2882.                 end
  2883.             end
  2884.         end
  2885.         if active == 25 then
  2886.             for name,player in pairs(tfm.get.room.playerList) do
  2887.                 if player.y > ypos-10 and player.y < ypos+70 then
  2888.                     tfm.exec.killPlayer(name)
  2889.                 end
  2890.             end
  2891.         end
  2892.         ui.removeTextArea(0,nil)
  2893.         ui.removeTextArea(1,nil)
  2894.         active=0
  2895.         if rodada == 8 or rodada == 10 or rodada == 12 or rodada == 14 then
  2896.             dificuldade=dificuldade+1
  2897.         end
  2898.         for name,player in pairs(tfm.get.room.playerList) do
  2899.             if data[name].c == 0 then
  2900.                 tfm.exec.killPlayer(name)
  2901.             end
  2902.         end
  2903.         if vivo > 4 then
  2904.             tfm.exec.setGameTime(6-dificuldade)
  2905.         else
  2906.             tfm.exec.setGameTime(9-dificuldade)
  2907.         end
  2908.     end
  2909.     for name,player in pairs(tfm.get.room.playerList) do
  2910.         if data[name].c == 1 then
  2911.             tfm.exec.setNameColor(name,0x00ff00)
  2912.         else
  2913.             tfm.exec.setNameColor(name,0xc2c2da)
  2914.         end
  2915.     end
  2916. end
  2917. tfm.exec.newGame("@7277839")
  2918. end
  2919.  
  2920. initPistas = function()
  2921. tfm.exec.disableAllShamanSkills(true)
  2922. tfm.exec.disableAutoNewGame(true)
  2923. tfm.exec.disableAfkDeath(true)
  2924. tfm.exec.disableAutoTimeLeft(true)
  2925. tfm.exec.disablePhysicalConsumables(true)
  2926. tfm.exec.disableMortCommand(true)
  2927. tfm.exec.setRoomMaxPlayers(25)
  2928. pergunta=0
  2929. valendo=false
  2930. limite=6 -- Variável usada para armazenar o limite de partidas
  2931. dica10="" -- Variável usada para armazenar a dica valendo 10 pontos
  2932. dica9="" -- Variável usada para armazenar a dica valendo 9 pontos
  2933. dica8="" -- Variável usada para armazenar a dica valendo 8 pontos
  2934. resposta="" -- Variável usada para armazenar a resposta da pergunta
  2935. data={}
  2936. tempo=999 -- NÃO ALTERAR!
  2937. loop=0
  2938. system.disableChatCommandDisplay("help")
  2939. system.disableChatCommandDisplay("ratos")
  2940. system.disableChatCommandDisplay("skip")
  2941. system.disableChatCommandDisplay("shaman")
  2942. mapa="@4677521" -- Variável usada para armazenar o mapa do module
  2943. lang = {}
  2944. lang.br = {
  2945.     welcome = "<J>Bem-vindo ao module do Jogo das 3 Pistas! Não sabe como jogar? Digite !help.<br><br>Script criado por Jessiewind26#2546. Créditos adicionais a Hecarimjhenx#0000 e Miss_fortune#9548",
  2946.     time = "<R>Tempo esgotado! A resposta era ",
  2947.     fim = "<R>Partida encerrada! O jogador com melhor pontuação será o shaman!",
  2948.     shaman = "<R>Acabou o tempo! Outro shaman será escolhido.",
  2949.     c10p = "Dica valendo 10 pontos:",
  2950.     c9p = "Dica valendo 9 pontos:",
  2951.     c8p = "Dica valendo 8 pontos:",
  2952.     module = "Jogo das 3 Pistas",
  2953.     cancel = "<R>Rodada cancelada.",
  2954.     question = "<VP>Pressione G para fazer uma pergunta.",
  2955.     help = "<J>Como jogar:<br>Quando você tiver jogando, o shaman te dará 3 dicas. Se você acertar a pergunta, você ganha um número de pontos específico, dependendo de quanto tempo você demorou para responder. Quem tiver mais pontos no final vira o shaman do jogo.",
  2956.     win = "acertou a resposta! A resposta era",
  2957.     cancelled = "<R>Rodada cancelada! O shaman falou a resposta.",
  2958.     responder = "<ROSE>Podem responder agora!"
  2959. }
  2960. lang.en = {
  2961.     welcome = "<J>Welcome to 3 Tips Game! If you want help, type !help.<br><br>Script made by Jessiewind26#2546. Credits to Hecarimjhenx#0000 and Miss_fortune#9548",
  2962.     time = "<R>End of time! The answer was",
  2963.     fim = "<R>The match ended! The best player will be the shaman.",
  2964.     shaman = "<R>Time is gone! Other shaman will be selected.",
  2965.     c10p = "Tip for 10 points:",
  2966.     c9p = "Tip for 9 points:",
  2967.     c8p = "Tip for 8 points:",
  2968.     module = "3 Tips Game",
  2969.     cancel = "<R>Cancelled match.",
  2970.     question = "<VP>Press G to make a question.",
  2971.     help = "<J>How to Play:<br>When you is playing, the shaman will make 3 tips. If you discover the answer, you win points, depending of time remaining to wim. At final of the match, the player that get more points will be the shaman.",
  2972.     win = "discovered the answer! The answer was",
  2973.     cancelled = "<R>The shaman typed the answer! The question will be cancelled.",
  2974.     responder = "<ROSE>You can answer now!"
  2975. }
  2976. if tfm.get.room.community == "br" then
  2977.     text = lang.br
  2978. else
  2979.     text = lang.en
  2980. end
  2981. tfm.exec.newGame(mapa)
  2982. rato=0
  2983. function eventNewPlayer(name)
  2984.     newData={
  2985.         ["played"]=0;
  2986.             }
  2987.     data[name]=newData;
  2988.     tfm.exec.bindKeyboard(name,71,true,true)
  2989.     tfm.exec.respawnPlayer(name)
  2990.     tfm.exec.chatMessage(text.welcome,name)
  2991. end
  2992. for name,player in pairs(tfm.get.room.playerList) do
  2993.     eventNewPlayer(name)
  2994. end
  2995. function eventSummoningEnd(name,type,x,y,angle,vx,vy,obj)
  2996.     for name,player in pairs(tfm.get.room.playerList) do
  2997.         if tfm.get.room.playerList[name].isShaman then
  2998.             tfm.exec.chatMessage("<ROSE>Isn't allowed the use of shaman objects in this module.",nil)
  2999.             tfm.exec.newGame(mapa)
  3000.         end
  3001.     end
  3002. end
  3003. function eventLoop(p,f)
  3004.     loop=loop+1
  3005.     tempo=math.ceil(f/1000)
  3006.     if f < 2000 and valendo == true then
  3007.         tfm.exec.chatMessage(""..text.time..""..resposta.."",nil)
  3008.         ui.removeTextArea(1,nil)
  3009.         ui.removeTextArea(2,nil)
  3010.         ui.removeTextArea(3,nil)
  3011.         valendo=false
  3012.         tfm.exec.setGameTime(64)
  3013.     end
  3014.     if pergunta == limite and valendo == false then
  3015.         tfm.exec.chatMessage(text.fim,nil)
  3016.         tfm.exec.newGame(mapa)
  3017.     end
  3018.     if f <= 100 then
  3019.         tfm.exec.chatMessage(text.shaman,nil)
  3020.         tfm.exec.newGame(mapa)
  3021.     end
  3022.     if loop == 10 then
  3023.         for name,player in pairs(tfm.get.room.playerList) do
  3024.             tfm.exec.setPlayerScore(name,0,false)
  3025.         end
  3026.     end
  3027.     if valendo == true and f <= 59000 then
  3028.         ui.addTextArea(1,"<font size='17'><p align='center'><font face='Segoe UI'><J>"..text.c10p.." <b>"..dica10.."",nil,5,30,780,32,0x000001,0x000001,0.9,true)
  3029.     end
  3030.     if valendo == true and f <= 49000 then
  3031.         ui.addTextArea(2,"<font size='17'><p align='center'><font face='Segoe UI'><J>"..text.c9p..": <b>"..dica9.."",nil,5,70,780,32,0x000001,0x000001,0.9,true)
  3032.     end
  3033.     if valendo == true and f <= 39000 then
  3034.         ui.addTextArea(3,"<font size='17'><p align='center'><font face='Segoe UI'><J>"..text.c8p.." <b>"..dica8.."",nil,5,110,780,32,0x000001,0x000001,0.9,true)
  3035.     end
  3036.     ui.setMapName("<J>"..text.module.."   <G>|   <N>Question : <V>"..pergunta.."/"..limite.."   <G>|   <N>Time : <V>"..tempo.."s   <G>|   <N>Compilation RTM 8<")
  3037. end
  3038. function eventChatCommand(name,message)
  3039.     if message == "skip" then
  3040.         if name == "Jessiewind26#2546" or name == "Hecarimjhenx#0000" or name == "Miss_fortune#9548"  then
  3041.             tfm.exec.chatMessage(text.cancel,nil)
  3042.             tfm.exec.newGame(mapa)
  3043.         end
  3044.     end
  3045.     if(message:sub(1,6) == "limite") then
  3046.         if name == "Jessiewind26#2546" or name == "Hecarimjhenx#0000" or name == "Miss_fortune#9548"  then
  3047.             limite=tonumber(message:sub(8))
  3048.         end
  3049.     end
  3050.     if(message:sub(1,5) == "ratos") then
  3051.         if name == "Jessiewind26#2546" or name == "Hecarimjhenx#0000" or name == "Miss_fortune#9548"  then
  3052.             tfm.exec.setRoomMaxPlayers(message:sub(7))
  3053.         end
  3054.     end
  3055.     if(message:sub(1,6) == "shaman") then
  3056.         if name == "Jessiewind26#2546" or name == "Hecarimjhenx#0000" or name == "Miss_fortune#9548"  then
  3057.             tfm.exec.setPlayerScore(message:sub(8),9999,false)
  3058.             tfm.exec.newGame(mapa)
  3059.         end
  3060.     end
  3061.     if message == "help" then
  3062.         tfm.exec.chatMessage(text.help,name)
  3063.     end
  3064. end
  3065. function eventNewGame()
  3066.     loop=0
  3067.     ui.removeTextArea(1,nil)
  3068.     ui.removeTextArea(2,nil)
  3069.     ui.removeTextArea(3,nil)
  3070.     pistas={p10="",p9="",p8=""}
  3071.     valendo=false
  3072.     pergunta=0
  3073.     tfm.exec.setGameTime(64)
  3074.     rato=0
  3075.     for name,player in pairs(tfm.get.room.playerList) do
  3076.         if tfm.get.room.playerList[name].isShaman then
  3077.             if data[name] then
  3078.                 data[name].played=1
  3079.                 tfm.exec.chatMessage(text.question,name)
  3080.             end
  3081.         end
  3082.         tfm.exec.bindKeyboard(name,71,true,true)
  3083.         rato=rato+1
  3084.         tfm.exec.setPlayerScore(name,0,false)
  3085.     end
  3086. end
  3087. function eventChatMessage(name,message)
  3088.      if string.upper(message) == string.upper(resposta) and valendo == true then
  3089.         if tfm.get.room.playerList[name].isShaman == false then
  3090.             if tempo >= 50 then
  3091.                 tfm.exec.setPlayerScore(name,10,true)
  3092.             elseif tempo >= 40 and tempo < 50 then
  3093.                 tfm.exec.setPlayerScore(name,9,true)
  3094.             elseif tempo < 40 then
  3095.                 tfm.exec.setPlayerScore(name,8,true)
  3096.             end
  3097.             valendo=false
  3098.             tfm.exec.setGameTime(64)
  3099.             tfm.exec.chatMessage("<VP>"..name.." "..text.win.." "..string.upper(resposta).."",nil)
  3100.             resposta=""
  3101.             ui.removeTextArea(1,nil)
  3102.             ui.removeTextArea(2,nil)
  3103.             ui.removeTextArea(3,nil)
  3104.         end
  3105.     end
  3106. end
  3107. function eventKeyboard(name,key)
  3108.     if tfm.get.room.playerList[name].isShaman then
  3109.         ui.addPopup(0,2,text.c10p,name,350,125,200,true)
  3110.     end
  3111. end
  3112. function eventPopupAnswer(id,name,answer)
  3113.     if tfm.get.room.playerList[name].isShaman then
  3114.     if id == 0 then
  3115.         dica10=answer
  3116.         ui.addPopup(1,2,text.c9p,name,350,125,200,true)
  3117.     end
  3118.     if id == 1 then
  3119.         dica9=answer
  3120.         ui.addPopup(2,2,text.c8p,name,350,125,200,true)
  3121.     end
  3122.     if id == 2 then
  3123.         dica8=answer
  3124.         ui.addPopup(3,2,"Insert the ANSWER:",name,350,125,200,true)
  3125.     end
  3126.     if id == 3 then
  3127.         if string.len(answer) >= 2 and string.len(answer) <= 80 then
  3128.             pergunta=pergunta+1
  3129.             resposta=string.upper(answer)
  3130.             tfm.exec.setGameTime(64)
  3131.             valendo=true
  3132.         else
  3133.             ui.addPopup(3,2,"Insert the ANSWER:",name,350,125,200,true)
  3134.         end
  3135.     end
  3136.     end
  3137. end
  3138. function eventPlayerDied(name)
  3139.     if tfm.get.room.playerList[name].isShaman then
  3140.         tfm.exec.newGame(mapa)
  3141.     end
  3142. end
  3143. end
  3144.  
  3145. initFall = function()
  3146. tfm.exec.disableAutoNewGame(true)
  3147. dados2={type = 12,width = 10,height = 3000,foregound = 0,friction = 0.0,restitution = 0.0,angle = 0,color = 0x6a7495,miceCollision = true,groundCollision = true,dynamic = false}
  3148. tfm.exec.disableAutoShaman(true)
  3149. tfm.exec.disableAutoTimeLeft(true)
  3150. tfm.exec.disableAutoScore(true)
  3151. tfm.exec.disableAfkDeath(true)
  3152. tfm.exec.disableMortCommand(true)
  3153. tfm.exec.disableMinimalistMode(true)
  3154. tfm.exec.disableDebugCommand(true)
  3155. tfm.exec.setRoomMaxPlayers(30)
  3156. loop=0
  3157. pos=0
  3158. first=""
  3159. objetivo=300
  3160. disparador=true
  3161. bonus=true
  3162. valendo=false
  3163. tempo=60
  3164. lvexp=0
  3165. mapas={'<C><P F="0" L="10500" H="10500" /><Z><S><S L="3000" H="3000" X="1" Y="2121" T="6" P="0,0,0.3,0.2,45,0,0,0" /><S L="50" H="10" X="-58" Y="38" T="0" P="0,0,0.3,0.2,0,0,0,0" /><S L="3000" X="2120" H="3000" Y="4240" T="6" P="0,0,0.3,0.2,45,0,0,0" /><S L="3000" H="3000" X="4241" Y="6361" T="6" P="0,0,0.3,0.2,45,0,0,0" /><S L="3000" X="6361" H="3000" Y="8482" T="6" P="0,0,0.3,0.2,45,0,0,0" /><S L="3000" H="3000" X="8481" Y="10603" T="6" P="0,0,0.3,0.2,45,0,0,0" /></S><D><DS Y="18" X="-57" /><P C="8a311b" Y="293" T="19" P="0,0" X="315" /><P P="0,0" Y="643" T="16" X="655" /><P P="0,0" Y="937" T="68" X="925" /><P P="0,0" Y="1258" T="67" X="1263" /><P C="cdc5bc,623b2a" Y="1641" T="105" P="0,0" X="1649" /><P C="623b2a" Y="2055" T="104" P="0,0" X="2102" /><P P="0,0" Y="2596" T="17" X="2643" /><P C="46788e" Y="3127" T="24" P="0,0" X="3172" /><P C="46788e" Y="3597" T="24" P="0,0" X="3652" /><P C="623b2a" Y="4127" T="104" P="0,0" X="4174" /><P C="623b2a" Y="4126" T="104" P="0,0" X="4347" /><P C="623b2a" Y="4126" T="104" P="0,0" X="4520" /><P C="8a311b" Y="4827" T="19" P="0,0" X="4848" /><P P="0,0" Y="5241" T="16" X="5255" /><P P="0,0" Y="5686" T="16" X="5693" /><P C="8a311b" Y="5977" T="19" P="0,0" X="5996" /><P P="0,0" Y="6265" T="67" X="6267" /><P X="6554" Y="6555" T="16" P="0,0" /><P X="6942" Y="6937" T="16" P="0,0" /><P X="7258" Y="7210" T="17" P="0,0" /><P X="7376" Y="7210" T="17" P="0,0" /><P C="8a311b" Y="7673" T="19" X="7689" P="0,0" /><P X="8040" Y="8028" T="68" P="0,0" /><P C="623b2a" Y="8433" T="104" X="8484" P="0,0" /><P C="623b2a" Y="8432" T="104" X="8659" P="0,0" /><P C="cdc5bc,623b2a" Y="8892" T="105" X="8898" P="0,0" /><P C="cdc5bc,623b2a" Y="9236" T="105" X="9241" P="0,0" /><P C="e8e9eb,31a7cf" Y="9551" T="119" X="9553" P="0,0" /><P C="e8e9eb,31a7cf" Y="9544" T="119" X="9757" P="0,0" /><P C="e8e9eb,31a7cf" Y="9543" T="119" X="9984" P="0,0" /><P C="784939,a31638" Y="9994" T="127" X="10000" P="0,0" /><P C="cdc5bc,623b2a" Y="10321" T="105" X="10326" P="0,0" /></D><O /></Z></C>','<C><P DS="m;-50,0,-51,1" F="5" L="10500" H="10500" /><Z><S><S L="3000" H="3000" X="511" Y="2079" T="1" P="0,0,0.3,0.2,30,0,0,0" /><S L="50" H="10" X="-58" Y="38" T="0" P="0,0,0.3,0.2,0,0,0,0" /><S L="3000" X="3054" H="3000" Y="3593" T="1" P="0,0,0.3,0.2,30,0,0,0" /><S L="3000" H="3000" X="5596" Y="5126" T="1" P="0,0,0.3,0.2,30,0,0,0" /><S L="3000" X="8120" H="3000" Y="6701" T="1" P="0,0,0.3,0.2,30,0,0,0" /><S L="3000" H="3000" X="8481" Y="10603" T="1" P="0,0,0.3,0.2,30,0,0,0" /><S L="10" X="315" H="50" Y="216" T="1" P="0,0,0,0.2,30,0,0,0" /><S L="10" H="50" X="1768" Y="1054" T="1" P="0,0,0,0.2,30,0,0,0" /><S L="10" H="98" X="1212" Y="706" T="1" P="0,0,0,0.2,30,0,0,0" /><S L="10" H="50" X="860" Y="534" T="1" P="0,0,0,0.2,30,0,0,0" /><S L="10" H="50" X="562" Y="360" T="1" P="0,0,0,0.2,30,0,0,0" /><S L="10" X="2230" H="25" Y="1339" T="1" P="0,0,0,0.2,30,0,0,0" /><S L="10" H="192" X="2753" Y="1587" T="1" P="0,0,0,0.2,30,0,0,0" /><S L="10" X="3225" H="256" Y="1827" T="1" P="0,0,0,0.2,30,0,0,0" /><S L="10" H="320" X="3915" Y="2186" T="1" P="0,0,0,0.2,30,0,0,0" /><S L="10" X="4387" H="128" Y="2574" T="1" P="0,0,0,0.2,30,0,0,0" /><S L="10" H="64" X="4879" Y="2891" T="1" P="0,0,0,0.2,30,0,0,0" /><S L="10" X="5314" H="64" Y="3206" T="1" P="0,0,0,0.2,30,0,0,0" /><S L="10" H="32" X="5586" Y="3374" T="1" P="0,0,0,0.2,30,0,0,0" /><S L="10" X="5951" H="16" Y="3596" T="1" P="0,0,0,0.2,30,0,0,0" /><S L="10" H="64" X="6264" Y="3749" T="1" P="0,0,0,0.2,30,0,0,0" /><S L="10" X="6798" H="256" Y="3950" T="1" P="0,0,0,0.2,30,0,0,0" /><S c="2" L="10" H="512" X="7480" Y="4199" T="1" P="0,0,0,0.2,30,0,0,0" /><S L="10" X="8069" H="80" Y="4900" T="1" P="0,0,0,0.2,30,0,0,0" /><S L="10" X="8436" H="50" Y="5128" T="1" P="0,0,0,0.2,30,0,0,0" /><S L="10" H="50" X="8815" Y="5355" T="1" P="0,0,0,0.2,30,0,0,0" /><S L="10" H="50" X="9284" Y="5614" T="1" P="0,0,0,0.2,30,0,0,0" /><S L="10" X="9623" H="50" Y="5820" T="1" P="0,0,0,0.2,30,0,0,0" /><S L="10" X="10183" H="128" Y="6090" T="1" P="0,0,0,0.2,30,0,0,0" /></S><D /><O /></Z></C>','<C><P F="2" L="7500" H="10500" /><Z><S><S L="35" X="-17" H="10" Y="40" T="0" P="0,0,0.3,0.2,0,0,0,0" /><S L="3000" X="-551" H="3000" Y="2094" T="3" P="0,0,0,0,60,0,0,0" /><S L="3000" H="3000" X="949" Y="4691" T="3" P="0,0,0,0,60,0,0,0" /><S L="3000" X="2449" H="3000" Y="7289" T="3" P="0,0,0,0,60,0,0,0" /><S L="3000" H="3000" X="3948" Y="9886" T="3" P="0,0,0,0,60,0,0,0" /></S><D><DS Y="16" X="-15" /><P P="0,0" C="784939,a31638" Y="298" T="127" X="156" /><P P="0,0" C="784939,a31638" Y="629" T="127" X="348" /><P P="0,0" C="784939,a31638" Y="628" T="127" X="378" /><P P="0,0" C="784939,a31638" Y="996" T="127" X="649" /><P P="0,0" C="784939,a31638" Y="988" T="127" X="773" /><P P="0,0" C="784939,a31638" Y="988" T="127" X="922" /><P P="0,0" C="784939,a31638" Y="1575" T="127" X="898" /><P P="0,0" C="784939,a31638" Y="1994" T="127" X="1229" /><P P="0,0" C="784939,a31638" Y="2411" T="127" X="1377" /><P P="0,0" C="784939,a31638" Y="2758" T="127" X="1580" /><P P="0,0" C="784939,a31638" Y="2750" T="127" X="1671" /><P P="0,0" C="784939,a31638" Y="2741" T="127" X="1808" /><P P="0,0" C="784939,a31638" Y="2736" T="127" X="2011" /><P P="0,0" C="784939,a31638" Y="3304" T="127" X="1896" /><P P="0,0" C="784939,a31638" Y="3297" T="127" X="2021" /><P P="0,0" C="784939,a31638" Y="3299" T="127" X="2174" /><P P="0,0" C="784939,a31638" Y="3636" T="127" X="2085" /><P P="0,0" C="784939,a31638" Y="4167" T="127" X="2390" /><P P="0,0" C="784939,a31638" Y="4581" T="127" X="2630" /><P P="0,0" C="784939,a31638" Y="4971" T="127" X="2855" /><P P="0,0" C="784939,a31638" Y="4969" T="127" X="2893" /><P P="0,0" C="784939,a31638" Y="4965" T="127" X="2937" /><P P="0,0" C="784939,a31638" Y="4960" T="127" X="3057" /><P P="0,0" C="784939,a31638" Y="4960" T="127" X="3100" /><P P="0,0" C="784939,a31638" Y="4959" T="127" X="3147" /><P P="0,0" C="784939,a31638" Y="5470" T="127" X="3144" /><P P="0,0" C="784939,a31638" Y="5864" T="127" X="3370" /><P P="0,0" C="784939,a31638" Y="6287" T="127" X="3610" /><P P="0,0" C="784939,a31638" Y="8281" T="127" X="4768" /><P P="0,0" C="784939,a31638" Y="8773" T="127" X="5050" /><P P="0,0" C="784939,a31638" Y="9481" T="127" X="5458" /><P P="0,0" C="784939,a31638" Y="9995" T="127" X="5752" /><P P="0,0" C="784939,a31638" Y="9984" T="127" X="5799" /><P P="0,0" C="784939,a31638" Y="9967" T="127" X="5854" /><P P="0,0" C="784939,a31638" Y="9954" T="127" X="5907" /><P P="0,0" C="784939,a31638" Y="9933" T="127" X="5974" /><P P="0,0" C="784939,a31638" Y="9911" T="127" X="6045" /><P P="0,0" C="784939,a31638" Y="9876" T="127" X="6137" /><P P="0,0" C="784939,a31638" Y="9839" T="127" X="6247" /></D><O /></Z></C>','<C><P F="8" L="10500" H="10500" /><Z><S><S L="45" H="10" X="-23" Y="62" T="0" P="0,0,0.3,0.2,0,0,0,0" /><S L="3000" H="1500" X="748" Y="1900" T="10" P="0,0,0.3,0,37,0,0,0" /><S L="3000" X="3143" H="1500" Y="3705" T="10" P="0,0,0.3,0,37,0,0,0" /><S L="3000" H="1500" X="5537" Y="5509" T="10" P="0,0,0.3,0,37,0,0,0" /><S L="3000" X="7931" H="1500" Y="7313" T="10" P="0,0,0.3,0,37,0,0,0" /></S><D><DS Y="45" X="-21" /><P P="0,0" C="623b2a" Y="841" T="104" X="626" /><P P="0,0" C="623b2a" Y="1166" T="104" X="1056" /><P P="0,0" C="623b2a" Y="1732" T="104" X="1809" /><P P="0,0" C="623b2a" Y="4346" T="104" X="5272" /><P P="0,0" C="623b2a" Y="4345" T="104" X="5446" /><P P="0,0" C="623b2a" Y="4344" T="104" X="5621" /><P P="0,0" C="623b2a" Y="6242" T="104" X="7791" /><P P="0,0" C="623b2a" Y="6239" T="104" X="8092" /><P P="0,0" C="623b2a" Y="6238" T="104" X="8427" /><P P="0,0" C="623b2a" Y="6238" T="104" X="8797" /><P P="0,0" C="623b2a" Y="6847" T="104" X="8592" /><P P="0,0" C="623b2a" Y="7194" T="104" X="9057" /><P P="0,0" C="623b2a" Y="7624" T="104" X="9620" /><P P="0,0" C="623b2a" Y="7450" T="104" X="9388" /><P P="0,0" C="623b2a" Y="7045" T="104" X="8855" /><P P="0,0" C="623b2a" Y="650" T="104" X="374" /><P P="0,0" C="623b2a" Y="1472" T="104" X="1461" /></D><O /></Z></C>','<C><P F="0" L="9000" G="5,10" H="3000" /><Z><S><S L="3000" H="3000" X="1500" Y="1500" T="9" P="0,0,,,,0,0,0" /><S L="3000" H="3000" X="4500" Y="1500" T="9" P="0,0,,,,0,0,0" /><S L="3000" X="7500" H="3000" Y="1500" T="9" P="0,0,,,,0,0,0" /><S L="85" H="10" X="-43" Y="74" T="0" P="0,0,0.3,0.2,0,0,0,0" /><S L="3000" X="1430" H="1500" Y="948" T="5" P="0,0,0.3,0.2,5,0,0,0" /><S P="0,0,0.3,0.2,0,0,0,0" L="3000" o="324650" X="1460" Y="-5" T="12" H="10" /><S L="10" H="10" X="4" Y="56" T="0" P="0,0,0.3,0.2,0,0,0,0" /><S L="881" o="324650" H="1919" X="-476" Y="300" T="12" P="0,0,0.3,0.2,0,0,0,0" /><S L="3000" o="324650" X="4460" H="10" Y="-5" T="12" P="0,0,0.3,0.2,0,0,0,0" /><S P="0,0,0.3,0.2,0,0,0,0" L="3000" o="324650" H="10" Y="-5" T="12" X="7460" /><S L="3000" H="1500" X="4336" Y="1331" T="5" P="0,0,0.3,0.2,10,0,0,0" /><S L="3000" X="7096" H="1500" Y="2071" T="5" P="0,0,0.3,0.2,20,0,0,0" /><S L="3000" H="1500" X="8284" Y="3489" T="5" P="0,0,0.3,0.2,80,0,0,0" /><S L="10" H="74" X="878" Y="36" T="5" P="0,0,0.3,0.2,5,0,0,0" /><S L="10" X="1412" H="74" Y="158" T="5" P="0,0,0.3,0.2,5,0,0,0" /><S L="10" H="74" X="2882" Y="163" T="5" P="0,0,0.3,0.2,5,0,0,0" /><S L="10" H="74" X="2894" Y="37" T="5" P="0,0,0.3,0.2,5,0,0,0" /><S L="10" H="74" X="2410" Y="149" T="5" P="0,0,0.3,0.2,5,0,0,0" /><S L="10" H="74" X="1850" Y="195" T="5" P="0,0,0.3,0.2,5,0,0,0" /><S L="10" H="74" X="1863" Y="38" T="5" P="0,0,0.3,0.2,5,0,0,0" /><S L="10" X="2872" H="74" Y="285" T="5" P="0,0,0.3,0.2,5,0,0,0" /><S L="10" X="3402" H="74" Y="118" T="5" P="0,0,0.3,0.2,5,0,0,0" /><S L="10" H="74" X="3389" Y="282" T="5" P="0,0,0.3,0.2,5,0,0,0" /><S L="10" X="3856" H="74" Y="87" T="5" P="0,0,0.3,0.2,5,0,0,0" /><S L="10" H="74" X="3825" Y="379" T="5" P="0,0,0.3,0.2,5,0,0,0" /><S L="10" X="4279" H="74" Y="36" T="5" P="0,0,0.3,0.2,5,0,0,0" /><S L="10" H="74" X="4239" Y="517" T="5" P="0,0,0.3,0.2,5,0,0,0" /><S L="10" X="4261" H="74" Y="270" T="5" P="0,0,0.3,0.2,5,0,0,0" /><S L="10" H="205" X="4769" Y="102" T="5" P="0,0,0.3,0.2,5,0,0,0" /><S L="10" X="4733" H="205" Y="536" T="5" P="0,0,0.3,0.2,5,0,0,0" /><S L="10" H="205" X="5289" Y="634" T="5" P="0,0,0.3,0.2,5,0,0,0" /><S L="10" X="5943" H="205" Y="104" T="5" P="0,0,0.3,0.2,5,0,0,0" /><S L="10" H="410" X="6508" Y="501" T="5" P="0,0,0.3,0.2,20,0,0,0" /><S L="10" X="7226" H="410" Y="196" T="5" P="0,0,0.3,0.2,20,0,0,0" /><S L="10" H="410" X="6946" Y="1001" T="5" P="0,0,0.3,0.2,20,0,0,0" /><S L="10" X="7895" H="820" Y="738" T="5" P="0,0,0.3,0.2,20,0,0,0" /><S L="10" H="820" X="8812" Y="385" T="5" P="0,0,0.3,0.2,20,0,0,0" /><S L="10" X="8469" H="820" Y="1337" T="5" P="0,0,0.3,0.2,20,0,0,0" /></S><D><DS Y="52" X="-17" /></D><O /></Z></C>','<C><P F="1" L="9201" H="2150" /><Z><S><S L="79" H="10" X="97" Y="149" T="6" P="0,0,0.3,0.2,0,0,0,0" /><S L="600" H="948" X="214" Y="653" T="6" P="0,0,0.1,0.1,10,0,0,0" /><S L="600" H="911" X="808" Y="741" T="1" P="0,0,0,0.2,10,0,0,0" /><S L="360" H="869" X="1284" Y="803" T="4" P="0,0,20,0.2,10,0,0,0" /><S L="800" X="1850" H="894" Y="918" T="5" P="0,0,0.3,0.2,10,0,0,0" /><S L="500" X="2488" H="903" Y="1035" T="2" P="0,0,0,1.2,10,0,0,0" /><S P="0,0,0.3,0.2,0,0,0,0" L="3000" o="324650" X="3800" Y="-500" T="12" H="10" /><S L="200" X="2828" H="944" Y="1116" T="3" P="0,0,0,20,10,0,0,0" /><S L="700" X="3275" H="910" Y="1178" T="0" P="0,0,0.3,0.2,10,0,0,0" /><S L="250" X="3748" H="828" Y="1216" T="8" P="0,0,0.3,0.2,10,0,0,0" /><S L="250" X="3677" H="10" Y="1625" T="0" P="0,0,0.3,0.2,10,0,0,0" /><S L="10" X="3875" H="822" Y="1248" T="4" P="0,0,20,0.2,10,0,0,0" /><S P="0,0,0.3,0.2,10,0,0,0" L="600" o="324650" X="4153" Y="1438" T="12" H="1100" /><S L="1000" X="4950" H="1000" Y="1529" T="1" P="0,0,0,0.2,10,0,0,0" /><S L="550" X="5718" H="945" Y="1636" T="4" P="0,0,20,0.2,10,0,0,0" /><S L="1000" H="1000" X="6477" Y="1800" T="1" P="0,0,0,0.2,10,0,0,0" /><S L="600" H="930" X="7269" Y="1904" T="0" P="0,0,0.3,0.2,10,0,0,0" /><S L="330" H="803" X="7738" Y="1922" T="4" P="0,0,20,0.2,10,0,0,0" /><S L="500" H="801" X="8147" Y="1993" T="7" P="0,0,0.1,0.2,10,0,0,0" /><S L="555" H="728" X="8673" Y="2049" T="2" P="0,0,0,1.2,10,0,0,0" /><S L="250" H="1500" X="9189" Y="1441" T="1" P="0,0,0,0.2,10,0,0,0" /></S><D><DS Y="131" X="47" /></D><O /></Z></C>','<C><P F="5" G="5,10" L="9830" H="1000" /><Z><S><S L="3000" X="1408" H="2000" Y="1190" T="11" P="0,0,0.05,0.1,5,0,0,0" /><S L="3000" H="2000" X="4396" Y="1452" T="11" P="0,0,0.05,0.1,5,0,0,0" /><S L="3000" X="7384" H="2000" Y="1714" T="11" P="0,0,0.05,0.1,5,0,0,0" /><S L="3000" H="2000" X="10372" Y="1976" T="11" P="0,0,0.05,0.1,5,0,0,0" /><S L="426" o="6a7495" H="767" X="-214" Y="118" T="12" P="0,0,0.3,0.2,0,0,0,0" /></S><D><P P="0,0" Y="103" T="68" X="424" /><P P="0,0" Y="146" T="68" X="899" /><P P="0,0" Y="195" T="68" X="1460" /><P P="0,0" Y="238" T="68" X="1987" /><P P="0,0" Y="290" T="68" X="2561" /><P P="0,0" Y="336" T="68" X="3063" /><P P="0,0" Y="377" T="68" X="3553" /><P P="0,0" Y="417" T="68" X="4003" /><P P="0,0" Y="460" T="68" X="4474" /><P P="0,0" Y="493" T="68" X="4873" /><P P="0,0" Y="531" T="68" X="5289" /><P P="0,0" Y="571" T="68" X="5747" /><P P="0,0" Y="611" T="68" X="6234" /><P P="0,0" Y="661" T="68" X="6818" /><P P="0,0" Y="702" T="68" X="7246" /><P P="0,0" Y="754" T="68" X="7804" /><P P="0,0" Y="784" T="68" X="8225" /><P P="0,0" Y="827" T="68" X="8691" /><P P="0,0" Y="872" T="68" X="9179" /><P P="0,0" Y="920" T="68" X="9762" /><P P="0,0" Y="671" T="68" X="8944" /><P P="0,0" Y="644" T="68" X="8492" /><P P="0,0" Y="663" T="68" X="8021" /><P P="0,0" Y="628" T="68" X="7551" /><P P="0,0" Y="601" T="68" X="7048" /><P P="0,0" Y="548" T="68" X="6487" /><P P="0,0" Y="495" T="68" X="6005" /><P P="0,0" Y="467" T="68" X="5521" /><P P="0,0" Y="441" T="68" X="5088" /><P P="0,0" Y="401" T="68" X="4692" /><P P="0,0" Y="351" T="68" X="4214" /><P P="0,0" Y="326" T="68" X="3800" /><P P="0,0" Y="294" T="68" X="3289" /><P P="0,0" Y="236" T="68" X="2818" /><P P="0,0" Y="186" T="68" X="2274" /><P P="0,0" Y="128" T="68" X="1731" /><P P="0,0" Y="100" T="68" X="1167" /><P P="0,0" Y="66" T="68" X="691" /><P P="0,0" Y="67" T="68" X="33" /><DS Y="16" X="33" /></D><O /></Z></C>','<C><P F="5" H="7600" L="6500" /><Z><S><S L="3000" H="3000" X="369" Y="2161" T="11" P="0,0,0.05,0.1,35,0,0,0" /><S L="10" H="10" X="59" Y="98" T="0" P="0,0,0.3,0.2,0,0,0,0" /><S L="3000" X="2089" H="3000" Y="3881" T="11" P="0,0,0.05,0.1,55,0,0,0" /><S L="3000" H="3000" X="3117" Y="6086" T="11" P="0,0,0.05,0.1,75,0,0,0" /></S><D><DS Y="67" X="20" /><P P="0,0" Y="254" T="17" X="309" /><P P="0,0" Y="510" T="17" X="667" /><P P="0,0" Y="506" T="17" X="968" /><P P="0,0" Y="775" T="17" X="1047" /><P P="0,0" Y="775" T="17" X="1291" /><P P="0,0" Y="771" T="17" X="1603" /><P P="0,0" Y="1155" T="17" X="1746" /><P P="0,0" Y="1518" T="17" X="2208" /><P P="0,0" Y="1793" T="17" X="2615" /><P X="3009" Y="1792" T="17" P="0,0" /><P P="0,0" Y="2159" T="17" X="2981" /><P X="3457" Y="2518" T="17" P="0,0" /><P P="0,0" Y="2532" T="17" X="3015" /><P X="3491" Y="2860" T="17" P="0,0" /><P P="0,0" Y="3479" T="17" X="3668" /><P X="4233" Y="4282" T="17" P="0,0" /><P P="0,0" Y="4655" T="17" X="4863" /><P X="4598" Y="5185" T="17" P="0,0" /><P P="0,0" Y="5777" T="17" X="4638" /><P X="5143" Y="5779" T="17" P="0,0" /><P P="0,0" Y="6257" T="17" X="5049" /><P X="5069" Y="6685" T="17" P="0,0" /><P P="0,0" Y="7146" T="17" X="5005" /></D><O /></Z></C>','<C><P F="3" L="9000" H="7200" /><Z><S><S L="3000" X="180" H="3000" Y="2200" T="2" P="0,0,0,0.4,40,0,0,0" /><S L="10" X="90" H="10" Y="156" T="0" P="0,0,0.3,0.2,0,0,0,0" /><S L="3000" H="3000" X="2809" Y="4040" T="2" P="0,0,0,0.6,30,0,0,0" /><S L="3000" X="5717" H="3000" Y="5396" T="2" P="0,0,0,0.8,20,0,0,0" /><S L="3000" H="3000" X="8817" Y="6227" T="2" P="0,0,0,1,10,0,0,0" /><S L="100" H="100" X="494" Y="277" T="2" P="0,0,0,0.8,45,0,0,0" /><S L="100" X="1593" H="100" Y="746" T="2" P="0,0,0,0.8,45,0,0,0" /><S L="100" H="100" X="1024" Y="747" T="2" P="0,0,0,0.8,45,0,0,0" /><S L="100" X="1156" H="100" Y="291" T="2" P="0,0,0,0.8,45,0,0,0" /><S L="100" X="1183" H="100" Y="1042" T="2" P="0,0,0,0.8,45,0,0,0" /><S L="100" H="100" X="1702" Y="1465" T="2" P="0,0,0,0.8,45,0,0,0" /><S L="100" X="1729" H="100" Y="1044" T="2" P="0,0,0,0.8,45,0,0,0" /><S L="100" X="2274" H="100" Y="1956" T="2" P="0,0,0,0.8,45,0,0,0" /><S L="100" H="100" X="2496" Y="1383" T="2" P="0,0,0,0.8,45,0,0,0" /><S L="100" X="3046" H="100" Y="1889" T="2" P="0,0,0,0.8,45,0,0,0" /><S L="100" H="100" X="3135" Y="2455" T="2" P="0,0,0,0.8,30,0,0,0" /><S L="100" X="4145" H="100" Y="3036" T="2" P="0,0,0,0.8,30,0,0,0" /><S L="100" H="100" X="3900" Y="2334" T="2" P="0,0,0,0.8,30,0,0,0" /><S L="100" H="100" X="4867" Y="3453" T="2" P="0,0,0,0.8,30,0,0,0" /><S L="100" X="6069" H="100" Y="3900" T="2" P="0,0,0,0.8,20,0,0,0" /><S L="100" H="100" X="5480" Y="3368" T="2" P="0,0,0,0.8,20,0,0,0" /><S L="100" X="7113" H="100" Y="4274" T="2" P="0,0,0,0.8,20,0,0,0" /><S L="100" H="100" X="6706" Y="3663" T="2" P="0,0,0,0.8,20,0,0,0" /><S L="100" H="100" X="7850" Y="4495" T="2" P="0,0,0,0.8,10,0,0,0" /><S L="100" X="7565" H="100" Y="3985" T="2" P="0,0,0,0.8,10,0,0,0" /><S L="100" X="8614" H="100" Y="4629" T="2" P="0,0,0,0.8,10,0,0,0" /><S L="100" H="100" X="8388" Y="4169" T="2" P="0,0,0,0.8,10,0,0,0" /></S><D><DS Y="101" X="6" /></D><O /></Z></C>','<C><P F="1" L="12000" H="7000" /><Z><S><S L="3000" H="3000" X="547" Y="2126" T="0" P="0,0,0.3,0.2,30,0,0,0" /><S L="10" H="49" X="54" Y="91" T="0" P="0,0,0.3,0.2,30,0,0,0" /><S L="3000" X="3120" H="3000" Y="3612" T="0" P="0,0,0.3,0.2,30,0,0,0" /><S L="3000" H="3000" X="5692" Y="5097" T="0" P="0,0,0.3,0.2,30,0,0,0" /><S L="3000" X="8262" H="3000" Y="6582" T="0" P="0,0,0.3,0.2,30,0,0,0" /><S L="3000" H="3000" X="10838" Y="8069" T="0" P="0,0,0.3,0.2,30,0,0,0" /><S L="10" X="353" H="49" Y="266" T="0" P="0,0,0.3,0.2,30,0,0,0" /><S L="10" H="49" X="681" Y="455" T="0" P="0,0,0.3,0.2,30,0,0,0" /><S L="10" X="1009" H="49" Y="646" T="0" P="0,0,0.3,0.2,30,0,0,0" /><S L="10" H="49" X="1302" Y="814" T="0" P="0,0,0.3,0.2,30,0,0,0" /><S L="10" X="1657" H="49" Y="1019" T="0" P="0,0,0.3,0.2,30,0,0,0" /><S L="10" H="49" X="1954" Y="1191" T="0" P="0,0,0.3,0.2,30,0,0,0" /><S L="10" X="2262" H="49" Y="1369" T="0" P="0,0,0.3,0.2,30,0,0,0" /><S L="10" H="49" X="2590" Y="1559" T="0" P="0,0,0.3,0.2,30,0,0,0" /><S L="10" X="2934" H="49" Y="1757" T="0" P="0,0,0.3,0.2,30,0,0,0" /><S L="10" H="49" X="3266" Y="1950" T="0" P="0,0,0.3,0.2,30,0,0,0" /><S L="10" X="3584" H="49" Y="2132" T="0" P="0,0,0.3,0.2,30,0,0,0" /><S L="10" H="49" X="3963" Y="2347" T="0" P="0,0,0.3,0.2,30,0,0,0" /><S L="10" X="4315" H="49" Y="2555" T="0" P="0,0,0.3,0.2,30,0,0,0" /><S L="10" H="49" X="4619" Y="2732" T="0" P="0,0,0.3,0.2,30,0,0,0" /><S L="10" X="4850" H="49" Y="2862" T="0" P="0,0,0.3,0.2,30,0,0,0" /><S L="10" H="49" X="6557" Y="3849" T="0" P="0,0,0.3,0.2,30,0,0,0" /><S L="10" X="6909" H="49" Y="4053" T="0" P="0,0,0.3,0.2,30,0,0,0" /><S L="10" H="49" X="7161" Y="4198" T="0" P="0,0,0.3,0.2,30,0,0,0" /><S L="10" X="7405" H="49" Y="4339" T="0" P="0,0,0.3,0.2,30,0,0,0" /><S L="10" H="49" X="7730" Y="4526" T="0" P="0,0,0.3,0.2,30,0,0,0" /><S L="10" X="8092" H="49" Y="4736" T="0" P="0,0,0.3,0.2,30,0,0,0" /><S L="10" H="49" X="8443" Y="4941" T="0" P="0,0,0.3,0.2,30,0,0,0" /><S L="10" X="8763" H="49" Y="5123" T="0" P="0,0,0.3,0.2,30,0,0,0" /><S L="10" H="49" X="9968" Y="5821" T="0" P="0,0,0.3,0.2,30,0,0,0" /><S L="10" X="10249" H="49" Y="5980" T="0" P="0,0,0.3,0.2,30,0,0,0" /><S L="10" H="49" X="10557" Y="6158" T="0" P="0,0,0.3,0.2,30,0,0,0" /><S L="10" X="10866" H="49" Y="6343" T="0" P="0,0,0.3,0.2,30,0,0,0" /><S L="10" H="49" X="11194" Y="6528" T="0" P="0,0,0.3,0.2,30,0,0,0" /><S L="10" X="11540" H="49" Y="6728" T="0" P="0,0,0.3,0.2,30,0,0,0" /><S L="10" H="49" X="11931" Y="6953" T="0" P="0,0,0.3,0.2,30,0,0,0" /></S><D><DS Y="83" X="17" /></D><O /></Z></C>','<C><P F="7" L="8000" H="8000" /><Z><S><S L="58" o="324650" H="46" X="29" Y="129" T="12" P="0,0,0.3,0.2,0,0,0,0" /><S L="3000" H="20" X="1550" Y="625" T="1" P="0,0,0,0.2,20,0,0,0" /><S L="3000" X="4347" H="20" Y="1643" T="1" P="0,0,0,0.2,20,0,0,0" /><S L="3000" H="20" X="7140" Y="2660" T="1" P="0,0,0,0.2,20,0,0,0" /><S L="3000" H="20" X="1270" Y="1130" T="11" P="0,0,0.05,0.1,40,0,0,0" /><S L="3000" X="3568" H="20" Y="3058" T="11" P="0,0,0.05,0.1,40,0,0,0" /><S L="3000" H="20" X="5866" Y="4986" T="11" P="0,0,0.05,0.1,40,0,0,0" /><S L="3000" X="8163" H="20" Y="6914" T="11" P="0,0,0.05,0.1,40,0,0,0" /><S L="74" H="10" X="38" Y="193" T="4" P="0,0,20,0.2,0,0,0,0" /><S L="3000" H="20" X="815" Y="1490" T="6" P="0,0,0.3,0.2,60,0,0,0" /><S L="3000" X="2315" H="20" Y="4087" T="6" P="0,0,0.3,0.2,60,0,0,0" /><S L="3000" H="20" X="3815" Y="6683" T="6" P="0,0,0.3,0.2,60,0,0,0" /><S L="56" o="324650" H="357" X="-28" Y="20" T="12" P="0,0,0,0.2,0,0,0,0" /><S L="80" H="80" X="594" Y="224" T="6" P="0,0,0.3,0.2,20,0,0,0" /><S L="80" X="1187" H="80" Y="439" T="6" P="0,0,0.3,0.2,20,0,0,0" /><S L="80" H="80" X="1789" Y="659" T="6" P="0,0,0.3,0.2,20,0,0,0" /><S L="80" X="2703" H="80" Y="991" T="6" P="0,0,0.3,0.2,20,0,0,0" /><S L="80" H="80" X="3268" Y="1198" T="6" P="0,0,0.3,0.2,20,0,0,0" /><S L="80" X="3842" H="80" Y="1405" T="6" P="0,0,0.3,0.2,20,0,0,0" /><S L="80" H="80" X="4424" Y="1616" T="6" P="0,0,0.3,0.2,20,0,0,0" /><S L="80" X="5013" H="80" Y="1831" T="6" P="0,0,0.3,0.2,20,0,0,0" /><S L="80" H="80" X="5623" Y="2055" T="6" P="0,0,0.3,0.2,20,0,0,0" /><S L="80" X="6183" H="80" Y="2258" T="6" P="0,0,0.3,0.2,20,0,0,0" /><S L="80" H="80" X="6745" Y="2465" T="6" P="0,0,0.3,0.2,20,0,0,0" /><S L="80" X="7424" H="80" Y="2711" T="6" P="0,0,0.3,0.2,20,0,0,0" /><S L="80" H="80" X="540" Y="452" T="11" P="0,0,0.05,0.1,40,0,0,0" /><S L="80" X="1141" H="80" Y="957" T="11" P="0,0,0.05,0.1,40,0,0,0" /><S L="80" H="80" X="1640" Y="1375" T="11" P="0,0,0.05,0.1,40,0,0,0" /><S L="80" X="2150" H="80" Y="1803" T="11" P="0,0,0.05,0.1,40,0,0,0" /><S L="80" H="80" X="2591" Y="2172" T="11" P="0,0,0.05,0.1,40,0,0,0" /><S L="80" X="3044" H="80" Y="2553" T="11" P="0,0,0.05,0.1,40,0,0,0" /><S L="80" H="80" X="3536" Y="2967" T="11" P="0,0,0.05,0.1,40,0,0,0" /><S L="80" X="4023" H="80" Y="3376" T="11" P="0,0,,0.1,40,0,0,0" /><S L="80" H="80" X="5714" Y="4793" T="11" P="0,0,,0.1,40,0,0,0" /><S L="80" X="6340" H="80" Y="5318" T="11" P="0,0,,0.1,40,0,0,0" /><S L="80" H="80" X="6897" Y="5786" T="11" P="0,0,,0.1,40,0,0,0" /><S L="80" X="7511" H="80" Y="6302" T="11" P="0,0,,0.1,40,0,0,0" /><S L="80" H="80" X="406" Y="682" T="1" P="0,0,0,0.2,60,0,0,0" /><S L="80" X="653" H="80" Y="1107" T="1" P="0,0,0,0.2,60,0,0,0" /><S L="80" H="80" X="923" Y="1578" T="1" P="0,0,0,0.2,60,0,0,0" /><S L="80" X="1193" H="80" Y="2044" T="1" P="0,0,0,0.2,60,0,0,0" /><S L="80" H="80" X="1419" Y="2438" T="1" P="0,0,0,0.2,60,0,0,0" /><S L="80" X="1684" H="80" Y="2895" T="1" P="0,0,0,0.2,60,0,0,0" /><S L="80" H="80" X="2708" Y="4671" T="1" P="0,0,0,0.2,60,0,0,0" /><S L="80" X="2951" H="80" Y="5089" T="1" P="0,0,0,0.2,60,0,0,0" /><S L="80" H="80" X="3237" Y="5582" T="1" P="0,0,0,0.2,60,0,0,0" /><S L="80" X="3467" H="80" Y="5983" T="1" P="0,0,0,0.2,60,0,0,0" /><S L="80" H="80" X="3761" Y="6491" T="1" P="0,0,0,0.2,60,0,0,0" /><S L="80" X="4414" H="80" Y="7621" T="1" P="0,0,0,0.2,60,0,0,0" /><S L="80" H="80" X="1974" Y="3397" T="1" P="0,0,0,0.2,60,0,0,0" /></S><D><DS Y="90" X="31" /></D><O /></Z></C>','<C><P F="8" L="4800" G="5,10" H="4800" /><Z><S><S L="3000" X="1500" H="3000" v="1" Y="1500" T="9" P="0,0,,,,0,0,0" /><S L="1800" H="3000" X="3900" v="1" Y="1500" T="9" P="0,0,,,,0,0,0" /><S L="3000" H="1800" X="1500" v="1" Y="3900" T="9" P="0,0,,,,0,0,0" /><S L="1800" X="3900" H="1800" v="1" Y="3900" T="9" P="0,0,,,,0,0,0" /><S L="600" X="300" H="150" Y="75" T="1" P="0,0,0,0.2,0,0,0,0" /><S L="600" H="3000" X="300" Y="1723" T="1" P="0,0,0,0.2,0,0,0,0" /><S L="10" X="109" H="36" Y="169" T="1" P="0,0,0,0.2,0,0,0,0" /><S L="600" X="630" H="3000" Y="1757" T="1" P="0,0,0,0.2,10,0,0,0" /><S L="700" H="3000" X="1108" Y="-1272" T="1" P="0,0,0,0.2,10,0,0,0" /><S L="10" H="87" X="6" Y="194" T="1" P="0,0,0,0.2,0,0,0,0" /><S L="1000" H="3000" X="1927" Y="1662" T="1" P="0,0,0,0.2,-20,0,0,0" /><S L="1600" X="1993" H="3000" Y="-1486" T="1" P="0,0,0,0.2,0,0,0,0" /><S L="1600" H="3000" X="2558" Y="-575" T="1" P="0,0,0,0.2,-50,0,0,0" /><S L="1000" X="2865" H="3000" Y="1789" T="1" P="0,0,0,0.2,80,0,0,0" /><S L="1000" H="3000" X="2905" Y="1789" T="1" P="0,0,0,0.2,80,0,0,0" /><S L="1600" X="2598" H="3000" Y="-576" T="1" P="0,0,0,0.2,-50,0,0,0" /><S L="1600" H="3000" X="4628" Y="-104" T="1" P="0,0,0,0.2,-50,0,0,0" /><S L="1000" X="3877" H="3000" Y="2205" T="1" P="0,0,0,0.2,80,0,0,0" /></S><D><DS Y="165" X="74" /></D><O /></Z></C>','<C><P F="0" defilante="0,0,0,1" L="7200" H="14400" /><Z><S><S c="1" L="3000" X="-718" H="3000" Y="2024" T="8" P="0,0,0.3,0.2,65,0,0,0" /><S c="1" L="80" H="30" X="77" Y="127" T="8" P="0,0,0,0.2,-25,0,0,0" /><S P="0,0,0,0.2,-25,0,0,0" L="80" X="251" c="1" Y="493" T="8" H="30" /><S H="600" L="3000" X="1843" c="1" Y="-528" T="8" P="0,0,0.3,0.2,-25,0,0,0" /><S H="30" L="240" X="688" c="1" Y="786" T="8" P="0,0,0,0.2,-25,0,0,0" /><S P="0,0,0,0.2,-25,0,0,0" L="240" H="30" c="1" Y="1341" T="8" X="735" /><S X="1184" L="240" H="30" c="1" Y="1145" T="8" P="0,0,0,0.2,-25,0,0,0" /><S X="1230" L="240" H="30" c="1" Y="1717" T="8" P="0,0,0,0.2,-25,0,0,0" /><S P="0,0,0,0.2,-25,0,0,0" L="240" X="1262" c="1" Y="2477" T="8" H="30" /><S P="0,0,0.3,0.2,65,0,0,0" L="3000" H="3000" c="1" Y="4713" T="8" X="536" /><S H="30" L="240" X="1535" c="1" Y="3056" T="8" P="0,0,0,0.2,-25,0,0,0" /><S P="0,0,0,0.2,-25,0,0,0" L="240" H="30" c="1" Y="3355" T="8" X="2171" /><S X="2200" L="240" H="30" c="1" Y="3770" T="8" P="0,0,0,0.2,-25,0,0,0" /><S P="0,0,0,0.2,-25,0,0,0" L="240" X="2110" c="1" Y="4286" T="8" H="30" /><S H="30" L="240" X="2772" c="1" Y="4702" T="8" P="0,0,0,0.2,-25,0,0,0" /><S P="0,0,0,0.2,-25,0,0,0" L="240" H="30" c="1" Y="5137" T="8" X="2507" /><S X="3167" L="240" H="30" c="1" Y="5602" T="8" P="0,0,0,0.2,-25,0,0,0" /><S X="1791" L="3000" H="3000" c="1" Y="7405" T="8" P="0,0,0.3,0.2,65,0,0,0" /><S P="0,0,0,0.2,-25,0,0,0" L="240" X="2971" c="1" Y="6136" T="8" H="30" /><S H="30" L="240" X="3610" c="1" Y="6468" T="8" P="0,0,0,0.2,-25,0,0,0" /><S P="0,0,0,0.2,-25,0,0,0" L="240" H="30" c="1" Y="7010" T="8" X="3378" /><S X="4047" L="240" H="30" c="1" Y="7408" T="8" P="0,0,0,0.2,-25,0,0,0" /><S P="0,0,0,0.2,-25,0,0,0" L="240" X="4096" c="1" Y="7863" T="8" H="30" /><S H="30" L="240" X="4236" c="1" Y="8439" T="8" P="0,0,0,0.2,-25,0,0,0" /><S P="0,0,0.3,0.2,65,0,0,0" L="3000" X="3046" c="1" Y="10094" T="8" H="3000" /><S P="0,0,0,0.2,-25,0,0,0" L="240" H="30" c="1" Y="9003" T="8" X="4307" /><S X="4830" L="240" H="30" c="1" Y="9374" T="8" P="0,0,0,0.2,-25,0,0,0" /><S P="0,0,0,0.2,-25,0,0,0" L="240" X="5565" c="1" Y="9682" T="8" H="30" /><S H="30" L="240" X="5231" c="1" Y="10149" T="8" P="0,0,0,0.2,-25,0,0,0" /><S P="0,0,0,0.2,-25,0,0,0" L="240" H="30" c="1" Y="10479" T="8" X="4994" /><S H="3000" L="3000" X="4300" c="1" Y="12782" T="8" P="0,0,0.3,0.2,65,0,0,0" /><S X="5168" L="240" H="30" c="1" Y="10853" T="8" P="0,0,0,0.2,-25,0,0,0" /><S P="0,0,0,0.2,-25,0,0,0" L="240" X="5793" c="1" Y="11240" T="8" H="30" /><S H="30" L="240" X="5605" c="1" Y="11786" T="8" P="0,0,0,0.2,-25,0,0,0" /><S P="0,0,0,0.2,-25,0,0,0" L="240" H="30" c="1" Y="12113" T="8" X="6209" /><S X="6112" L="240" H="30" c="1" Y="12871" T="8" P="0,0,0,0.2,-25,0,0,0" /><S P="0,0,0,0.2,-25,0,0,0" L="240" X="6764" c="1" Y="13191" T="8" H="30" /><S H="30" L="350" X="6625" c="1" Y="13844" T="8" P="0,0,0,0.2,-25,0,0,0" /><S P="0,0,0.3,0.2,65,0,0,0" L="3000" H="3000" c="1" Y="15467" T="8" X="5556" /><S P="0,0,0,0.2,-25,0,0,0" L="350" H="30" c="1" Y="14317" T="8" X="6854" /></S><D><DS Y="111" X="46" /></D><O><O C="32" Y="432" P="0" X="524" /><O C="32" Y="432" P="0" X="524" /><O C="32" Y="432" P="0" X="524" /><O C="32" Y="432" P="0" X="524" /></O></Z></C>'}
  3166. system.disableChatCommandDisplay("obj")
  3167. system.disableChatCommandDisplay("new")
  3168. function eventChatCommand(name,message)
  3169.     if message == "new" then
  3170.         if name == "Vaicntaefeto#0000" then
  3171.         if valendo == false then
  3172.             tempo=60
  3173.             disparador=true
  3174.         else
  3175.             tfm.exec.newGame(mapas[math.random(#mapas)])
  3176.             valendo=true
  3177.         end
  3178.         end
  3179.     end
  3180.     if(message:sub(1,3) == "obj") then
  3181.         if name == "Vaicntaefeto#0000" then
  3182.             objetivo=tonumber(message:sub(5))
  3183.             tfm.exec.chatMessage("<J>Objective changed to: "..objetivo,nil)
  3184.         end
  3185.     end
  3186. end
  3187. function eventLoop(p,f)
  3188.     if disparador == true then
  3189.         tempo=tempo-0.5
  3190.         ui.addTextArea(1242,"<font size='16'><b><font color='#0000FF'>The match will start on "..math.floor(tempo).." seconds.",nil,200,30,480,50,0,0,0.9,true)
  3191.         if tempo < 0.5 then
  3192.             tfm.exec.newGame(mapas[math.random(#mapas)])
  3193.             for name,player in pairs(tfm.get.room.playerList) do
  3194.                 tfm.exec.setPlayerScore(name,0,false)
  3195.             end
  3196.             valendo=true
  3197.             disparador=false
  3198.             ui.removeTextArea(1242,nil)
  3199.         end
  3200.     end
  3201.     if valendo == true then
  3202.     for name,player in pairs(tfm.get.room.playerList) do
  3203.         ui.removeTextArea(4783,true)
  3204.         if tfm.get.room.playerList[name].score >= objetivo and pos == 1 then
  3205.             local winner=""
  3206.             winner=name
  3207.             valendo=false
  3208.             tfm.exec.newGame('@6973961')
  3209.             tfm.exec.chatMessage("<b>Good luck, </b> <CH>"..winner.." is the winner with "..tfm.get.room.playerList[winner].score.." points!")
  3210.             ui.addTextArea(4785,"<font color='#000001'><font size='48'><font face='Comic Sans MS'>Fall Racing",nil,170,50,680,100,0,0,1.0,true)
  3211.             ui.addTextArea(4784,"<font color='#000001'><font size='20'>Script made by Vaicntaefeto#0000",nil,240,120,420,100,0,0,1.0,true)
  3212.             if p > 10000 then
  3213.                 ui.removeTextArea(100,nil)
  3214.                 ui.removeTextArea(1244,nil)
  3215.                 ui.removeTextArea(157979,nil)
  3216.                 ui.removeTextArea(157978,nil)
  3217.                 ui.removeTextArea(157960,nil)
  3218.                 ui.removeTextArea(157961,nil)
  3219.             end
  3220.         end
  3221.     end
  3222.     if pos >= 1 then
  3223.         tempo=tempo-0.5
  3224.         if tempo < 0.5 then
  3225.             tfm.exec.newGame(mapas[math.random(#mapas)])
  3226.             ui.removeTextArea(1244,nil)
  3227.         end
  3228.     end
  3229. end
  3230. end
  3231. function eventPlayerDied(name)
  3232.     if tfm.get.room.playerList[name].x > 2400 then
  3233.     tfm.exec.respawnPlayer(name)
  3234.     tfm.exec.giveCheese(name)
  3235.     tfm.exec.playerVictory(name)
  3236.     end
  3237. end
  3238.  
  3239. function eventTextAreaCallback(id,name,link)
  3240.     if link == "fechar" then
  3241.         for id=0,3 do
  3242.             ui.removeTextArea(id,name)
  3243.         end
  3244.     end
  3245.     if link == "close" then
  3246.     for id=-1,2 do
  3247.         ui.removeTextArea(id,name)
  3248.         ui.removeTextArea(6969+id,name)
  3249.         ui.removeTextArea(7979+id,name)
  3250.     end
  3251.     end
  3252. end
  3253.  
  3254. function eventPlayerWon(name)
  3255.     pos=pos+1
  3256.     if pos == 1 then
  3257.         first=name
  3258.         tfm.exec.setPlayerScore(name,40,true)
  3259.     end
  3260.     if pos == 2 then
  3261.         tfm.exec.setPlayerScore(name,30,true)
  3262.     end
  3263.     if pos == 3 then
  3264.         tfm.exec.setPlayerScore(name,20,true)
  3265.     end
  3266.     if pos == 4 then
  3267.         tfm.exec.setPlayerScore(name,10,true)
  3268.     end
  3269.     tfm.exec.setPlayerScore(name,10,true)
  3270. end
  3271.  
  3272. function eventNewGame()
  3273.     tfm.exec.addPhysicObject(125,-110,-200,dados2)
  3274.     if valendo == true then
  3275.     tempo=20
  3276.     ui.removeTextArea(4785,nil)
  3277.     ui.removeTextArea(4784,nil)
  3278.     ui.removeTextArea(4783,nil)
  3279.     ui.removeTextArea(4782,nil)
  3280. end
  3281.     if valendo == false then
  3282.         tempo=60
  3283.         eventChatCommand("Vaicntaefeto#0000","new")
  3284.     end
  3285.     pos=0
  3286. end
  3287.  
  3288. tfm.exec.newGame('@6973961')
  3289. ui.addTextArea(4785,"<font color='#000001'><font size='48'><font face='Comic Sans MS'>Fall Racing",nil,170,50,680,100,0,0,1.0,true)
  3290. ui.addTextArea(4784,"<font color='#000001'><font size='20'>Script made by Vaicntaefeto#0000",nil,240,120,420,100,0,0,1.0,true)
  3291. end
  3292.  
  3293. initObjects = function()
  3294. tfm.exec.disableAutoNewGame(true)
  3295. tfm.exec.disableAutoShaman(true)
  3296. tfm.exec.disableAutoTimeLeft(true)
  3297. tfm.exec.disablePhysicalConsumables(true)
  3298. tfm.exec.disableAutoScore(true)
  3299. map="@7565678"
  3300. objects={2,201,202,203,204,205,206,207,208,209}
  3301. loop=0
  3302. winner=false
  3303. functs={running=false,level=0,count=10}
  3304. function eventNewGame()
  3305.     functs.running=false
  3306.     functs.level=0
  3307.     functs.count=10
  3308.     tfm.exec.setGameTime(144)
  3309.     removeText()
  3310.     winner=false
  3311. end
  3312. function showText(text)
  3313.     ui.addTextArea(1,"<font size='56'><p align='center'><font color='#660000'>"..text.."",nil,103,323,600,80,0,0,1.0,true)
  3314.     ui.addTextArea(0,"<font size='56'><p align='center'><font color='#ff0000'>"..text.."",nil,100,320,600,80,0,0,1.0,true)
  3315. end
  3316. function showTextSmall(text)
  3317.     ui.addTextArea(1,"<font size='32'><p align='center'><font color='#660000'>"..text.."",nil,103,333,600,80,0,0,1.0,true)
  3318.     ui.addTextArea(0,"<font size='32'><p align='center'><font color='#ff0000'>"..text.."",nil,100,330,600,80,0,0,1.0,true)
  3319. end
  3320. function removeText()
  3321.     for i=0,1 do
  3322.         ui.removeTextArea(i,nil)
  3323.     end
  3324. end
  3325. function eventLoop(p,f)
  3326.     if f <= 5000 and functs.running == true and winner == false then
  3327.         for name,player in pairs(tfm.get.room.playerList) do
  3328.             tfm.exec.giveCheese(name)
  3329.             tfm.exec.playerVictory(name)
  3330.             functs.running=false
  3331.             showText("Time is up!")
  3332.         end
  3333.     end
  3334.     if f <= 1 and functs.running == false then
  3335.         tfm.exec.newGame(map)
  3336.     end
  3337.     if functs.running == false and winner == false then
  3338.         functs.count=functs.count-0.5
  3339.         if functs.count <= 3 then
  3340.             showText(""..math.ceil(functs.count).."")
  3341.         end
  3342.         if functs.count <= 0 and p < 20000 and winner == false then
  3343.             functs.running=true
  3344.             functs.level=1
  3345.             showText("Go!")
  3346.         end
  3347.     end
  3348.     if functs.running == true then
  3349.         loop=loop+1
  3350.         object=objects[math.random(#objects)]
  3351.         if loop >= 10-functs.level and winner == false then
  3352.             removeText()
  3353.             tfm.exec.addShamanObject(object,math.random(50,750),300,0,0,1,false)
  3354.             if functs.level >= 2 then
  3355.                 tfm.exec.addShamanObject(object,math.random(50,750),300,0,0,1,false)
  3356.             end
  3357.             if functs.level >= 3 then
  3358.                 tfm.exec.addShamanObject(object,math.random(50,750),300,0,0,1,false)
  3359.             end
  3360.             if functs.level >= 4 then
  3361.                 tfm.exec.addShamanObject(object,math.random(50,750),300,0,0,1,false)
  3362.             end
  3363.             if functs.level >= 5 then
  3364.                 tfm.exec.addShamanObject(object,math.random(50,750),300,0,0,1,false)
  3365.             end
  3366.             loop=0
  3367.         end
  3368.     end
  3369.     if f <= 118000 and f >= 117400 and functs.level == 1 then
  3370.         functs.level=2
  3371.         showTextSmall("Difficulty increased to 2")
  3372.     end
  3373.     if f <= 108000 and f >= 107400 and functs.level == 2 then
  3374.         functs.level=3
  3375.         showTextSmall("Difficulty increased to 3")
  3376.     end
  3377.     if f <= 98000 and f >= 97400 and functs.level == 3 then
  3378.         functs.level=4
  3379.         showTextSmall("Difficulty increased to 4")
  3380.     end
  3381.     if f <= 88000 and f >= 87400 and functs.level == 4 then
  3382.         functs.level=5
  3383.         showTextSmall("Difficulty increased to 5")
  3384.     end
  3385. end
  3386. function eventPlayerDied(name)
  3387.     if functs.running == true then
  3388.         local i=0
  3389.         local name
  3390.         for pname,player in pairs(tfm.get.room.playerList) do
  3391.             if not player.isDead then
  3392.                 i=i+1
  3393.                 name=pname
  3394.             end
  3395.         end
  3396.         if i==0 then
  3397.             functs.running=false
  3398.             winner=true
  3399.             showText("No winners!")
  3400.             tfm.exec.setGameTime(5)
  3401.         elseif i==1 then
  3402.             functs.running=false
  3403.             showTextSmall(""..name.." wons the game!")
  3404.             tfm.exec.giveCheese(name)
  3405.             tfm.exec.playerVictory(name)
  3406.             tfm.exec.setPlayerScore(name,1,true)
  3407.             tfm.exec.setGameTime(10)
  3408.             winner=true
  3409.         end
  3410.     end
  3411. end
  3412. tfm.exec.newGame(map)
  3413. end
  3414.  
  3415. tfm.exec.chatMessage("#anvilwar Universal Mode Loader version 1.36<br>by Jessiewind26#2546<br><br>The requested room is loading or updating. Please wait...",nil)
  3416.  
  3417. if string.find(tfm.get.room.name,"true_false") then
  3418.     active = "true_false"
  3419.     initTrue()
  3420. elseif string.find(tfm.get.room.name,"mestre") then
  3421.     active = "mestre"
  3422.     initMestre()
  3423. elseif string.find(tfm.get.room.name,"pistas") then
  3424.     active = "pistas"
  3425.     initPistas()
  3426. elseif string.find(tfm.get.room.name,"fall") then
  3427.     active = "fall"
  3428.     initFall()
  3429. elseif string.find(tfm.get.room.name,"objects") then
  3430.     active = "objects"
  3431.     initObjects()
  3432. else
  3433.     active = "anvilwar"
  3434.     initAnvilwar()
  3435. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement