NNOF

Untitled

Jul 9th, 2013
105
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.                 wait 40 second
  7.                 kick player due to "&cBrak akceptacji regulaminu ze strony gracza!"
  8.  
  9. variables:
  10.         {akceptuje.%player%} = false
  11.  
  12. command /akceptuje:
  13.         description: akceptuje regulamin
  14.         permission: regulamin.SC
  15.         aliases: tak
  16.         trigger:
  17.                 if {akceptuje.%player%} is false:
  18.                         send "&aAkceptowales regulamin!"
  19.                         wait 2 second
  20.                         send "&9Sprawdzam Nick: &6%name of player%"
  21.                         wait 1 second
  22.                         send "&9Akceptuje IP: &6%ip of player%"
  23.                         wait 1 second
  24.                         send "&bZapraszamy do gry!"
  25.                         set {akceptuje.%player%} to true
  26.  
  27.  
  28. command /wychodze:
  29.         description: wychodzi bez akceptacji
  30.         permission: regulamin.SC
  31.         aliases: nie
  32.         trigger:
  33.                 if {wychodze.%player%} is true:
  34.                         kick player due to "&cBrak akceptacji regulaminu ze strony gracza!"
  35.  
  36. on walking on stone, grass, cobblestone, wood, wool, sandstone, sand or gravel:
  37.         if {akceptuje.%player%} is false:
  38.                 cancel event
  39.                 send "&cMusisz akceptowac regulamin !"
  40.                 stop
  41.         if {akceptuje.%player%} is true:
  42.                 stop
Advertisement
Add Comment
Please, Sign In to add comment