Skocz do zawartości
  • 0

skrypt /graj


devvq

Pytanie

Witam napisałby ktoś skrypt:

Przy wejsciu na serwer nie moze sie ruszac do puki nie napisze /graj [<text>]

to co napisał po graj wysyła do admina a mu wysyla "&aZaczynasz gre!"

a no i wczasie tego nie moze pisac na chacie.

EDIT : Próbowałem przerabiać skrypt na /zglos ale topornie mi to szło 14błędów :c dlatego pisze tutaj

 

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

3 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
on join:
	set {ruch::%player%} to false
else:
	if player has permission "admin":
		set {ruch::%player%} to true
	
on any move:
	if {ruch::%player%} is false:
		cancel event
		
command /graj [<text>]:
	trigger:
		if arg-1 is not set:
			send "wpisz cos"
		if arg-1 is set:
			send "%player%" to all ops
			send "%arg-1%" to all ops
			send "&aZaczynasz Gre" to player
			set {chat::%player%} to false
	
on chat:
	if {chat::%player%} is false
		cancel event
		
variables:
	{chat::%player%} = true

 

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
8 godzin temu, Romek123 napisał:

on join:
	set {ruch::%player%} to false
else:
	if player has permission "admin":
		set {ruch::%player%} to true
	
on any move:
	if {ruch::%player%} is false:
		cancel event
		
command /graj [<text>]:
	trigger:
		if arg-1 is not set:
			send "wpisz cos"
		if arg-1 is set:
			send "%player%" to all ops
			send "%arg-1%" to all ops
			send "&aZaczynasz Gre" to player
			set {chat::%player%} to false
	
on chat:
	if {chat::%player%} is false
		cancel event
		
variables:
	{chat::%player%} = true

 

Nawet po wpisaniu /graj to nadal nie moge sie ruszac :c

Odnośnik do komentarza
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ę...