knugi

Untitled

Jun 29th, 2014
295
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.66 KB | None | 0 0
  1. options:
  2. # # # # # # # # # # # # # # #
  3. # #
  4. # General Config #
  5. # #
  6. # # # # # # # # # # # # # # #
  7.  
  8.  
  9.  
  10. #Tag wyswietlany przed wiadomosciami skryptu:
  11. tag: &8[&6IStatus&8]
  12.  
  13.  
  14.  
  15.  
  16. # # # # # # # # # # # # # # #
  17. # #
  18. # Permission #
  19. # #
  20. # # # # # # # # # # # # # # #
  21.  
  22.  
  23.  
  24. # Wiadomosć przy braku permisji:
  25. permission: &cNie posiadasz uprawnien!
  26.  
  27.  
  28. command /istatus [<text>]:
  29. trigger:
  30. if arg 1 isn't set:
  31. send "&8============"
  32. send "&6/istatus - &aPokazuje pomoc!"
  33. send "&6/istatus reload - &aPrzeladowanie skryptu!"
  34. stop
  35. if arg 1 is "reload":
  36. if player has permission "istatus.*" or "istatus.reload":
  37. execute console command "/sk reload %script%"
  38. send "{@tag} &aPrzeladowano skrypt!"
  39. stop
  40. else:
  41. send "{@tag} {@permission}"
  42. stop
  43. on sign change:
  44. loop all players:
  45. if line 1 is "%loop-player%":
  46. if player has permission "istatus.status" or "istatus.*":
  47. if line 2 is "status":
  48. if loop-player is online:
  49. set line 1 to "&9&l%loop-player%"
  50. set line 2 to ""
  51. set line 3 to "&a&lOnline"
  52. set {block.%loop-player%} to event-block
  53. SEND "{@tag} &aStworzono tabliczke!"
  54. if loop-player is offline:
  55. set line 3 to "&c&lOffline"
  56. set line 2 to ""
  57. set {block.%loop-player%} to event-block
  58. on quit:
  59. set line 3 of the block at {block.%player%} to "&c&lOffline"
  60. set line 4 of block at {block.%player%} to ""
  61.  
  62. on join:
  63. set line 3 of the block at {block.%player%} to "&a&lOnline"
  64. set line 4 of block at {block.%player%} to ""
Advertisement
Add Comment
Please, Sign In to add comment