Skocz do zawartości
  • 0

bank itemow duzo plus


SirSkPlus

Pytanie

Daje duzo plus

potrzebuje skrypt

komenda /walutawplac

wplaca 1x fireball o nazwie Waluta Serwera do banku

/walutawyplac

wyplaca 1 fireball

i komenda /walutasprawdz

sprawdza ile masz aktualnie waluty

 

------------------------

JEZELI KTOS UMIE PRZYDA SIE JESZCZE

/walutapay ktora przesyla graczowi jakiemus walute od innego-

Odnośnik do komentarza
https://skript.pl/temat/31275-bank-itemow-duzo-plus/
Udostępnij na innych stronach

5 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
options:
	item: firebal named "&6Waluta"
command /waluta [<text>] [<player>] [<number>]:
	trigger:
  		if {WALUTA::%player%} is not set:
  			set {WALUTA::%player%} to 0
  		if arg 1 is not set:
  			send "waluta wplac"
  			send "waluta wyplac"
  			send "waluta stan"
  			send "waluta pay <nick>"
  		else if arg 1 is "wplac":
  			if player has {@item}:
  				remove {@item} from player
  				add 1 to {WALUTA::%player%}
  				send "&6Wplacono 1"
  			else:
  				send "&6Nie posiadasz waluty!"
  		else if arg 1 is "wyplac":
  			if {WALUTA::%player%} > 0:
  				remove 1 from {WALUTA::%player%}
  				add {@item} to player
  				send "&6Wyplacono 1"
  			else:
  				send "&6Nie posiadasz kasy!"
  		else if arg 1 is "stan":
  			send "&cPosiadasz: &6%{WALUTA::%player%}%"
  		else if arg 1 is "pay":
  			set {_n} to arg 3
  			if {WALUTA::%player%} >= {_n}:
  				remove {_n} from {WALUTA::%player%}
  				add {_n} to {WALUTA::%arg 2%}
				send "&6Przelano %{_n}% do %arg 2%" to player
  				send "&6Przelew %{_n}% od %player%" to arg 2
  			else:
  				send "&6Nie posiadasz %{_n}%"

 

Odnośnik do komentarza
https://skript.pl/temat/31275-bank-itemow-duzo-plus/#findComment-203490
Udostępnij na innych stronach

  • 0
45 minut temu, xAxee napisał:

options:
	item: firebal named "&6Waluta"
command /waluta [<text>] [<player>] [<number>]:
	trigger:
  		if {WALUTA::%player%} is not set:
  			set {WALUTA::%player%} to 0
  		if arg 1 is not set:
  			send "waluta wplac"
  			send "waluta wyplac"
  			send "waluta stan"
  			send "waluta pay <nick>"
  		else if arg 1 is "wplac":
  			if player has {@item}:
  				remove {@item} from player
  				add 1 to {WALUTA::%player%}
  				send "&6Wplacono 1"
  			else:
  				send "&6Nie posiadasz waluty!"
  		else if arg 1 is "wyplac":
  			if {WALUTA::%player%} > 0:
  				remove 1 from {WALUTA::%player%}
  				add {@item} to player
  				send "&6Wyplacono 1"
  			else:
  				send "&6Nie posiadasz kasy!"
  		else if arg 1 is "stan":
  			send "&cPosiadasz: &6%{WALUTA::%player%}%"
  		else if arg 1 is "pay":
  			set {_n} to arg 3
  			if {WALUTA::%player%} >= {_n}:
  				remove {_n} from {WALUTA::%player%}
  				add {_n} to {WALUTA::%arg 2%}
				send "&6Przelano %{_n}% do %arg 2%" to player
  				send "&6Przelew %{_n}% od %player%" to arg 2
  			else:
  				send "&6Nie posiadasz %{_n}%"

 

32 bledy nie dziala

Odnośnik do komentarza
https://skript.pl/temat/31275-bank-itemow-duzo-plus/#findComment-203491
Udostępnij na innych stronach

Dołącz do dyskusji

Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.

Nieaktywny
Odpowiedz na pytanie...

×   Wklejono zawartość z formatowaniem.   Usuń formatowanie

  Dozwolonych jest tylko 75 emoji.

×   Odnośnik został automatycznie osadzony.   Przywróć wyświetlanie jako odnośnik

×   Przywrócono poprzednią zawartość.   Wyczyść edytor

×   Nie możesz bezpośrednio wkleić grafiki. Dodaj lub załącz grafiki z adresu URL.

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...