Guest User

Untitled

a guest
Jun 19th, 2017
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.33 KB | None | 0 0
  1. variables:
  2. {am.1} = Wiadomosc przykladowa numer 1
  3. {an.2} = Wiadomosc przykladowa numer 2
  4. {am.3} = Wiadomosc przykladowa numer 3
  5. {am.4} = Wiadomosc przykladowa numer 4
  6. {am.5} = Wiadomosc przykladowa numer 5
  7. {am.6} = Wiadomosc przykladowa numer 6
  8. {am.czas} = 1 minute
  9.  
  10. command /am [<text>] [<text>] [<text>]:
  11. permisiion : jc.admin
  12. permisiion : &4&lNie masz dostepu do tego kolego!
  13. trigger:
  14. if arg 1 is "sprawdz":
  15. send "&8&l[&6&lJuliuszCraft&8&l] %{am.1}%"
  16. send "&8&l[&6&lJuliuszCraft&8&l] %{am.2}%"
  17. send "&8&l[&6&lJuliuszCraft&8&l] %{am.3}%"
  18. send "&8&l[&6&lJuliuszCraft&8&l] %{am.4}%"
  19. send "&8&l[&6&lJuliuszCraft&8&l] %{am.5}%"
  20. send "&8&l[&6&lJuliuszCraft&8&l] %{am.6}%"
  21. if arg 1 is "usun":
  22. if arg 2 is not set:
  23. send "&8&l[&6&lJuliuszCraft&8&l] &6&l Poprawne uzycie tej komendy to /am usun [1-6]"
  24. id arg 2 is "1":
  25. set {am.1} to "&8&l[&6&lJuliuszCraft&8&l] &6 Wiadomosc przykladowa numer 1"
  26. id arg 2 is "2":
  27. set {am.2} to "&8&l[&6&lJuliuszCraft&8&l] &6 Wiadomosc przykladowa numer 2"
  28. id arg 2 is "3":
  29. set {am.3} to "&8&l[&6&lJuliuszCraft&8&l] &6 Wiadomosc przykladowa numer 3"
  30. id arg 2 is "4":
  31. set {am.4} to "&8&l[&6&lJuliuszCraft&8&l] &6 Wiadomosc przykladowa numer 4"
  32. id arg 2 is "5":
  33. set {am.5} to "&8&l[&6&lJuliuszCraft&8&l] &6 Wiadomosc przykladowa numer 5"
  34. id arg 2 is "6":
  35. set {am.6} to "&8&l[&6&lJuliuszCraft&8&l] &6 Wiadomosc przykladowa numer 6"
  36. if arg 1 is "zmien":
  37. if arg 2 is not set:
  38. sned "&8&l[&6&lJuliuszCraft&8&l] &6Poprawne uzycie tej komendy to /am zmien [1-6] [Automatyczna wiadomosc]"
  39. if arg 2 is set:
  40. is arg 3 is not set;
  41. send "&8&l[&6&lJuliuszCraft&8&l] &6Poprawne uzycie tej komendy to /am zmien [1-6] [Automatyczna wiadomosc]"
  42. if arg 2 is "1":
  43. set {am.1} to arg 3
  44. if arg 2 is "2":
  45. set {am.2} to arg 3
  46. if arg 2 is "3":
  47. set {am.3} to arg 3
  48. if arg 2 is "4":
  49. set {am.4} to arg 3
  50. if arg 2 is "5":
  51. set {am.5} to arg 3
  52. if arg 2 is "6":
  53. set {am.6} to arg 3
  54. if arg 1 is "czas":
  55. if arg 2 is not set:
  56. send "&8&l[&6&lJuliuszCraft&8&l] &6 Poprawne uzycie tej komendy to /am czas [czas np 1 second, 1 minute, 1 hour]"
  57. if arg 1 is set:
  58. set {am.czas} to arg 2
  59. send "&8&l[&6&lJuliuszCraft&8&l] &6 Czas zostal prawidlowo ustawiony na &5%arg 2%"
Advertisement
Add Comment
Please, Sign In to add comment