Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for name,player in pairs(tfm.get.room.playerList) do
- system.bindMouse(name, true)
- end
- function eventMouse(name, x, y)
- tfm.exec.addShamanObject(tfm.enum.shamanObject.trampoline, x, y, 0, 0, 0, false)
- end
- -- tfm.enums: http://kikoo.formice.com/doku.php?id=module_api_documentation#tfmenumshamanobject_package
- -- exact enums: http://kikoo.formice.com/doku.php?id=enums#objects_anchors
- ui.addTextArea(1, "<font color='ffffff'><b><u> #furtune </u></b></font>")
- function eventLoop(currentTime, remainingTime)
- tfm.exec.displayParticle(35, 100, 200,0,0,0, 0, NIL)
- tfm.exec.displayParticle(26, 100, 300,0,0,0, 0, NIL)
- tfm.exec.displayParticle(35, 100, 100,0,0,0, 0, NIL)
- tfm.exec.displayParticle(26, 100, 50,0,0,0, 0, NIL)
- tfm.exec.displayParticle(35, 100, 400,0,0,0, 0, NIL)
- tfm.exec.displayParticle(26, 100, 500,0,0,0, 0, NIL)
- tfm.exec.displayParticle(35, 300, 200,0,0,0, 0, NIL)
- tfm.exec.displayParticle(26, 300, 300,0,0,0, 0, NIL)
- tfm.exec.displayParticle(35, 300, 400,0,0,0, 0, NIL)
- tfm.exec.displayParticle(26, 300, 500,0,0,0, 0, NIL)
- tfm.exec.displayParticle(35, 300, 50,0,0,0, 0, NIL)
- tfm.exec.displayParticle(26, 500, 200,0,0,0, 0, NIL)
- tfm.exec.displayParticle(26, 500, 100,0,0,0, 0, NIL)
- tfm.exec.displayParticle(26, 800, 200,0,0,0, 0, NIL)
- tfm.exec.displayParticle(26, 800, 100,0,0,0, 0, NIL)
- tfm.exec.displayParticle(26, 1200, 100,0,0,0, 0, NIL)
- tfm.exec.displayParticle(26, 1200, 300,0,0,0, 0, NIL)
- tfm.exec.displayParticle(35, 1250, 200,0,0,0, 0, NIL)
- tfm.exec.displayParticle(35, 900, 200,0,0,0, 0, NIL)
- tfm.exec.displayParticle(25, 1000, 200,0,0,0, 0, NIL)
- tfm.exec.displayParticle(25, 1000, 40,0,0,0, 0, NIL)
- tfm.exec.displayParticle(25, 100, 40,0,0,0, 0, NIL)
- tfm.exec.displayParticle(25, 400, 50,0,0,0, 0, NIL)
- tfm.exec.displayParticle(25, 600, 100,0,0,0, 0, NIL)
- end
- function eventChatCommand(name,command)
- if command=="mort" then
- tfm.exec.killPlayer(name)
- end
- end
- function eventChatCommand(name, cmd)
- if cmd:sub(0,3) == "map" then
- tfm.exec.newGame(cmd:sub(5))
- end
- end
- -- cmd:sub(0,3) checks if the first 3 characters are 'map'
- -- cmd:sub(5) uses anything after, and including the 5th character, like a map code. !map @4572372
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement