Advertisement
Guest User

Untitled

a guest
Dec 31st, 2013
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. version = "FR 1.5"
  2. moderateur = "Izzeberg"
  3. tfm.exec.setUIMapName("<RP>IOS !Commande V. "..version.." by Izzeberg tapez !aide pour plus d'info <p")
  4. function eventNewPlayer(name)
  5. ui.addPopup(1, 0, "Bonjour,Bonsoir ".. name ..".<br>Bienvenue dans IOS !Commande v."..version.." tapez !aide pour voir les commandes disponibles !", pseudo, 150, 75, 500);
  6. end
  7. function eventChatCommand(name,command)
  8. if command == "fromage" then
  9. tfm.exec.giveCheese(name)
  10. end
  11. if command == "bombe" then
  12. tfm.exec.addShamanObject(23, math.random(0, 800), math.random(0, 400), 0, 0, 0, false)
  13. end
  14. if command == "explosion" then
  15. tfm.exec.explosion (math.random (0,800), math.random(0, 400), 5,0, 10,0, true)
  16. end
  17. if command == "trou" then
  18. tfm.exec.playerVictory (name)
  19. end
  20. if command == "fireworks" then
  21. tfm.exec.displayParticle (0, math.random(0,800), math.random(0,400), 1.0, 1.0, 1.0, 1.0, nil)
  22. tfm.exec.displayParticle (1, math.random(0,800), math.random(0,400), 1.0, 1.0, 1.0, 1.0, nil)
  23. tfm.exec.displayParticle (2, math.random(0,800), math.random(0,400), 1.0, 1.0, 1.0, 1.0, nil)
  24. tfm.exec.displayParticle (4, math.random(0,800), math.random(0,400), 1.0, 1.0, 1.0, 1.0, nil)
  25. tfm.exec.displayParticle (11, math.random(0,800), math.random(0,400), 1.0, 1.0, 1.0, 1.0, nil)
  26. tfm.exec.displayParticle (13, math.random(0,800), math.random(0,400), 1.0, 1.0, 1.0, 1.0, nil)
  27. end
  28. if command == "meep" then
  29. tfm.exec.giveMeep (name)
  30. end
  31. if command == "mort" then
  32. tfm.exec.killPlayer (name)
  33. end
  34. if command == "vampire" then
  35. tfm.exec.setVampirePlayer (name)
  36. end
  37. if command == "stop" then
  38. if name == ""..moderateur.."" then
  39. system.exit ()
  40. end
  41. end
  42. if command == "neige" then
  43. tfm.exec.snow (60, 10)
  44. end
  45. if command == "chamane" then
  46. tfm.exec.setShaman (name)
  47. end
  48. if command == "aide close" then
  49. ui.removeTextArea (0, nil)
  50. end
  51. if command == "aide" then
  52. ui.addTextArea (0,"<br><br>modérateur du module : "..moderateur.. "<br>IOS !Commande V."..version.." <br>Commande : <br>!fromage : vous donne le fromage.<br>!trou : vous fait gagner.<br>!mort : vous fait mourir.<br>!vampire : vous transforme en vampire. <br>!chamane : vous transforme en chamane.<br>!aide : ouvre l’aide.<br>!aide close : ferme l’aide.<br>!neige : fait tomber de la neige.<br>!meep : vous donne la posibilité de meep.<br>!bombe : lance une bombe sur la map.<br>!fireworks : provoque un feux d’artifice.<br>!explosion : provoque une explosion.<br>!stop : arrete le module (réserver à "..moderateur.."). <br><br>", name, 50, 50, 400, 400, 0x000001, 0xFFFFFF, 0.8, true)
  53. end
  54. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement