Skript
coinunknown
php
5 years ago
722 B
17
Indexable
variables:
{coin.%player%} = 0
command /coinver [<Player>] [<Text>]:
trigger:
if arg 1 is set:
if arg 2 is set:
if arg 2 is "0":
send "0 coin gönderemezsiniz." to player
else if arg 2 is smaller than or equal to {coin.%player%}:
remove arg-2 from {coin.%player%}
add arg-2 to {coin.%arg-1%}
send "%arg-1% adlı oyuncuya %arg-2% coin gönderdin." to player
send "%player% adlı oyuncu %arg-2% coin gönderdi." to arg-1
else:
send "0'dan yüksek girebilir ve coin miktarınızdan düşük girebilirsiniz." to playerEditor is loading...