Skocz do zawartości
  • 0

[POTRZEBUJE] Skrypt na lvl


Pytanie

Chcialbym zeby ktos napisal skrypt na lvl i zeby wyglodalo to tak Wykopie sie 64 stone = 1 lvl i prefix przed nickiem Swiezak 1 jesli sie wykopie 2 staki ma sie lvl 2 i Swiezak 2 jesli sie wykopie 3 staki cobla to 3 lvl i Swiezak 4 4 staki cobla to prefix Poczatkujacy 1 i zeby byla komenda dodawania sobie lvl.

Odnośnik do komentarza
https://skript.pl/temat/19676-potrzebuje-skrypt-na-lvl/
Udostępnij na innych stronach

3 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
Dnia 5.07.2017 o 20:52, esej napisał:

options:

	cobble1: 64
	pref1: &bSwiezak I

	cobble2: 128
	pref2: &3Swiezak II

	cobble3: 256
	pref3: &6Swiezak III

	cobble4: 512
	pref4: &ePoczatkujacy I

	cobble5: 1024
	pref5: &2Poczatkujacy II

	cobble6: 2048
	pref6: &4Poczatkujacy III

	cobble7: 4096
	pref7: &4Zaawansowany I

	cobble8: 8192
	pref8: &cZaawansowany II

	cobble9: 16384
	pref9: &3Zaawansowany III

	cobble10: 32768
	pref10: &8 &cZAAWANSOWANY &8«]

on mine of stone:
	add 1 to {mined::stone::%player%}
	if {mined::stone::%player%} = "{@cobble1}":
		set player's prefix to "{@prefix1}"
		send "&8» &c%player% &czdobyl nowa range &8» &3'{@prefix1}'" to all players
	if {mined::stone::%player%} = "{@cobble2}":
		set player's prefix to "{@prefix2}"
		send "&8» &c%player% &czdobyl nowa range &8» &3'{@prefix2}'" to all players
	if {mined::stone::%player%} = "{@cobble3}":
		set player's prefix to "{@prefix3}"
		send "&8» &c%player% &czdobyl nowa range &8» &3'{@prefix3}'" to all players
	if {mined::stone::%player%} = "{@cobble4}":
		set player's prefix to "{@prefix4}"
		send "&8» &c%player% &czdobyl nowa range &8» &3'{@prefix4}'" to all players
	if {mined::stone::%player%} = "{@cobble5}":
		set player's prefix to "{@prefix5}"
		send "&8» &c%player% &czdobyl nowa range &8» &3'{@prefix5}'" to all players
	if {mined::stone::%player%} = "{@cobble5}":
		set player's prefix to "{@prefix6}"
		send "&8» &c%player% &czdobyl nowa range &8» &3'{@prefix6}'" to all players
	if {mined::stone::%player%} = "{@cobble6}":
		set player's prefix to "{@prefix7}"
		send "&8» &c%player% &czdobyl nowa range &8» &3'{@prefix7}'" to all players
	if {mined::stone::%player%} = "{@cobble7}":
		set player's prefix to "{@prefix8}"
		send "&8» &c%player% &czdobyl nowa range &8» &3'{@prefix8}'" to all players
	if {mined::stone::%player%} = "{@cobble8}":
		set player's prefix to "{@prefix9}"
		send "&8» &c%player% &czdobyl nowa range &8» &3'{@prefix9}'" to all players
	if {mined::stone::%player%} = "{@cobble9}":
		set player's prefix to "{@prefix10}"
		broadcast "&8» &c%player% &czdobyl najwyzsza range &8» &3'{@prefix10}'"
		broadcast "&8» &3Pogratulujmy mu! &6Wszyscy!"
		broadcast "&8» &6Wykopal &c&l%{mined::stone::%player%}% &7kamienia &8«"
command /esej:setlevel [<offlineplayer>] [<integer>]:
	permission: esej.mine.level
	permission message: &cNie posiadasz uprawnien &8(&cesej.mine.level&8)
	aliases: /setlevel, /setlvl, /ustawpoziom, /ustawlvl
	usage: /setlevel <nick>
	trigger:
		if integer-argument is > 10:
			send "&8» &4Error: &clevel is bigger than maximum &8«" to the player
			stop
		else:
			set {mined::stone::%player-argument%} to integer-argument
			send "&8» &aPomyslnie &6ustawiono level" to the player
			stop

 

Dzieki wielkie :)

 

Errory ;/

 

Łączę //Michma

Odnośnik do komentarza
https://skript.pl/temat/19676-potrzebuje-skrypt-na-lvl/#findComment-133948
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

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