Skocz do zawartości
  • 0

Poprawienie msg


Pytanie

Witam. Czy mógłby ktoś jakoś podpiąć to ignore lub dodać swoje tak aby działało?

 

command /msg [<player>] [<text>]:
	description: Send a message to the specified player.
	executable by: player, console
	aliases: /message, /tell, /pm, /t, /m
	trigger:
		if arg-1 is not set:
			send "&cMessages &e» &7Please specify a player!"
			send "&cMessages &e» &7Correct Arguments: &b/m <player> <message>"
			stop
		if arg-2 is not set:
			send "&cMessages &e» &7Please supply a message!"
			send "&cMessages &e» &7Correct Arguments: &b/m <player> <message>"
			stop
		if arg-1 is set:
			if arg-2 is set:
				set {message.%player%} to arg 1
				set {message.%arg 1%} to player
				send "&9%arg 1% &7» &9%player%&r &7» &3%arg 2%" to arg 1
				send "&9%player% &7» &9%arg 1%&r &7» &3%arg 2%" to player
				play "SUCCESSFUL_HIT" to player at volume 20.0

				
command /r [<text>]:
	description: Reply to a message.
	executable by: player, console
	aliases: /reply, /re
	trigger:
		if arg-1 is not set:
			send "&cMessages &e» &7Please supply a message!"
			send "&cMessages &e» &7Correct Arguments: &b/r <message>"
			stop
		if arg-1 is set:
			send "&9%{message.%player%}% &7» &9%player% &7» &3%arg-1%" to {message.%player%}
			send "&9%player%  &7» &9%{message.%player%}% &7» &3%arg-1%" to player
			play "SUCCESSFUL_HIT" to player at volume 20.0
			
command /ignore [<player>]:
	usage: /ignore <player>
	trigger:
		if arg 1 is not set:
			send "&4&lIGNORE &8» &c/ignore <gracz>"
			stop
		if arg 1 is set:
			if arg 1 is "%player%":
				send "&4&lIGNORE &8» &cNie da sie ignorowac siebie"
				stop
			else:
				if {ignore::%uuid of player%::*} contains arg 1:
					clear {ignore::%uuid of player%::%arg 1%}
					send "&4&lIGNORE &8» &aNie ignorujesz juz &2%arg 1%"
					stop
				else:
					set {ignore::%uuid of player%::%arg 1%} to arg 1
					send "&4&lIGNORE &8» &cIgnorujesz &4%arg 1%"
					stop

 

Odnośnik do komentarza
https://skript.pl/temat/48584-poprawienie-msg/
Udostępnij na innych stronach

2 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

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