Skocz do zawartości
  • 1

Skript: Dodanie punktów


KoORNEL
 Udostępnij

Pytanie

Witam, mam skrypt na konkurs "kto pierwszy przepisze kod". Zwycziężca dostaje jeden punkt. Chce zrobić komende, która gdy ktoś ma 25 punktów zabiera mu je i wręcza range SilverMember na 2 dni (AZRANK). Gdy nie ma mu 25 punktów pisze ile brakuje lub wyswietla informacje o ich braku.

kod:

Spoiler

# Parrot 2014 edit by AvePL #

# Na edycję zezwalam tylko na wlasny uzytek. #

###############################################

options:

czas: 4 # tu ustaw czas po jakim konkurs ma sie rozpoczac

l: &e[&6Konkurs&e] # prefix

ilosc: 1

item: punkt

variables:

{konkurs} = 0

{punkty} = 0

every {@czas} hours:

execute console command "konkurs"

command /konkurs:

trigger:

if sender has permission "sk.konkurs":

set {konkurs.znak1} to 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or "a" or "A" or "b" or "B" or "c" or "C" or "d" or "D" or "e" or "E" or "f" or "F" or "g" or "G" or "h" or "H" or "k" or "K" or "l" or "L" or "m" or "M" or "n" or "N" or "o" or "O" or "p" or "P" or "q" or "Q" or "r" or "R" or "s" or "S" or "t" or "T" or "u" or "U" or "v" or "V" or "w" or "W" or "x" or "X" or "y" or "Y" or "z" or "Z"

set {konkurs.znak2} to 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or "a" or "A" or "b" or "B" or "c" or "C" or "d" or "D" or "e" or "E" or "f" or "F" or "g" or "G" or "h" or "H" or "k" or "K" or "l" or "L" or "m" or "M" or "n" or "N" or "o" or "O" or "p" or "P" or "q" or "Q" or "r" or "R" or "s" or "S" or "t" or "T" or "u" or "U" or "v" or "V" or "w" or "W" or "x" or "X" or "y" or "Y" or "z" or "Z"

set {konkurs.znak3} to 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or "a" or "A" or "b" or "B" or "c" or "C" or "d" or "D" or "e" or "E" or "f" or "F" or "g" or "G" or "h" or "H" or "k" or "K" or "l" or "L" or "m" or "M" or "n" or "N" or "o" or "O" or "p" or "P" or "q" or "Q" or "r" or "R" or "s" or "S" or "t" or "T" or "u" or "U" or "v" or "V" or "w" or "W" or "x" or "X" or "y" or "Y" or "z" or "Z"

set {konkurs.znak4} to 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or "a" or "A" or "b" or "B" or "c" or "C" or "d" or "D" or "e" or "E" or "f" or "F" or "g" or "G" or "h" or "H" or "k" or "K" or "l" or "L" or "m" or "M" or "n" or "N" or "o" or "O" or "p" or "P" or "q" or "Q" or "r" or "R" or "s" or "S" or "t" or "T" or "u" or "U" or "v" or "V" or "w" or "W" or "x" or "X" or "y" or "Y" or "z" or "Z"

set {konkurs.znak5} to 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or "a" or "A" or "b" or "B" or "c" or "C" or "d" or "D" or "e" or "E" or "f" or "F" or "g" or "G" or "h" or "H" or "k" or "K" or "l" or "L" or "m" or "M" or "n" or "N" or "o" or "O" or "p" or "P" or "q" or "Q" or "r" or "R" or "s" or "S" or "t" or "T" or "u" or "U" or "v" or "V" or "w" or "W" or "x" or "X" or "y" or "Y" or "z" or "Z"

set {konkurs.znak6} to 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or "a" or "A" or "b" or "B" or "c" or "C" or "d" or "D" or "e" or "E" or "f" or "F" or "g" or "G" or "h" or "H" or "k" or "K" or "l" or "L" or "m" or "M" or "n" or "N" or "o" or "O" or "p" or "P" or "q" or "Q" or "r" or "R" or "s" or "S" or "t" or "T" or "u" or "U" or "v" or "V" or "w" or "W" or "x" or "X" or "y" or "Y" or "z" or "Z"

set {konkurs.kod} to "%{konkurs.znak1}%%{konkurs.znak2}%%{konkurs.znak3}%%{konkurs.znak4}%%{konkurs.znak5}%%{konkurs.znak6}%"

broadcast "{@l} &7Za 3 sekundy rozpocznie sie konkurs! Kto pierwszy wpisze znaki na ekranie wygrywa {@ilosc} punkt"

broadcast "{@l} &725 punktow mozesz wymienic na SilverMember 2 dni"

wait 1 second

broadcast "{@l} &73"

wait 1 second

broadcast "{@l} &72"

wait 1 second

broadcast "{@l} &71"

wait 1 second

set {konkurs} to 1

loop all players:

execute console command "playsound random.levelup %loop-player%"

broadcast "{@l} &7Kod to &e%{konkurs.kod}%&7! Aby go wprowadzic wpisz /kod (kod na ekranie)"

else:

message "&cNie masz uprawnien do tego!"

command /kod [<text&gt]:

trigger:

if {konkurs} is 1:

if argument 1 is not empty:

if argument 1 is {konkurs.kod}:

broadcast "{@l} &7Gracz %player% wpisal jako pierwszy kod &e%{konkurs.kod}% &7i wygral {@ilosc} {@item}!"

add 1 to {punkty.%player%}

loop all players:

execute console command "playsound mob.wither.spawn %loop-player%"

set {konkurs} to 0

else:

message "{@l} &7Kod niepoprawny!"

else:

message "{@l} &7Wpisz /kod <kod>"

else:

message "{@l} &7W tej chwili nie trwa zaden konkurs!"

command /punkty [<text&gt]:

trigger:

send "&aTwoje punkty : %{punkty.%player%}%"

		
	


 

Edytowane przez Ewald
Odnośnik do komentarza
Udostępnij na innych stronach

8 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

Nie mogłeś dać z tabami? Masz gotowy kod:

################################################ Parrot 2014 edit by AvePL ## Na edycję zezwalam tylko na wlasny uzytek. #################################################options:	czas: 4 # tu ustaw czas po jakim konkurs ma sie rozpoczac	l: &e[&6Konkurs&e] # prefix	ilosc: 1	item: punkt#variables:	{konkurs} = 0	{punkty} = 0#every {@czas} hours:	execute console command "konkurs"#command /konkurs:	trigger:		if player has permission "sk.konkurs":			set {konkurs.znak1} to 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or "a" or "A" or "b" or "B" or "c" or "C" or "d" or "D" or "e" or "E" or "f" or "F" or "g" or "G" or "h" or "H" or "k" or "K" or "l" or "L" or "m" or "M" or "n" or "N" or "o" or "O" or "p" or "P" or "q" or "Q" or "r" or "R" or "s" or "S" or "t" or "T" or "u" or "U" or "v" or "V" or "w" or "W" or "x" or "X" or "y" or "Y" or "z" or "Z"			set {konkurs.znak2} to 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or "a" or "A" or "b" or "B" or "c" or "C" or "d" or "D" or "e" or "E" or "f" or "F" or "g" or "G" or "h" or "H" or "k" or "K" or "l" or "L" or "m" or "M" or "n" or "N" or "o" or "O" or "p" or "P" or "q" or "Q" or "r" or "R" or "s" or "S" or "t" or "T" or "u" or "U" or "v" or "V" or "w" or "W" or "x" or "X" or "y" or "Y" or "z" or "Z"			set {konkurs.znak3} to 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or "a" or "A" or "b" or "B" or "c" or "C" or "d" or "D" or "e" or "E" or "f" or "F" or "g" or "G" or "h" or "H" or "k" or "K" or "l" or "L" or "m" or "M" or "n" or "N" or "o" or "O" or "p" or "P" or "q" or "Q" or "r" or "R" or "s" or "S" or "t" or "T" or "u" or "U" or "v" or "V" or "w" or "W" or "x" or "X" or "y" or "Y" or "z" or "Z"			set {konkurs.znak4} to 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or "a" or "A" or "b" or "B" or "c" or "C" or "d" or "D" or "e" or "E" or "f" or "F" or "g" or "G" or "h" or "H" or "k" or "K" or "l" or "L" or "m" or "M" or "n" or "N" or "o" or "O" or "p" or "P" or "q" or "Q" or "r" or "R" or "s" or "S" or "t" or "T" or "u" or "U" or "v" or "V" or "w" or "W" or "x" or "X" or "y" or "Y" or "z" or "Z" 			set {konkurs.znak5} to 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or "a" or "A" or "b" or "B" or "c" or "C" or "d" or "D" or "e" or "E" or "f" or "F" or "g" or "G" or "h" or "H" or "k" or "K" or "l" or "L" or "m" or "M" or "n" or "N" or "o" or "O" or "p" or "P" or "q" or "Q" or "r" or "R" or "s" or "S" or "t" or "T" or "u" or "U" or "v" or "V" or "w" or "W" or "x" or "X" or "y" or "Y" or "z" or "Z"			set {konkurs.znak6} to 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or "a" or "A" or "b" or "B" or "c" or "C" or "d" or "D" or "e" or "E" or "f" or "F" or "g" or "G" or "h" or "H" or "k" or "K" or "l" or "L" or "m" or "M" or "n" or "N" or "o" or "O" or "p" or "P" or "q" or "Q" or "r" or "R" or "s" or "S" or "t" or "T" or "u" or "U" or "v" or "V" or "w" or "W" or "x" or "X" or "y" or "Y" or "z" or "Z"			set {konkurs.kod} to "%{konkurs.znak1}%%{konkurs.znak2}%%{konkurs.znak3}%%{konkurs.znak4}%%{konkurs.znak5}%%{konkurs.znak6}%"			broadcast "{@l} &7Za 3 sekundy rozpocznie sie konkurs! Kto pierwszy wpisze znaki na ekranie wygrywa {@ilosc} punkt"			broadcast "{@l} &725 punktow mozesz wymienic na SilverMember 2 dni"			wait 1 second			broadcast "{@l} &73"			wait 1 second			broadcast "{@l} &72"			wait 1 second			broadcast "{@l} &71"			wait 1 second			set {konkurs} to 1			loop all players:				execute console command "playsound random.levelup %loop-player%"				broadcast "{@l} &7Kod to &e%{konkurs.kod}%&7! Aby go wprowadzic wpisz /kod (kod na ekranie)"		else:			message "&cNie masz uprawnien do tego!"#command /kod [<text&gt]:	trigger:		if {konkurs} is 1:			if argument 1 is not empty:				if argument 1 is {konkurs.kod}:					broadcast "{@l} &7Gracz %player% wpisal jako pierwszy kod &e%{konkurs.kod}% &7i wygral {@ilosc} {@item}!"					add 1 to {punkty.%player%}					loop all players:						execute console command "playsound mob.wither.spawn %loop-player%"						set {konkurs} to 0				else:					message "{@l} &7Kod niepoprawny!"			else:				message "{@l} &7Wpisz /kod <kod>"		else:			message "{@l} &7W tej chwili nie trwa zaden konkurs!"#command /punkty [<text&gt]:	trigger:		send "&aTwoje punkty : %{punkty.%player%}%"		set {_punkty.ilosc.%player%} to 25 - {punkty.%player%}		if {_punkty.ilosc.%player%} is 0:			execute console command "azrank %player% silvermember 2d"		else:			if {_punkty.ilosc.%player%} is smaler than 0:				execute console command "azrank %player% silvermember 2d"			else:				send "Brakuje Tobie %{_punkty.ilosc.%player%}% punktów" to player#
Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
on spawn of zombie:	chance of 10%:		spawn 1 zombie at event-location#every 2 minutes:	if is night:		loop all players:			chance of 10%:				set {_odleglosc} to random between 5 and 30				spawn 1 zombie {_odleglosc} meters a front of player################################################ Parrot 2014 edit by AvePL ## Na edycj� zezwalam tylko na wlasny uzytek. #################################################options:	czas: 4 # tu ustaw czas po jakim konkurs ma sie rozpoczac	l: &e[&6Konkurs&e] # prefix	ilosc: 1	item: punkt#variables:	{konkurs} = 0	{punkty} = 0#every {@czas} hours:	execute console command "konkurs"#command /konkurs:	trigger:		if player has permission "sk.konkurs":			set {konkurs.znak1} to 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or "a" or "A" or "b" or "B" or "c" or "C" or "d" or "D" or "e" or "E" or "f" or "F" or "g" or "G" or "h" or "H" or "k" or "K" or "l" or "L" or "m" or "M" or "n" or "N" or "o" or "O" or "p" or "P" or "q" or "Q" or "r" or "R" or "s" or "S" or "t" or "T" or "u" or "U" or "v" or "V" or "w" or "W" or "x" or "X" or "y" or "Y" or "z" or "Z"			set {konkurs.znak2} to 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or "a" or "A" or "b" or "B" or "c" or "C" or "d" or "D" or "e" or "E" or "f" or "F" or "g" or "G" or "h" or "H" or "k" or "K" or "l" or "L" or "m" or "M" or "n" or "N" or "o" or "O" or "p" or "P" or "q" or "Q" or "r" or "R" or "s" or "S" or "t" or "T" or "u" or "U" or "v" or "V" or "w" or "W" or "x" or "X" or "y" or "Y" or "z" or "Z"			set {konkurs.znak3} to 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or "a" or "A" or "b" or "B" or "c" or "C" or "d" or "D" or "e" or "E" or "f" or "F" or "g" or "G" or "h" or "H" or "k" or "K" or "l" or "L" or "m" or "M" or "n" or "N" or "o" or "O" or "p" or "P" or "q" or "Q" or "r" or "R" or "s" or "S" or "t" or "T" or "u" or "U" or "v" or "V" or "w" or "W" or "x" or "X" or "y" or "Y" or "z" or "Z"			set {konkurs.znak4} to 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or "a" or "A" or "b" or "B" or "c" or "C" or "d" or "D" or "e" or "E" or "f" or "F" or "g" or "G" or "h" or "H" or "k" or "K" or "l" or "L" or "m" or "M" or "n" or "N" or "o" or "O" or "p" or "P" or "q" or "Q" or "r" or "R" or "s" or "S" or "t" or "T" or "u" or "U" or "v" or "V" or "w" or "W" or "x" or "X" or "y" or "Y" or "z" or "Z"			set {konkurs.znak5} to 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or "a" or "A" or "b" or "B" or "c" or "C" or "d" or "D" or "e" or "E" or "f" or "F" or "g" or "G" or "h" or "H" or "k" or "K" or "l" or "L" or "m" or "M" or "n" or "N" or "o" or "O" or "p" or "P" or "q" or "Q" or "r" or "R" or "s" or "S" or "t" or "T" or "u" or "U" or "v" or "V" or "w" or "W" or "x" or "X" or "y" or "Y" or "z" or "Z"			set {konkurs.znak6} to 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or "a" or "A" or "b" or "B" or "c" or "C" or "d" or "D" or "e" or "E" or "f" or "F" or "g" or "G" or "h" or "H" or "k" or "K" or "l" or "L" or "m" or "M" or "n" or "N" or "o" or "O" or "p" or "P" or "q" or "Q" or "r" or "R" or "s" or "S" or "t" or "T" or "u" or "U" or "v" or "V" or "w" or "W" or "x" or "X" or "y" or "Y" or "z" or "Z"			set {konkurs.kod} to "%{konkurs.znak1}%%{konkurs.znak2}%%{konkurs.znak3}%%{konkurs.znak4}%%{konkurs.znak5}%%{konkurs.znak6}%"			broadcast "{@l} &7Za 3 sekundy rozpocznie sie konkurs! Kto pierwszy wpisze znaki na ekranie wygrywa {@ilosc} punkt"			broadcast "{@l} &725 punktow mozesz wymienic na SilverMember 2 dni"			wait 1 second			broadcast "{@l} &73"			wait 1 second			broadcast "{@l} &72"			wait 1 second			broadcast "{@l} &71"			wait 1 second			set {konkurs} to 1			loop all players:				execute console command "playsound random.levelup %loop-player%"				broadcast "{@l} &7Kod to &e%{konkurs.kod}%&7! Aby go wprowadzic wpisz /kod (kod na ekranie)"		else:			message "&cNie masz uprawnien do tego!"#command /kod [<text&gt]:	trigger:		if {konkurs} is 1:			if argument 1 is not empty:				if argument 1 is {konkurs.kod}:					broadcast "{@l} &7Gracz %player% wpisal jako pierwszy kod &e%{konkurs.kod}% &7i wygral {@ilosc} {@item}!"					add 1 to {punkty.%player%}					loop all players:						execute console command "playsound mob.wither.spawn %loop-player%"						set {konkurs} to 0				else:					message "{@l} &7Kod niepoprawny!"			else:				message "{@l} &7Wpisz /kod <kod>"		else:			message "{@l} &7W tej chwili nie trwa zaden konkurs!"#command /punkty [<text&gt]:	trigger:		send "&aTwoje punkty : %{punkty.%player%}%"#command /wymien:	trigger:		set {_punkty.ilosc.%player%} to 25 - {punkty.%player%}		if {_punkty.ilosc.%player%} is 0:			execute console command "azrank %player% silvermember 2d"		else:			if {_punkty.ilosc.%player%} is smaler than 0:				execute console command "azrank %player% silvermember 2d"			else:				send "Brakuje Tobie %{_punkty.ilosc.%player%}% punktow" to player#
Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

Niestety wcale komenda nie działa.

Pozatym skrypt działa jak działał.

command /wymien:          trigger:                set {_punkty.ilosc.%player%} to 25 - {punkty.%player%}                if {_punkty.ilosc.%player%} is 0:                    execute console command "azrank %player% silvermember 2d"                else:                       if {_punkty.ilosc.%player%} is smaler than 0:                           execute console command "azrank %player% silvermember 2d"                      else:                             send "Brakuje Tobie %{_punkty.ilosc.%player%}% punktow" to player
Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

Ja tam daje radę kopiować...

on spawn of zombie:


chance of 10%:
spawn 1 zombie at event-location
#
every 2 minutes:
if is night:
loop all players:
chance of 10%:
set {_odleglosc} to random between 5 and 30
spawn 1 zombie {_odleglosc} meters a front of player###############################################
# Parrot 2014 edit by AvePL #
# Na edycj� zezwalam tylko na wlasny uzytek. #
###############################################
#
options:
czas: 4 # tu ustaw czas po jakim konkurs ma sie rozpoczac
l: &e[&6Konkurs&e] # prefix
ilosc: 1
item: punkt
#
variables:
{konkurs} = 0
{punkty} = 0
#
every {@czas} hours:
execute console command "konkurs"
#
command /konkurs:
trigger:
if player has permission "sk.konkurs":
set {konkurs.znak1} to 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or "a" or "A" or "b" or "B" or "c" or "C" or "d" or "D" or "e" or "E" or "f" or "F" or "g" or "G" or "h" or "H" or "k" or "K" or "l" or "L" or "m" or "M" or "n" or "N" or "o" or "O" or "p" or "P" or "q" or "Q" or "r" or "R" or "s" or "S" or "t" or "T" or "u" or "U" or "v" or "V" or "w" or "W" or "x" or "X" or "y" or "Y" or "z" or "Z"
set {konkurs.znak2} to 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or "a" or "A" or "b" or "B" or "c" or "C" or "d" or "D" or "e" or "E" or "f" or "F" or "g" or "G" or "h" or "H" or "k" or "K" or "l" or "L" or "m" or "M" or "n" or "N" or "o" or "O" or "p" or "P" or "q" or "Q" or "r" or "R" or "s" or "S" or "t" or "T" or "u" or "U" or "v" or "V" or "w" or "W" or "x" or "X" or "y" or "Y" or "z" or "Z"
set {konkurs.znak3} to 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or "a" or "A" or "b" or "B" or "c" or "C" or "d" or "D" or "e" or "E" or "f" or "F" or "g" or "G" or "h" or "H" or "k" or "K" or "l" or "L" or "m" or "M" or "n" or "N" or "o" or "O" or "p" or "P" or "q" or "Q" or "r" or "R" or "s" or "S" or "t" or "T" or "u" or "U" or "v" or "V" or "w" or "W" or "x" or "X" or "y" or "Y" or "z" or "Z"
set {konkurs.znak4} to 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or "a" or "A" or "b" or "B" or "c" or "C" or "d" or "D" or "e" or "E" or "f" or "F" or "g" or "G" or "h" or "H" or "k" or "K" or "l" or "L" or "m" or "M" or "n" or "N" or "o" or "O" or "p" or "P" or "q" or "Q" or "r" or "R" or "s" or "S" or "t" or "T" or "u" or "U" or "v" or "V" or "w" or "W" or "x" or "X" or "y" or "Y" or "z" or "Z"
set {konkurs.znak5} to 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or "a" or "A" or "b" or "B" or "c" or "C" or "d" or "D" or "e" or "E" or "f" or "F" or "g" or "G" or "h" or "H" or "k" or "K" or "l" or "L" or "m" or "M" or "n" or "N" or "o" or "O" or "p" or "P" or "q" or "Q" or "r" or "R" or "s" or "S" or "t" or "T" or "u" or "U" or "v" or "V" or "w" or "W" or "x" or "X" or "y" or "Y" or "z" or "Z"
set {konkurs.znak6} to 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or "a" or "A" or "b" or "B" or "c" or "C" or "d" or "D" or "e" or "E" or "f" or "F" or "g" or "G" or "h" or "H" or "k" or "K" or "l" or "L" or "m" or "M" or "n" or "N" or "o" or "O" or "p" or "P" or "q" or "Q" or "r" or "R" or "s" or "S" or "t" or "T" or "u" or "U" or "v" or "V" or "w" or "W" or "x" or "X" or "y" or "Y" or "z" or "Z"
set {konkurs.kod} to "%{konkurs.znak1}%%{konkurs.znak2}%%{konkurs.znak3}%%{konkurs.znak4}%%{konkurs.znak5}%%{konkurs.znak6}%"
broadcast "{@l} &7Za 3 sekundy rozpocznie sie konkurs! Kto pierwszy wpisze znaki na ekranie wygrywa {@ilosc} punkt"
broadcast "{@l} &725 punktow mozesz wymienic na SilverMember 2 dni"
wait 1 second
broadcast "{@l} &73"
wait 1 second
broadcast "{@l} &72"
wait 1 second
broadcast "{@l} &71"
wait 1 second
set {konkurs} to 1
loop all players:
execute console command "playsound random.levelup %loop-player%"
broadcast "{@l} &7Kod to &e%{konkurs.kod}%&7! Aby go wprowadzic wpisz /kod (kod na ekranie)"
else:
message "&cNie masz uprawnien do tego!"
#
command /kod []:
trigger:
if {konkurs} is 1:
if argument 1 is not empty:
if argument 1 is {konkurs.kod}:
broadcast "{@l} &7Gracz %player% wpisal jako pierwszy kod &e%{konkurs.kod}% &7i wygral {@ilosc} {@item}!"
add 1 to {punkty.%player%}
loop all players:
execute console command "playsound mob.wither.spawn %loop-player%"
set {konkurs} to 0
else:
message "{@l} &7Kod niepoprawny!"
else:
message "{@l} &7Wpisz /kod "
else:
message "{@l} &7W tej chwili nie trwa zaden konkurs!"
#
command /punkty []:
trigger:
send "&aTwoje punkty : %{punkty.%player%}%"
#
command /wymien:
trigger:
set {_punkty.ilosc.%player%} to 25 - {punkty.%player%}
if {_punkty.ilosc.%player%} is 0:
execute console command "azrank %player% silvermember 2d"
else:
if {_punkty.ilosc.%player%} is smaler than 0:
execute console command "azrank %player% silvermember 2d"
else:
send "Brakuje Tobie %{_punkty.ilosc.%player%}% punktow" to player
#

Masz tutaj linka:

Zarejestruj się lub zaloguj, aby zobaczyć ukrytą treść!

Wedug mnie lepiej będzie z niego skorzystać, niż tego co w spoilerze ;)

Edytowane przez Ewald
Odnośnik do komentarza
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

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

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