UgurAyYargılı
Birisi mi Spawnlandı?
- Katılım
- 18 Ocak 2019
- Mesajlar
- 3
- Elmaslar
- 0
- Puan
- 13.180
- Yaş
- 20
- Minecraft
- unuttum
Discord:
malesef
malesef
#---------------------------------------------------------------------------------#
# THIS SKRIPT WAS MADE BY MATTHEWDILKS, PLEASE DO NOT REUPLOAD THIS, AND CLAIM IT #
# AS YOUR OWN. THANK YOU! NOTICE: FEEL FREE TO EDIT ANY OF THE MESSAGES. #
#---------------------------------------------------------------------------------#
#---------------------------------------------------------------------------------#
on join:
if {coin.%player%} is not set:
set {coin.%player%} to 0
#---------------------------------------------------------------------------------#
command /coin [<text>] [<offlineplayer>] [<text>]:
trigger:
if arg 1 is not set:
if arg 2 is not set:
if arg 3 is not set:
set {_book} to a new book
set {_component} to a new text component with " &c&lINVALID"
set {_component2} to a new text component with "%nl% &c &c&l &c&lCOMMAND"
set {_component3} to a new text component with "%nl%%nl% Sorry %player%,"
set {_component4} to a new text component with "%nl% but that command"
set {_component5} to a new text component with "%nl% does not exist."
set {_component6} to a new text component with "%nl%%nl% /coin give|take|reset"
set {_component7} to a new text component with "%nl% <player> <amount>"
add text component {_component} and {_component2} and {_component3} and {_component4} and {_component5} and {_component6} and {_component7} to book {_book}
open book {_book} to player
if argument 1 is "give":
if argument 2 is set:
if argument 3 is set:
set {_num} to argument 3 parsed as an integer
if {_num} is an integer:
add {_num} to {coin.%argument-2%}
send "&cYou gave %argument-3% Coins to the player %argument-2%." to player
send "&c%player% gave you %argument-3% Coins." to argument-2
else:
send "&c%argument-3% is not a valid coin amount, try again." to player
if argument 1 is "take":
if argument 2 is set:
if argument 3 is set:
set {_num} to argument 3 parsed as an integer
if {_num} is an integer:
remove {_num} from {coin.%argument-2%}
send "&cYou removed %argument-3% Coins from the player %argument-2%." to player
else:
send "&c%argument-3% is not a valid coin amount, try again." to player
if argument 1 is "reset":
if argument 2 is set:
send "&cYou reset %argument-2%'s Coins"
send "&c%player% reset your Coins." to argument-2
set {coin.%argument-2%} to 0
#---------------------------------------------------------------------------------#
command /coins [<player>]:
trigger:
if argument 1 is not set:
send "&cYou currently have &c&n%{coin.%player%}%&c Coins" to player
else:
send "&c%argument-1% currently has &c&n%{coin.%argument-1%}%&c Coins" to player
#---------------------------------------------------------------------------------#
#---------------------------------------------------------------------------------#
# THIS SKRIPT WAS MADE BY MATTHEWDILKS, PLEASE DO NOT REUPLOAD THIS, AND CLAIM IT #
# AS YOUR OWN. THANK YOU! NOTICE: FEEL FREE TO EDIT ANY OF THE MESSAGES. #
#---------------------------------------------------------------------------------#
malesef
bu skript bozuk yada bendemi problem var anlamadım
Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!