Skocz do zawartości

Rekomendowane odpowiedzi

Witam dziś chciałbym zaprezentować wam moje skrypty...

Więc zaczynamy :)

1.

FIRMA+LISTA FIRM+LISTA ZATRUDNIONYCH.

#==========[FIRMAPRO]==========##Autor: TheSeekeer_PL          ##Nazwa: FirmaPro               ##Wersja: 1.0.0                 ##==========[FIRMAPRO]==========# #Zmienne#variables:	#Zmienna ZALOZ  +  #	{firma.zaloz.%player%} = 0	#Zmienna USUN  +  #	{firma.usun.%player%} = 1	#Zmienna Wlasciciel  +  #	{firma.wlasciciel.%player%} = 0	#Zmienna Prezes  +  #	{firma.prezes.%player%} = 0	#Zmienna Ksiegowy  +  #	{firma.ksiegowy.%player%} = 0	#Zmienna Dostawca  +  #	{firma.dostawca.%player%} = 0	#Zmienna Sprzedawca  +  #	{firma.sprzedawca.%player%} = 0	#Zmienna Kopacz  +  #	{firma.kopacz.%player%} = 0	#Zmienna Wyplata#	{firma.wyplata.%player%} = 0	#Zmienna Region  +  #	{firma.region.%player%} = 0	#Zmienna Materialy  +  #	{firma.materialy.%player%} = 0       #Opcje#options:	tag: &8[&6RC&8]&r	zaloz: Wlasnie zakladasz firme.	nzaloz: Nie podales nazwy firmy !	izaloz: Taka firma juz istnieje !	wzaloz: Posiadasz juz firme !	usun: Usuwasz firme !	nusun: Nie mozesz usunac firmy poniewaz jej nie posiadasz !	nazwa: Wlasnie zmieniasz nazwe firmy !	nnazwa: Nie mozesz zmienic juz nazwy poniewaz zrobiles to wczesniej!	inazwa: Taka nazwa jest juz zajeta!	wlasciciel: Wlasnie mianowales gracza %arg 2% na wlasciciela!	prezes: Wlasnie mianowales gracza %arg 3% na prezesa!	ksiegowy: Wlasnie mianowales gracza %arg 3% na ksiegowego!	dostawca: Wlasnie mianowales gracza %arg 3% na dostawce!	sprzedawca: Wlasnie mianowales gracza %arg 3% na sprzedawce!	kopacz: Wlasnie mianowales gracza %arg 3% na kopacza!	wyplata: Wlasnie dales wyplate graczowi %arg 2%!	sprzedaj: Wlasnie sprzedales firme graczowi %arg 2% za cene : %arg 3%.       #KOD#command /firma [<text>] [<text>] [<text>]:	trigger:		if arg 1 is not set:			send "{@tag} Nie wybrales komendy !"			send "{@tag} Komendy znajdziesz pod : &a/firma pomoc"			stop#Zaloz#                		if arg 1 is "zaloz":			if arg 2 is not set:				send "{@tag} {@nzaloz}"				stop			if arg 2 is set:				if {firma.zaloz.%player%} is 0:					{firma.zaloz.%arg 2%} is not set:						send "{@tag} {@zaloz}"						add "%arg 2%" to {firma.zaloz.list::*}						execute console command "pex user %player% prefix &8[&b%arg 2%&8][&fGracz&8]&r"						execute console command "pex user %player% add firma.wlasciciel"						execute console command "pex user %player% add firma.usun"						execute console command "pex user %player% add firma.pracownicy"						execute console command "pex user %player% add firma.region"						set {firma.zaloz.%player%} to 1						set {firma.usun.%player%} to 0						stop					{firma.zaloz.%arg 2%} is set:						send "{@tag} {@inazwa}"						stop				if {firma.zaloz.%player%} is 1:					send "{@tag} {@wzaloz}"					stop   #Wlasciciel#                                   		if arg 1 is "wlasciciel":			if player has permission "firma.wlasciciel":				if arg 2 is not set:					send "{@tag} Nie podales nazwy firmy!"				if arg 2 is set:					if arg 3 is set:						if {firma.wlasciciel.%player%} is 0:							{firma.wlasciciel.%arg 3%} is not set:								send "{@tag} Przydzieliles Wlasciciela Firmy graczowi %arg 3%"								execute console command "pex user %arg 3% prefix &8[&2W&8][&b%arg 2%&8][&fGracz&8]&r"								add "%arg 3%" to {firma.wlasciciel.%arg 2%.list::*}								set {firma.wlasciciel.%player%} to 1								stop							{firma.wlasciciel.%arg 3%} is set:								send "{@tag} Ta osoba jest juz wlascicielem tej firmy"								stop						if {firma.wlasciciel.%player%} is 1:							send "{@tag} Ta firma posiada juz wlasciciela"							stop					if arg 3 is not set:						send "{@tag} Nie podales nazwy gracza"						stop			else:				send "{@tag} Nie posiadasz uprawnien do tej komendy"				stop#List#                         		if arg 1 is "list":			if arg 2 is not set:				send "{@tag} Lista firm:"				send "%{firma.zaloz.list::*}%"				send "Lista pracownikow danej firmy: &a/firma list <nazwa firmy>"				stop			if arg 2 is set:				send "&lWlasciciel:&r  %{firma.wlasciciel.%arg 2%.list::*}%"				send "&lPrezes:&r  %{firma.prezes.%arg 2%.list::*}%"				send "&lKsiegowy:&r  %{firma.ksiegowy.%arg 2%.list::*}%"				send "&lDostawca:&r  %{firma.dostawca.%arg 2%.list::*}%"				send "&lSprzedawca:&r  %{firma.sprzedawca.%arg 2%.list::*}%"				send "&lKopacz:&r  %{firma.kopacz.%arg 2%.list::*}%"				stop#usun#                         		if arg 1 is "usun":			if arg 2 is not set:				send "{@tag} Podaj nazwe swojej firmy !"			if arg 2 is set:				if {firma.usun.%player%} is 0:					send "{@tag} Zanim usuniesz firme usun pracowników!"					send "&a/usun wlasciciel <nick>"					send "&a/usun prezes <nick>"					send "&a/usun ksiegowy <nick>"					send "&a/usun dostawca <nick>"					send "&a/usun sprzedawca <nick>"					send "&a/usun kopacz <nick>"					send "&cStosuj kolejke ! Zaczynaj od usuwania wlasciciela !!!"					stop			if arg 2 is "Wlasciciel":				if arg 3 is set:					send "Usuwasz wlasciciela firmy !"					execute console command "pex user %arg 3% prefix &f[&8Gracz&f]&r"					stop				if arg 3 is not set:					send "{@tag} Podaj nick Wlasciciela !"					stop			if arg 2 is "Prezes":				if arg 3 is set:					send "Usuwasz Prezesa firmy"					execute console command "pex user %arg 3% prefix &f[&8Gracz&f]&r"					stop				if arg 3 is not set:					send "{@tag} Podaj nick Prezesa !"					stop			if arg 2 is "Ksiegowy":				if arg 3 is set:					send "Usuwasz Ksiegowego firmy"					execute console command "pex user %arg 3% prefix &f[&8Gracz&f]&r"					stop				if arg 3 is not set:					send "{@tag} Podaj nick Ksiegowego !"					stop			if arg 2 is "Dostawca":				if arg 3 is set:					send "Usuwasz Dostawce firmy"					execute console command "pex user %arg 3% prefix &f[&8Gracz&f]&r"					stop				if arg 3 is not set:					send "{@tag} Podaj nick Dostawcy !"					stop			if arg 2 is "Sprzedawca":				if arg 3 is set:					send "Usuwasz Sprzedawce firmy"					execute console command "pex user %arg 3% prefix &f[&8Gracz&f]&r"					stop				if arg 3 is not set:					send "{@tag} Podaj nick Sprzedawcy !"					stop			if arg 2 is "Kopacz":				if arg 3 is set:					send "Usuwasz Kopacza firmy"					execute console command "pex user %arg 3% prefix &f[&8Gracz&f]&r"					stop				if arg 3 is not set:					send "{@tag} Podaj nick Kopacza !"					stop			if arg 2 is "firme":				if arg 3 is set:					{firma.zaloz.list::*} is set:						remove "%arg 3%" from {firma.zaloz.list::*}						execute console command "pex user %player% prefix &f[&8Gracz&f]&r"						set {firma.usun.%player%} to 1						set {firma.zaloz.%player%} to 0						set {firma.nazwa.%player%} to 0						set {firma.region.%player%} to 0						execute console command "pex user %player% remove firma.wlasciciel"						execute console command "pex user %player% remove firma.usun"						execute console command "pex user %player% remove firma.region"						execute console command "pex user %player% remove firma.pracownicy"						stop#Region#                                               		if arg 1 is "region":			if player has permission "frima.region":				if arg 2 is set:					if {firma.region.%player%} is 0:						{firma.region.%arg 2%.list} is not set:							execute player command "warp firma"							execute console command "rg addowner %arg 2% %player%"							set {firma.region.%player%} to 1							stop						{firma.region.%arg 2%.list} is set:							send "Ten region jest zajety!!"					if {firma.region.%player%} is 1:						send "Ty i twoja firma posiadacie juz region!I nie mozecie juz wiecej !"						stop				if arg 2 is not set:					send "Regiony:"					send "1,2,3,4,5,6,7,8,9,10"					send "Wiecej regionów aktualnie nie potrzeba!"					stop#Prezes#                                       		if arg 1 is "prezes":			if player has permission "firma.pracownicy":				if arg 2 is set:					if arg 3 is set:						if {firma.prezes.%player%} is 0:							{firma.prezes.%arg 2%.list::*} is not set:								add "%arg 3%" to {firma.prezes.%arg 2%.list::*}								send "{@tag} {@prezes}"								execute console command "pex user %arg 3% prefix &8[&fP&8][&b%arg 2%&8][&fGracz&8]&r"								set {firma.prezes.%player%} to 1								stop							{firma.prezes.%arg 2%.list::*} is set:								send "{@tag} Ta osoba jest juz Prezesem firmy !"								stop						if {firma.prezes.%player%} is 1:							send "{@tag} Ta firma posiada juz prezesa"							stop					if arg 3 is not set:						send "{@tag} Podaj nick gracza !!"						stop				if arg 2 is not set:					send "{@tag} Nie podales nazwy firmy !"					stop			else:				send "{@tag} Nie posiadasz uprawnien do wykonania tego polecenia"				stop#Ksiegowy#                             		if arg 1 is "ksiegowy":			if player has permission "firma.pracownicy":				if arg 2 is set:					if arg 3 is set:						if {firma.ksiegowy.%player%} is 0:							{firma.ksiegowy.%arg 2%.list::*} is not set:								add "%arg 3%" to {firma.ksiegowy.%arg 2%.list::*}								send "{@tag} {@ksiegowy}"								execute console command "pex user %arg 3% prefix &8[&fKS&8][&b%arg 2%&8][&fGracz&8]&r"								set {firma.ksiegowy.%player%} to 1								stop							{firma.ksiegowy.%arg 2%.list::*} is set:								send "{@tag} Ta osoba jest juz ksiegowym firmy !"								stop						if {firma.ksiegowy.%player%} is 1:							send "{@tag} Ta firma posiada juz ksiegowego"							stop					if arg 3 is not set:						send "{@tag} Podaj nick gracza !!"						stop				if arg 2 is not set:					send "{@tag} Nie podales nazwy firmy !"					stop			else:				send "{@tag} Nie posiadasz uprawnien do wykonania tego polecenia"				stop#Dostawca#                             		if arg 1 is "dostawca":			if player has permission "firma.pracownicy":				if arg 2 is set:					if arg 3 is set:						if {firma.dostawca.%player%} is 0:							{firma.dostawca.%arg 2%.list::*} is not set:								add "%arg 3%" to {firma.dostawca.%arg 2%.list::*}								send "{@tag} {@dostawca}"								execute console command "pex user %arg 3% prefix &8[&fD&8][&b%arg 2%&8][&fGracz&8]&r"								set {firma.dostawca.%player%} to 1								stop							{firma.dostawca.%arg 2%.list::*} is set:								send "{@tag} Ta osoba jest juz Dostawca firmy !"								stop						if {firma.dostawca.%player%} is 1:							send "{@tag} Ta firma posiada juz dostawca"							stop					if arg 3 is not set:						send "{@tag} Podaj nick gracza !!"						stop				if arg 2 is not set:					send "{@tag} Nie podales nazwy firmy !"					stop			else:				send "{@tag} Nie posiadasz uprawnien do wykonania tego polecenia"				stop#Sprzedawca#                           		if arg 1 is "sprzedawca":			if player has permission "firma.pracownicy":				if arg 2 is set:					if arg 3 is set:						if {firma.sprzedawca.%player%} is 0:							{firma.sprzedawca.%arg 2%.list::*} is not set:								add "%arg 3%" to {firma.sprzedawca.%arg 2%.list::*}								send "{@tag} {@sprzedawca}"								execute console command "pex user %arg 3% prefix &8[&fS&8][&b%arg 2%&8][&fGracz&8]&r"								set {firma.sprzedawca.%player%} to 1								stop							{firma.sprzedawca.%arg 2%.list::*} is set:								send "{@tag} Ta osoba jest juz Sprzedawca firmy !"								stop						if {firma.sprzedawca.%player%} is 1:							send "{@tag} Ta firma posiada juz sprzedawca"							stop					if arg 3 is not set:						send "{@tag} Podaj nick gracza !!"						stop				if arg 2 is not set:					send "{@tag} Nie podales nazwy firmy !"					stop			else:				send "{@tag} Nie posiadasz uprawnien do wykonania tego polecenia"				stop#Kopacz#                               		if arg 1 is "kopacz":			if player has permission "firma.pracownicy":				if arg 2 is set:					if arg 3 is set:						if {firma.kopacz.%player%} is 0:							{firma.kopacz.%arg 2%.list::*} is not set:								add "%arg 3%" to {firma.kopacz.%arg 2%.list::*}								send "{@tag} {@kopacz}"								execute console command "pex user %arg 3% prefix &8[&fP&8][&b%arg 2%&8][&fGracz&8]&r"								set {firma.kopacz.%player%} to 1								stop							{firma.kopacz.%arg 2%.list::*} is set:								send "{@tag} Ta osoba jest juz Kopaczem firmy !"								stop						if {firma.kopacz.%player%} is 1:							send "{@tag} Ta firma posiada juz kopacza"							stop					if arg 3 is not set:						send "{@tag} Podaj nick gracza !!"						stop				if arg 2 is not set:					send "{@tag} Nie podales nazwy firmy !"					stop			else:				send "{@tag} Nie posiadasz uprawnien do wykonania tego polecenia"				stop                           #Materialy#		if arg 1 is "materialy":			if player has permission "firma.pracownicy":				if {firma.materialy.%player%} is 0:					execute console command "kit narzedzia %player%"					set {firma.materialy.%player%} to 1					stop				if {firma.materialy.%player%} is 1:					send "{@tag} Nie mozesz juz!"					stop

2.

WARPY:

command /set [<text>]:	trigger:		if player is op:			arg is set:				{seekeer.warp.%arg%} is not set:					set {seekeer.warp.%argument%} to location of the player					add "%arg%" to {seekeer.warp.warplist::*}					message "&bStworzyles warp &c%argument%!"				else:					send "&bTaki warp juz istnieje"					stop			else:				send "&cPodaj nazwe warpa"				stop		else:			send "&cBrak pozwolenia"			stopcommand /przenies [<text>]:	trigger:		if {seekeer.warp.%argument%} is not set:			message "&bWarp '%argument%' nie zostal odnaleziony!"		if {seekeer.warp.%argument%} is set:			send "&bTeleportacja do &c%argument 1%&b za &c2 &bsekundy!"			wait 2 seconds			teleport the player to {seekeer.warp.%argument%}			stopcommand /del [<text>]:	trigger:		if player is op:			arg is set:				{seekeer.warp.%argument%} is set:					delete {seekeer.warp.%argument%}					remove "%arg%" from {seekeer.warp.warplist::*}					send "&bWarp &c%arg%&b zostal usuniety."					stop				send "&bTaki nie istnieje. &c/warplist"				stop			send "&bPodaj nazwe warpa. &c/del <warp>"			stop		else:			send "&cBrak pozwolenia"			stopcommand /warplist:	trigger:		{seekeer.warp.warplist::*} is set:			send "&bLista warpow:"			send "%{seekeer.warp.warplist::*}%"			stop		send "&bBrak dostepnych warpow."		stop

3.

ZMIANA NA CHAT :

Zmiana z ADMIN na Admin

on chat:	if player is not op:		replace all "Admin" with "&cAdmin&r" in the message		stop
Odnośnik do komentarza
https://skript.pl/temat/116-seekeer/
Udostępnij na innych stronach

  • 2 tygodnie później...
  • bvcz zablokował(a) ten temat
  • Libter odblokował(a) ten temat

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
Dodaj odpowiedź do tematu...

×   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ę...