NNOF

Untitled

Jul 9th, 2013
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. on join:        
  2.         if {akceptuje.%player%} is true:
  3.                 set {akceptuje.%player%} to false
  4.         if {akceptuje.%player%} is false:
  5.                 send "&aAkceptuj regulamin, masz na to 40 sekund"
  6.                 execute player command "/1oi23yahsjkd"
  7.  
  8. variables:
  9.         {akceptuje.%player%} = false
  10.  
  11. command /akceptuje:
  12.         description: akceptuje regulamin
  13.         permission: regulamin.SC
  14.         aliases: tak
  15.         trigger:
  16.                 if {akceptuje.%player%} is false:
  17.                         send "&aAkceptowales regulamin!"
  18.                         wait 2 second
  19.                         send "&9Sprawdzam Nick: &6%name of player%"
  20.                         wait 1 second
  21.                         send "&9Akceptuje IP: &6%ip of player%"
  22.                         wait 1 second
  23.                         send "&bZapraszamy do gry!"
  24.                         set {akceptuje.%player%} to true
  25.  
  26.  
  27. command /wychodze:
  28.         description: wychodzi bez akceptacji
  29.         permission: regulamin.SC
  30.         aliases: nie
  31.         trigger:
  32.                 if {wychodze.%player%} is true:
  33.                         kick player due to "&cBrak akceptacji regulaminu ze strony gracza!"
  34.  
  35. command /1oi23yahsjkd:
  36.         if {akceptuje.%player%} is false:
  37.                 wait 40 second
  38.                 kick player due to "&cBrak akceptacji regulaminu ze strony gracza!"
  39.                 stop
  40.         if {akceptuje.%player%} is true:
  41.                 stop
  42.  
  43.  
  44. on walking on stone, grass, cobblestone, wood, wool, sandstone, sand or gravel:
  45.         if {akceptuje.%player%} is false:
  46.                 cancel event
  47.                 send "&cMusisz akceptowac regulamin !"
  48.                 stop
  49.         if {akceptuje.%player%} is true:
  50.                 stop
Advertisement
Add Comment
Please, Sign In to add comment