Facebook
From HiSzPaNVIP, 7 Years ago, written in CSS.
Embed
Download Paste or View Raw
Hits: 306
  1. variables:
  2.         {stone::%player%} = 0
  3.  
  4. on first join:
  5.         set {stone::%player%} to 0
  6.         send "&8&m-------------------------------------------------"
  7.         send "&aZeby napisac cos na czacie musisz wykopac 200 stone"
  8.         send "&a                  Wykopales &c%{stone::%player%}%/200"
  9.         send "&8&m-------------------------------------------------"
  10.        
  11. on chat:
  12.         if {stone::%player%} is less than 200:
  13.                 cancel event
  14.                 send "&8&m-------------------------------------------------"
  15.                 send "&aZeby napisac cos na czacie musisz wykopac 200 stone"
  16.                 send "&a                  Wykopales &c%{stone::%player%}%/200"
  17.                 send "&8&m-------------------------------------------------"
  18.         else:
  19.                 uncancel event
  20. on mine stone:
  21.         add 1 to {stone::%player%}
  22.  
  23. on mine of stone:
  24.         if {stone::%player%} is equal to 200:
  25.                 add 1 to {stone::%player%}
  26. command /staty:
  27.         trigger:
  28.                 send "&c&m-------------------"
  29.                 send "&aWykopany Stone"
  30.                 send "&a %{stone::%player%}% "
  31.                 send "&c&m-------------------"
  32.                
  33.                
  34. command /chatdaj [<player>]:
  35.         trigger:
  36.                 if arg 1 is set:
  37.                         add 200 to {stone::%arg 1%}
  38.                         send "&eOdblokowales mozliwosc pisania:&b %arg 1%"
  39.                         send "&c&m---------------------------------------------------" to player-arg
  40.                         send "&a%player% Odblokowal ci pisanie na chacie!" to player-arg
  41.                         send "&c&m---------------------------------------------------" to player-arg
  42.                 if arg 1 is not set:
  43.                         send "&c&m----------------------------"
  44.                         send "&4Blad: &cPoprawne uzycie /chatdaj (player)"
  45.                         send "Ta oto komeda odblukujesz komus pisanie na czacie bez kopania"
  46.                         send "&c&m----------------------------"