Skocz do zawartości
  • 0

Poprawa skryptu


JaTrollek

Pytanie

Ktoś poprawi ?


 

on first join:
    execute console command "spawn %player%"
    loop all players:
        if loop-player has permission "helpop.admin":
            broadcast "&c&l&k|&a&lChestPvP&c&l&k| &7Nowy gracz &a%player%&7." to loop-player

on join:
    set join message to "&a&l&k|&b&l+&a&l&k|"
    
on quit:
    set leave message to "&a&l&k|&c&l-&a&l&k|"
    
on join:
    Player has permission "wszedl.admin":
       broadcast "&c&l&k|&a&lChestPvP&c&l&k| &6Wszedl &4admin %Player% &6na serwer!"

Odnośnik do komentarza
https://skript.pl/temat/26229-poprawa-skryptu/
Udostępnij na innych stronach

10 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
on first join:
        loop all players:
                if loop-player has permission "helpop.admin":
                        send "&c&l&k|&a&lChestPvP&c&l&k| &7Nowy gracz &a%player%&7." to loop-player

on join:
    set join message to "&a&l&k|&b&l+&a&l&k|"
    
on quit:
    set leave message to "&a&l&k|&c&l-&a&l&k|"
    
on join:
    if player has permission "wszedl.admin":
       broadcast "&c&l&k|&a&lChestPvP&c&l&k| &6Wszedl &4admin %player% &6na serwer!" 

 

Odnośnik do komentarza
https://skript.pl/temat/26229-poprawa-skryptu/#findComment-172878
Udostępnij na innych stronach

  • 0
on first join:
	teleport player to spawn
	loop all players:
		if loop-player has permission "helpop.admin":
			send "&c&l&k|&a&lChestPvP&c&l&k| &7Nowy gracz &a%player%&7." to loop-player

on join:
	set join message to "&a&l&k|&b&l+&a&l&k|&7 %player%"
    
on quit:
	set leave message to "&a&l&k|&c&l-&a&l&k|&7 %player%"
    
on join:
	if player has permissions "wszedl.admin":
		broadcast "&c&l&k|&a&lChestPvP&c&l&k| &6Wszedl &4admin %Player% &6na serwer!"

 

Odnośnik do komentarza
https://skript.pl/temat/26229-poprawa-skryptu/#findComment-172891
Udostępnij na innych stronach

  • 0
on first join:
     execute console command "spawn %player%"
		send "zostales przeteleportowany na spawn! przez console"
     loop all players:
         if loop-player has permission "helpop.admin":
             broadcast "&c&l&k|&a&lChestPvP&c&l&k| &7Nowy gracz &a%player%&7." to all players

on join:
     set join message to "&a&l&k|&b&l+&a&l&k| &a&l%loop-player%"
     
 on quit:
     set leave message to "&a&l&k|&c&l-&a&l&k| &a&l%loop-player%"
     
 on join:
     if player has permission "wszedl.admin":
        broadcast "&c&l&k|&a&lChestPvP&c&l&k| &6Wszedl &4admin %Player% &6na serwer!"
		stop

masz :) 

Edytowane przez Mroczekk
Odnośnik do komentarza
https://skript.pl/temat/26229-poprawa-skryptu/#findComment-172921
Udostępnij na innych stronach

  • 0

Loaded a total of 11504 english aliases
[15:52:56 WARN]: There are no aliases defined for the following ids: 165, 166, 167, 168, 169, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 409, 410, 411, 412, 413, 414, 415, 416, 423, 424, 425, 427, 428, 429, 430, 431
[15:52:57 ERROR]: indentation error: expected 5 spaces, but found 2 tabs (WejscieGracza.sk, line 3: send "zostales przeteleportowany na spawn! przez console"')
[15:52:57 ERROR]: indentation error: expected 10 spaces, but found 9 spaces (WejscieGracza.sk, line 5: if loop-player has permission "helpop.admin":')
[15:52:57 ERROR]: indentation error: expected 10 spaces, but found 13 spaces (WejscieGracza.sk, line 6: broadcast "&c&l&k|&a&lChestPvP&c&l&k| &7Nowy gracz &a%player%&7." to all players')
[15:52:57 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (WejscieGracza.sk, line 4: loop all players:')
[15:52:57 ERROR]: indentation error: expected 5 spaces, but found 1 space (WejscieGracza.sk, line 11: on quit:')
[15:52:57 ERROR]: indentation error: expected 5 spaces, but found 1 space (WejscieGracza.sk, line 14: on join:')
[15:52:57 ERROR]: indentation error: expected 10 spaces, but found 8 spaces (WejscieGracza.sk, line 16: broadcast "&c&l&k|&a&lChestPvP&c&l&k| &6Wszedl &4admin %Player% &6na serwer!"')
[15:52:57 ERROR]: indentation error: expected 10 spaces, but found 2 tabs (WejscieGracza.sk, line 17: stop')
[15:52:57 ERROR]: There's no loop that matches 'loop-player' (WejscieGracza.sk, line 9: set join message to "&a&l&k|&b&l+&a&l&k| &a&l%loop-player%"')
[15:52:57 ERROR]: The quit message can only be used in a quit event (WejscieGracza.sk, line 12: set leave message to "&a&l&k|&c&l-&a&l&k| &a&l%loop-player%"')

Odnośnik do komentarza
https://skript.pl/temat/26229-poprawa-skryptu/#findComment-172946
Udostępnij na innych stronach

  • 0
on first join:
     execute console command "spawn %player%"
     loop all players:
         if loop-player has permission "mroczekk.spawn":
             broadcast "&c&l&k|&a&lChestPvP&c&l&k| &7Nowy gracz &a%player%&7." to all players

on join:
     set join message to "&a&l&k|&b&l+&a&l&k| &a&l%player%"
     
on quit:
     set leave message to "&a&l&k|&c&l-&a&l&k| &a&l%player%"
     
on join:
    if player has permission "wszedl.admin":
       broadcast "&c&l&k|&a&lChestPvP&c&l&k| &6Wszedl &4admin %player% &6na serwer!"
		stop

powinno działać liczę na +

Odnośnik do komentarza
https://skript.pl/temat/26229-poprawa-skryptu/#findComment-172949
Udostępnij na innych stronach

  • 0
5 minut temu, JaTrollek napisał:

Loaded a total of 11504 english aliases
[15:52:56 WARN]: There are no aliases defined for the following ids: 165, 166, 167, 168, 169, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 409, 410, 411, 412, 413, 414, 415, 416, 423, 424, 425, 427, 428, 429, 430, 431
[15:52:57 ERROR]: indentation error: expected 5 spaces, but found 2 tabs (WejscieGracza.sk, line 3: send "zostales przeteleportowany na spawn! przez console"')
[15:52:57 ERROR]: indentation error: expected 10 spaces, but found 9 spaces (WejscieGracza.sk, line 5: if loop-player has permission "helpop.admin":')
[15:52:57 ERROR]: indentation error: expected 10 spaces, but found 13 spaces (WejscieGracza.sk, line 6: broadcast "&c&l&k|&a&lChestPvP&c&l&k| &7Nowy gracz &a%player%&7." to all players')
[15:52:57 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (WejscieGracza.sk, line 4: loop all players:')
[15:52:57 ERROR]: indentation error: expected 5 spaces, but found 1 space (WejscieGracza.sk, line 11: on quit:')
[15:52:57 ERROR]: indentation error: expected 5 spaces, but found 1 space (WejscieGracza.sk, line 14: on join:')
[15:52:57 ERROR]: indentation error: expected 10 spaces, but found 8 spaces (WejscieGracza.sk, line 16: broadcast "&c&l&k|&a&lChestPvP&c&l&k| &6Wszedl &4admin %Player% &6na serwer!"')
[15:52:57 ERROR]: indentation error: expected 10 spaces, but found 2 tabs (WejscieGracza.sk, line 17: stop')
[15:52:57 ERROR]: There's no loop that matches 'loop-player' (WejscieGracza.sk, line 9: set join message to "&a&l&k|&b&l+&a&l&k| &a&l%loop-player%"')
[15:52:57 ERROR]: The quit message can only be used in a quit event (WejscieGracza.sk, line 12: set leave message to "&a&l&k|&c&l-&a&l&k| &a&l%loop-player%"')

te błędy to taby

polecam poradnik: 

 

Odnośnik do komentarza
https://skript.pl/temat/26229-poprawa-skryptu/#findComment-172950
Udostępnij na innych stronach

  • 0
23 godziny temu, JaTrollek napisał:

Ktoś poprawi ?


 

on first join:
    execute console command "spawn %player%"
    loop all players:
        if loop-player has permission "helpop.admin":
            broadcast "&c&l&k|&a&lChestPvP&c&l&k| &7Nowy gracz &a%player%&7." to loop-player

on join:
    set join message to "&a&l&k|&b&l+&a&l&k|"
    
on quit:
    set leave message to "&a&l&k|&c&l-&a&l&k|"
    
on join:
    Player has permission "wszedl.admin":
       broadcast "&c&l&k|&a&lChestPvP&c&l&k| &6Wszedl &4admin %Player% &6na serwer!"

A i polecam dodawać skript na stronie: http://code.skript.pl

Odnośnik do komentarza
https://skript.pl/temat/26229-poprawa-skryptu/#findComment-172980
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ę...