GcUwEV9C
Język: Skript
|
Autor: Damianekk
on break: if event-block is stone: if {TurboDrop::%player%}: chance of 100%: give 1 diamond to player if {DropMessages::%player%}: send "Znalazles diament" to player # ... else: chance of 20%: give 1 diamond to player if {DropMessages::%player%}: send "Znalazles diament" # ... else if event-block is ore: cancel event set block to air send "Drop z tego bloku jest wylaczony" on join: if {DropMessages::%player%} is not set: set {DropMessages::%player%} to true if {TurboDrop::%player%} is not set: set {TurboDrop::%player%} to true command /powiadomienia <text>: usage: /powiadomienia <on/off> trigger: if arg-1 is "on": set {DropMessages::%player%} to true send "Wlaczyles powiadomienia" else if arg-1 is "off": set {DropMessages::%player%} to false send "Wylaczyles powiadomienia" else: send "Nie rozpoznano polecenia" command /turbodrop <text> [<text>]: usage: /turbodrop <on/off> [nick/all] permission: admin.admin permission message: &4Brak uprawnien! trigger: if arg-1 is "on": if arg-2 is "all": loop all players: set {TurboDrop::%loop-player%} to true broadcast "Wszyscy gracze otrzymali turbodrop" else: set {_p} to player if arg-2 parsed as offlineplayer is online: set {_p} to arg-2 parsed as player set {TurboDrop::%{_p}%} to true send "Otrzymales turbodrop" else if arg-1 is "off": if arg-2 is "all": loop all players: set {TurboDrop::%loop-player%} to false broadcast "TurboDrop dla wszystkich graczy zostal wylaczony" else: set {_p} to player if arg-2 parsed as offlineplayer is online: set {_p} to arg-2 parsed as player set {TurboDrop::%{_p}%} to false send "Wylaczono twoj turbodrop" else: send "Nie rozpoznano polecenia"