Skocz do zawartości
  • 0

/me /do /o


Login
 Udostępnij

Pytanie

Witam, zrobiłby mi ktos skrypt na /me /do i /o? Chodzi mi o to że jak napiszę /me podnosi kanapkę to bedzie wyswietlalo: * [Prefix] Podnosi kanapke. * A gdy napiszę /do Jest bardzo gruby. To wyswietli sie:** Jest bardzo gruby [prefix] **

Prefix ma być z groupmanagera bo takiego pluginu uzywam. Jezeli chodzi o /o to ma to gdy napisze /o jak tam? to wyswietli się: [OOC]Login: jak tam? Jeszcze jak napisze ktos "*" to cała wypowiedz bedzie na zółto a jak ktos napisze na chacie "(" to bedzie sie wlaczal skrypt na /o

Jak ktoś się jeszcze nudzi to może dopisac skrypt /sprobuj [liczba] i np gdy napisze /sprobuj 50 to bedzie 50% szans na to ze mi sie uda lub nie, jezeli sie nie uda to bedzie pisac: Nie udało się, 50% sznas na powodzenia [prefix]. A jak sie uda to to samo tlyko bez "nie"

Z góry dziekuje

Odnośnik do komentarza
Udostępnij na innych stronach

20 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

porąbane jest to co chcesz albo ja źle rozumiem sprawdz czy o to chodzilo bo ja to tak zrozumiałem

Spoiler
command /sprobuj [<text>]:
	trigger:
		if arg-1 parsed as integer is set:
			if arg-1 parsed as integer >= 0:
				if arg-1 parsed as integer <= 100:
					chance of arg-1 parsed as integer%:
						send "&3Udało się, &e%arg-1%%%&3 sznas na powodzenia [prefix]."
						stop
					send "&3Nie Udało się, &e%arg-1%%%&3 sznas na powodzenia [prefix]."
					stop
		send "&3Podaj liczbe od &e0&3 do &e100"
command /me [<text>]:
	trigger:
		if arg-1 is set:
			send "* [Prefix] %arg-1%. *"
		else:
			send "&3Podaj text"
command /do [<text>]:
	trigger:
		if arg-1 is set:
			send "** %arg-1% [prefix] **"
		else:
			send "&3Podaj text"
command /o [<text>]:
	trigger:
		if arg-1 is set:
			send "[OOC]Login: jak tam?"
		else:
			send "&3Podaj text"
on chat:
	if message contains "*":
		replace all "*" with "" in message
		set message to "&e%message%"
	if message contains "(":
		set message to "[OOC]Login: %message%"

 

 

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

CHodzi mi że zrobiłeś ten skrypt na /o i że tylko jest nick, a jak napisze (cos) to jest prefix nick i w wiadomosci jest: OOC <nick> <wiadomosc> A ma być OOC<nick>: <wiadomosc> w * po prostu nie usuwaj jej

Co do groupmanagera to może to ic pomoc: Zarejestruj się lub zaloguj, aby zobaczyć ukrytą treść! lub to: Zarejestruj się lub zaloguj, aby zobaczyć ukrytą treść!

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
Spoiler
command /sprobuj [<text>]:
	trigger:
		if arg-1 parsed as integer is set:
			if arg-1 parsed as integer >= 0:
				if arg-1 parsed as integer <= 100:
					chance of arg-1 parsed as integer%:
						send "&3Udało się, &e%arg-1%%%&3 sznas na powodzenia [%player's group%]."
						stop
					send "&3Nie Udało się, &e%arg-1%%%&3 sznas na powodzenia [%player's group%]."
					stop
		send "&3Podaj liczbe od &e0&3 do &e100"
command /me [<text>]:
	trigger:
		if arg-1 is set:
			send "* [%player's group%] %arg-1%. *"
		else:
			send "&3Podaj text"
command /do [<text>]:
	trigger:
		if arg-1 is set:
			send "** %arg-1% [%player's group%] **"
		else:
			send "&3Podaj text"
command /o [<text>]:
	trigger:
		if arg-1 is set:
			send "[%player's group%]%player%: %arg-1%"
		else:
			send "&3Podaj text"
on chat:
	if message contains "*":
		replace all "*" with "" in message
		set message to "&e%message%"
	if message contains "(":
		set message to "[%player's group%]%player%: %message%"

 

kurna chłopie ja próbuje ci pomóc wiec nie utrudniaj napisz tak jak ci dalem przykład to co ma ta komnda robic

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

  • 0

to ponnio cie zapokoic

Spoiler
command /sprobuj [<text>]:
	trigger:
		if arg-1 parsed as integer is set:
			if arg-1 parsed as integer >= 0:
				if arg-1 parsed as integer <= 100:
					chance of arg-1 parsed as integer%:
						send "&3Udało się, &e%arg-1%%%&3 sznas na powodzenia [%player's group%]."
						stop
					send "&3Nie Udało się, &e%arg-1%%%&3 sznas na powodzenia [%player's group%]."
					stop
		send "&3Podaj liczbe od &e0&3 do &e100"
command /me [<text>]:
	trigger:
		if arg-1 is set:
			send "* [%player's group%] %arg-1%. *"
		else:
			send "&3Podaj text"
command /do [<text>]:
	trigger:
		if arg-1 is set:
			send "** %arg-1% [%player's group%] **"
		else:
			send "&3Podaj text"
command /o [<text>]:
	trigger:
		if arg-1 is set:
			send "[%player's group%]%player%: %arg-1%"
		else:
			send "&3Podaj text"
on chat:
	if message contains "*":
		set message to "&e%message%"
	if message contains "(":
		set message to "[%player's group%]%player%: %arg-1%"

 

 

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

@kaol48s jak już chcesz zostać krytykiem to sam naucz się więcej ;> 

command /sprobuj [<text>]:
	trigger:
		if arg-1 parsed as integer is set:
			if arg-1 parsed as integer >= 0:
				if arg-1 parsed as integer <= 100:
					chance of arg-1 parsed as integer%:
						send "&3Udało się, &e%arg-1%%%&3 sznas na powodzenia [%player's group%]."
						stop
					send "&3Nie Udało się, &e%arg-1%%%&3 sznas na powodzenia [%player's group%]."
					stop
		send "&3Podaj liczbe od &e0&3 do &e100"
command /me [<text>]:
	trigger:
		if arg-1 is set:
			send coloured "* [%player's group%] %arg-1%. *"
		else:
			send "&3Podaj text"
command /do [<text>]:
	trigger:
		if arg-1 is set:
			send coloured "** %arg-1% [%player's group%] **"
		else:
			send "&3Podaj text"
command /o [<text>]:
	trigger:
		if arg-1 is set:
			send coloured "[%player's group%]%player%: %arg-1%"
		else:
			send "&3Podaj text"
on chat:
	if message contains "*":
		set message to "&e%message%"
	if message contains "(":
		set message to "[%player's group%]%player%: %arg-1%"

 

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