Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- admin="Reshman" --commands: !mod <message>
- maps={'@6484268', '799141', '1515058', '1519483', '464787', '293487', '848697', '300404', '1659906', '495880', '2408376', '852617', '290388', '492283', '5973058', '290974', '276534', '290865', '958881', '3322939', '280120', '697561', '3480467', '279689', '5964714', '390386', '390383', '481676', '6376931', '391057', '289932', '953515', '3579303', '1533333', '491819', '6456320', '1515058', '464787', '848697', '793117', '495880', '290388', '492283', '390649', '290974', }
- tfm.exec.newGame(maps[math.random(1,#maps)])
- print(#maps)
- function eventNewGame()
- tfm.exec.chatMessage("<font color='#E29BD9'>[MEEPbot] "..mes[math.random(1,#mes)].."</font>")
- for name,player in pairs(tfm.get.room.playerList) do
- tfm.exec.giveMeep(name)
- end
- end
- function eventPlayerDied(name)
- i=0
- for name,player in pairs(tfm.get.room.playerList) do
- i=i+1
- if player.isDead==true then
- i=i-1
- else
- winner=name
- end
- end
- if i<2 then
- tfm.exec.giveCheese(winner)
- tfm.exec.playerVictory(winner)
- tfm.exec.newGame(maps[math.random(1,#maps)])
- end
- end
- mes={"Hey you want some MEEP?", "Meep: the most powerful repulsion force." ,"MEEP POWERR!", "Woah, that was so close!", "At your service!", "Never underestimate the Power of Meep", "How to be a pro Meeper?", "Hey I like your cute sexy body *-*", "Mice don't squeak, mice MEEP!"}
- system.disableChatCommandDisplay("kill", true)
- system.disableChatCommandDisplay("mod", true)
- function eventChatCommand(name,message)
- if message=="kill" and name==admin then
- system.exit()
- elseif string.sub(message,0,3)=="mod" and name==admin then
- tfm.exec.chatMessage("<font color='#E29BD9'>"..string.sub(message,5).."</font>")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment