mateuszeqq13212 18 Opublikowano 25 lutego 2017 Udostępnij Opublikowano 25 lutego 2017 Witam. Potrzebuje wraz przesylam wam fajny skrypt : https://code.skript.pl/j6WBad4m/ Mianowicie potrzebuje zeby po &8[&3Poziom {LVL}&8] byla ranga np. Nowy Potem od 30 lvl'a inna od 60 inna od 100 do 200 inna od 200 do 300 inna itd do i tak do 1000 I zeby to wszystko tak wygladalo: &8[&3Poziom {LVL}&8] &8[&3Nowy&3] &8[&cWlasciciel&8] &3{PLAYER}&8>>&2&o {MESSAGE} Usuwam prefix, który się przeniósł z działu zleceń //xVendrome Odnośnik do komentarza https://skript.pl/temat/16684-skrypt-na-poziom/ Udostępnij na innych stronach Więcej opcji udostępniania...
0 Kaelus 1 Opublikowano 25 lutego 2017 Udostępnij Opublikowano 25 lutego 2017 Te rangi chcesz używając PEX czy jakiegoś innego pluginu ? Odnośnik do komentarza https://skript.pl/temat/16684-skrypt-na-poziom/#findComment-114031 Udostępnij na innych stronach Więcej opcji udostępniania...
0 mateuszeqq13212 18 Opublikowano 25 lutego 2017 Autor Udostępnij Opublikowano 25 lutego 2017 (edytowane) 6 minut temu, Kaelus napisał: Te rangi chcesz używając PEX czy jakiegoś innego pluginu ? Rangi sa ale ja chce zeby te rangi byly do skryptu &8[&3Poziom {LVL}&8] &8[&3Nowy&3] Edytowane 25 lutego 2017 przez mateuszeqq13212 Odnośnik do komentarza https://skript.pl/temat/16684-skrypt-na-poziom/#findComment-114032 Udostępnij na innych stronach Więcej opcji udostępniania...
0 xVendrome 246 Opublikowano 26 lutego 2017 Udostępnij Opublikowano 26 lutego 2017 Temat został przeniesiony z Skript > Skrypty do Skript > Zlecenia. Odnośnik do komentarza https://skript.pl/temat/16684-skrypt-na-poziom/#findComment-114053 Udostępnij na innych stronach Więcej opcji udostępniania...
0 knugi 794 Opublikowano 26 lutego 2017 Udostępnij Opublikowano 26 lutego 2017 Coś takiego? Spoiler variables: {lvl::%player%} = 1 {exp::%player%} = 0 {ranga::%player%} = "{@ranga1}" {wymag::%player%} = 100 options: next: 1,2 tag: &8[&6Parkour&8] chat: &8[&3Poziom {LVL}&8] &8[&3{RANGA}&8] &3{PLAYER}&8>>&2&o {MESSAGE} ranga1: "Nowy" ranga2: "Nowy2" ranga3: "Nowy3" ranga4: "Nowy4" ranga5: "Nowy5" ranga6: "Nowy6" ranga7: "Nowy7" ranga8: "Nowy8" ranga9: "Nowy9" ranga10: "Nowy10" ranga11: "Nowy11" ranga12: "Nowy12" ranga13: "Nowy13" on chat: cancel event set {_chat} to "{@chat}" replace all "{PLAYER}" with "%colored display name of player%" in {_chat} replace all "{MESSAGE}" with "%colored message%" in {_chat} replace all "{LVL}" with "%{lvl::%player%}%" in {_chat} replace all "{RANGA}" with "%{ranga::%player%}%" in {_chat} broadcast "%{_chat}%" on death: if attacker is a player: if victim is a zombie: add 10 to {exp::%attacker%} if {exp::%attacker%} > {wymag::%attacker%}: if {lvl::%attacker%} < 999: set {_exp} to ({exp::%attacker%} - {wymag::%attacker%}) set {exp::%attacker%} to {_exp} set {wymag::%attacker%} to (({wymag::%attacker%} / 5 ) * 6) add 1 to {lvl::%attacker%} send "&8> &7Awansowales na &6%{lvl::%attacker%}% poziom&7!" to attacker if {lvl::%attacker%} = 10: send "&7Gracz &5%attacker% &7osiągnął właśnie 10 lvl." to all players if {lvl::%attacker%} = 20: send "&7Gracz &5%attacker% &7osiągnął właśnie 20 lvl." to all players if {lvl::%attacker%} = 30: send "&7Gracz &5%attacker% &7osiągnął właśnie 30 lvl." to all players if {lvl::%attacker%} = 40: send "&7Gracz &5%attacker% &7osiągnął właśnie 40 lvl." to all players if {lvl::%attacker%} is 30: set {ranga::%attacker%} to "{@ranga2}" if {lvl::%attacker%} is 60: set {ranga::%attacker%} to "{@ranga3}" if {lvl::%attacker%} is 100: set {ranga::%attacker%} to "{@ranga4}" if {lvl::%attacker%} is 200: set {ranga::%attacker%} to "{@ranga5}" if {lvl::%attacker%} is 300: set {ranga::%attacker%} to "{@ranga6}" if {lvl::%attacker%} is 400: set {ranga::%attacker%} to "{@ranga7}" if {lvl::%attacker%} is 500: set {ranga::%attacker%} to "{@ranga8}" if {lvl::%attacker%} is 600: set {ranga::%attacker%} to "{@ranga9}" if {lvl::%attacker%} is 700: set {ranga::%attacker%} to "{@ranga10}" if {lvl::%attacker%} is 800: set {ranga::%attacker%} to "{@ranga11}" if {lvl::%attacker%} is 900: set {ranga::%attacker%} to "{@ranga12}" if {lvl::%attacker%} is 1000: set {ranga::%attacker%} to "{@ranga13}" else: send "&8> &7Osiagnales najwyzszy, &6%{lvl::%attacker%}% wymag&7!" to attacker command /poziom [<text>]: trigger: set {_next} to ({wymag::%player%} - {exp::%player%}) send "&8> &7Aktualnie posiadasz &6%{exp::%player%}% xp &7, &6%{lvl::%player%}% poziom&7. Do nastepnego poziomu brakuje Ci &6%{_next}% xp&7." send "&8> &7Wymagane: &6%{wymag::%player%}% &6xp" Odnośnik do komentarza https://skript.pl/temat/16684-skrypt-na-poziom/#findComment-114108 Udostępnij na innych stronach Więcej opcji udostępniania...
0 mateuszeqq13212 18 Opublikowano 26 lutego 2017 Autor Udostępnij Opublikowano 26 lutego 2017 (edytowane) 2 godziny temu, knugi napisał: Coś takiego? Ukryj zawartość variables: {lvl::%player%} = 1 {exp::%player%} = 0 {ranga::%player%} = "{@ranga1}" {wymag::%player%} = 100 options: next: 1,2 tag: &8[&6Parkour&8] chat: &8[&3Poziom {LVL}&8] &8[&3{RANGA}&8] &3{PLAYER}&8>>&2&o {MESSAGE} ranga1: "Nowy" ranga2: "Nowy2" ranga3: "Nowy3" ranga4: "Nowy4" ranga5: "Nowy5" ranga6: "Nowy6" ranga7: "Nowy7" ranga8: "Nowy8" ranga9: "Nowy9" ranga10: "Nowy10" ranga11: "Nowy11" ranga12: "Nowy12" ranga13: "Nowy13" on chat: cancel event set {_chat} to "{@chat}" replace all "{PLAYER}" with "%colored display name of player%" in {_chat} replace all "{MESSAGE}" with "%colored message%" in {_chat} replace all "{LVL}" with "%{lvl::%player%}%" in {_chat} replace all "{RANGA}" with "%{ranga::%player%}%" in {_chat} broadcast "%{_chat}%" on death: if attacker is a player: if victim is a zombie: add 10 to {exp::%attacker%} if {exp::%attacker%} > {wymag::%attacker%}: if {lvl::%attacker%} < 999: set {_exp} to ({exp::%attacker%} - {wymag::%attacker%}) set {exp::%attacker%} to {_exp} set {wymag::%attacker%} to (({wymag::%attacker%} / 5 ) * 6) add 1 to {lvl::%attacker%} send "&8> &7Awansowales na &6%{lvl::%attacker%}% poziom&7!" to attacker if {lvl::%attacker%} = 10: send "&7Gracz &5%attacker% &7osiągnął właśnie 10 lvl." to all players if {lvl::%attacker%} = 20: send "&7Gracz &5%attacker% &7osiągnął właśnie 20 lvl." to all players if {lvl::%attacker%} = 30: send "&7Gracz &5%attacker% &7osiągnął właśnie 30 lvl." to all players if {lvl::%attacker%} = 40: send "&7Gracz &5%attacker% &7osiągnął właśnie 40 lvl." to all players if {lvl::%attacker%} is 30: set {ranga::%attacker%} to "{@ranga2}" if {lvl::%attacker%} is 60: set {ranga::%attacker%} to "{@ranga3}" if {lvl::%attacker%} is 100: set {ranga::%attacker%} to "{@ranga4}" if {lvl::%attacker%} is 200: set {ranga::%attacker%} to "{@ranga5}" if {lvl::%attacker%} is 300: set {ranga::%attacker%} to "{@ranga6}" if {lvl::%attacker%} is 400: set {ranga::%attacker%} to "{@ranga7}" if {lvl::%attacker%} is 500: set {ranga::%attacker%} to "{@ranga8}" if {lvl::%attacker%} is 600: set {ranga::%attacker%} to "{@ranga9}" if {lvl::%attacker%} is 700: set {ranga::%attacker%} to "{@ranga10}" if {lvl::%attacker%} is 800: set {ranga::%attacker%} to "{@ranga11}" if {lvl::%attacker%} is 900: set {ranga::%attacker%} to "{@ranga12}" if {lvl::%attacker%} is 1000: set {ranga::%attacker%} to "{@ranga13}" else: send "&8> &7Osiagnales najwyzszy, &6%{lvl::%attacker%}% wymag&7!" to attacker command /poziom [<text>]: trigger: set {_next} to ({wymag::%player%} - {exp::%player%}) send "&8> &7Aktualnie posiadasz &6%{exp::%player%}% xp &7, &6%{lvl::%player%}% poziom&7. Do nastepnego poziomu brakuje Ci &6%{_next}% xp&7." send "&8> &7Wymagane: &6%{wymag::%player%}% &6xp" bledy z tym Nowy1 [...] Podam jeden blad: ""Nowy2"" is not a number 'set {ranga::attacker} to {@ranga2"} Lub cos takiego Edytowane 26 lutego 2017 przez mateuszeqq13212 Odnośnik do komentarza https://skript.pl/temat/16684-skrypt-na-poziom/#findComment-114158 Udostępnij na innych stronach Więcej opcji udostępniania...
0 knugi 794 Opublikowano 26 lutego 2017 Udostępnij Opublikowano 26 lutego 2017 Przepraszam, mój błąd Spoiler variables: {lvl::%player%} = 1 {exp::%player%} = 0 {ranga::%player%} = "{@ranga1}" {wymag::%player%} = 100 options: next: 1,2 tag: &8[&6Parkour&8] chat: &8[&3Poziom {LVL}&8] &8[&3{RANGA}&8] &3{PLAYER}&8>>&2&o {MESSAGE} ranga1: Nowy ranga2: Nowy2 ranga3: Nowy3 ranga4: Nowy4 ranga5: Nowy5 ranga6: Nowy6 ranga7: Nowy7 ranga8: Nowy8 ranga9: Nowy9 ranga10: Nowy10 ranga11: Nowy11 ranga12: Nowy12 ranga13: Nowy13 on chat: cancel event set {_chat} to "{@chat}" replace all "{PLAYER}" with "%colored display name of player%" in {_chat} replace all "{MESSAGE}" with "%colored message%" in {_chat} replace all "{LVL}" with "%{lvl::%player%}%" in {_chat} replace all "{RANGA}" with "%{ranga::%player%}%" in {_chat} broadcast "%{_chat}%" on death: if attacker is a player: if victim is a zombie: add 10 to {exp::%attacker%} if {exp::%attacker%} > {wymag::%attacker%}: if {lvl::%attacker%} < 999: set {_exp} to ({exp::%attacker%} - {wymag::%attacker%}) set {exp::%attacker%} to {_exp} set {wymag::%attacker%} to (({wymag::%attacker%} / 5 ) * 6) add 1 to {lvl::%attacker%} send "&8> &7Awansowales na &6%{lvl::%attacker%}% poziom&7!" to attacker if {lvl::%attacker%} = 10: send "&7Gracz &5%attacker% &7osiągnął właśnie 10 lvl." to all players if {lvl::%attacker%} = 20: send "&7Gracz &5%attacker% &7osiągnął właśnie 20 lvl." to all players if {lvl::%attacker%} = 30: send "&7Gracz &5%attacker% &7osiągnął właśnie 30 lvl." to all players if {lvl::%attacker%} = 40: send "&7Gracz &5%attacker% &7osiągnął właśnie 40 lvl." to all players if {lvl::%attacker%} is 30: set {ranga::%attacker%} to "{@ranga2}" if {lvl::%attacker%} is 60: set {ranga::%attacker%} to "{@ranga3}" if {lvl::%attacker%} is 100: set {ranga::%attacker%} to "{@ranga4}" if {lvl::%attacker%} is 200: set {ranga::%attacker%} to "{@ranga5}" if {lvl::%attacker%} is 300: set {ranga::%attacker%} to "{@ranga6}" if {lvl::%attacker%} is 400: set {ranga::%attacker%} to "{@ranga7}" if {lvl::%attacker%} is 500: set {ranga::%attacker%} to "{@ranga8}" if {lvl::%attacker%} is 600: set {ranga::%attacker%} to "{@ranga9}" if {lvl::%attacker%} is 700: set {ranga::%attacker%} to "{@ranga10}" if {lvl::%attacker%} is 800: set {ranga::%attacker%} to "{@ranga11}" if {lvl::%attacker%} is 900: set {ranga::%attacker%} to "{@ranga12}" if {lvl::%attacker%} is 1000: set {ranga::%attacker%} to "{@ranga13}" else: send "&8> &7Osiagnales najwyzszy, &6%{lvl::%attacker%}% wymag&7!" to attacker command /poziom [<text>]: trigger: set {_next} to ({wymag::%player%} - {exp::%player%}) send "&8> &7Aktualnie posiadasz &6%{exp::%player%}% xp &7, &6%{lvl::%player%}% poziom&7. Do nastepnego poziomu brakuje Ci &6%{_next}% xp&7." send "&8> &7Wymagane: &6%{wymag::%player%}% &6xp" Poprawione Odnośnik do komentarza https://skript.pl/temat/16684-skrypt-na-poziom/#findComment-114165 Udostępnij na innych stronach Więcej opcji udostępniania...
0 mateuszeqq13212 18 Opublikowano 26 lutego 2017 Autor Udostępnij Opublikowano 26 lutego 2017 1 minutę temu, knugi napisał: Przepraszam, mój błąd Ukryj zawartość variables: {lvl::%player%} = 1 {exp::%player%} = 0 {ranga::%player%} = "{@ranga1}" {wymag::%player%} = 100 options: next: 1,2 tag: &8[&6Parkour&8] chat: &8[&3Poziom {LVL}&8] &8[&3{RANGA}&8] &3{PLAYER}&8>>&2&o {MESSAGE} ranga1: Nowy ranga2: Nowy2 ranga3: Nowy3 ranga4: Nowy4 ranga5: Nowy5 ranga6: Nowy6 ranga7: Nowy7 ranga8: Nowy8 ranga9: Nowy9 ranga10: Nowy10 ranga11: Nowy11 ranga12: Nowy12 ranga13: Nowy13 on chat: cancel event set {_chat} to "{@chat}" replace all "{PLAYER}" with "%colored display name of player%" in {_chat} replace all "{MESSAGE}" with "%colored message%" in {_chat} replace all "{LVL}" with "%{lvl::%player%}%" in {_chat} replace all "{RANGA}" with "%{ranga::%player%}%" in {_chat} broadcast "%{_chat}%" on death: if attacker is a player: if victim is a zombie: add 10 to {exp::%attacker%} if {exp::%attacker%} > {wymag::%attacker%}: if {lvl::%attacker%} < 999: set {_exp} to ({exp::%attacker%} - {wymag::%attacker%}) set {exp::%attacker%} to {_exp} set {wymag::%attacker%} to (({wymag::%attacker%} / 5 ) * 6) add 1 to {lvl::%attacker%} send "&8> &7Awansowales na &6%{lvl::%attacker%}% poziom&7!" to attacker if {lvl::%attacker%} = 10: send "&7Gracz &5%attacker% &7osiągnął właśnie 10 lvl." to all players if {lvl::%attacker%} = 20: send "&7Gracz &5%attacker% &7osiągnął właśnie 20 lvl." to all players if {lvl::%attacker%} = 30: send "&7Gracz &5%attacker% &7osiągnął właśnie 30 lvl." to all players if {lvl::%attacker%} = 40: send "&7Gracz &5%attacker% &7osiągnął właśnie 40 lvl." to all players if {lvl::%attacker%} is 30: set {ranga::%attacker%} to "{@ranga2}" if {lvl::%attacker%} is 60: set {ranga::%attacker%} to "{@ranga3}" if {lvl::%attacker%} is 100: set {ranga::%attacker%} to "{@ranga4}" if {lvl::%attacker%} is 200: set {ranga::%attacker%} to "{@ranga5}" if {lvl::%attacker%} is 300: set {ranga::%attacker%} to "{@ranga6}" if {lvl::%attacker%} is 400: set {ranga::%attacker%} to "{@ranga7}" if {lvl::%attacker%} is 500: set {ranga::%attacker%} to "{@ranga8}" if {lvl::%attacker%} is 600: set {ranga::%attacker%} to "{@ranga9}" if {lvl::%attacker%} is 700: set {ranga::%attacker%} to "{@ranga10}" if {lvl::%attacker%} is 800: set {ranga::%attacker%} to "{@ranga11}" if {lvl::%attacker%} is 900: set {ranga::%attacker%} to "{@ranga12}" if {lvl::%attacker%} is 1000: set {ranga::%attacker%} to "{@ranga13}" else: send "&8> &7Osiagnales najwyzszy, &6%{lvl::%attacker%}% wymag&7!" to attacker command /poziom [<text>]: trigger: set {_next} to ({wymag::%player%} - {exp::%player%}) send "&8> &7Aktualnie posiadasz &6%{exp::%player%}% xp &7, &6%{lvl::%player%}% poziom&7. Do nastepnego poziomu brakuje Ci &6%{_next}% xp&7." send "&8> &7Wymagane: &6%{wymag::%player%}% &6xp" Poprawione Tak niby 0 bledow ale gdy cos napisze to jest tak: Poziom 1 {@ranga1} Odnośnik do komentarza https://skript.pl/temat/16684-skrypt-na-poziom/#findComment-114167 Udostępnij na innych stronach Więcej opcji udostępniania...
0 knugi 794 Opublikowano 26 lutego 2017 Udostępnij Opublikowano 26 lutego 2017 Pomogło mi jedynie usunięcie variables.csv A tutaj poprawiony kod Spoiler variables: {lvl::%player%} = 1 {exp::%player%} = 0 {ranga::%player%} = "Nowy" {wymag::%player%} = 100 options: next: 1,2 tag: &8[&6Parkour&8] chat: &8[&3Poziom {LVL}&8] &8[&3{RANGA}&8] &3{PLAYER}&8>>&2&o {MESSAGE} on chat: cancel event set {_chat} to "{@chat}" replace all "{PLAYER}" with "%colored display name of player%" in {_chat} replace all "{MESSAGE}" with "%colored message%" in {_chat} replace all "{LVL}" with "%{lvl::%player%}%" in {_chat} replace all "{RANGA}" with "%{ranga::%player%}%" in {_chat} broadcast "%{_chat}%" on death: if attacker is a player: if victim is a zombie: add 10 to {exp::%attacker%} if {exp::%attacker%} > {wymag::%attacker%}: if {lvl::%attacker%} < 999: set {_exp} to ({exp::%attacker%} - {wymag::%attacker%}) set {exp::%attacker%} to {_exp} set {wymag::%attacker%} to (({wymag::%attacker%} / 5 ) * 6) add 1 to {lvl::%attacker%} send "&8> &7Awansowales na &6%{lvl::%attacker%}% poziom&7!" to attacker if {lvl::%attacker%} = 10: send "&7Gracz &5%attacker% &7osiągnął właśnie 10 lvl." to all players if {lvl::%attacker%} = 20: send "&7Gracz &5%attacker% &7osiągnął właśnie 20 lvl." to all players if {lvl::%attacker%} = 30: send "&7Gracz &5%attacker% &7osiągnął właśnie 30 lvl." to all players if {lvl::%attacker%} = 40: send "&7Gracz &5%attacker% &7osiągnął właśnie 40 lvl." to all players if {lvl::%attacker%} is 2: set {ranga::%attacker%} to "Nowy" if {lvl::%attacker%} is 60: set {ranga::%attacker%} to "Nowy1" if {lvl::%attacker%} is 100: set {ranga::%attacker%} to "Nowy2" if {lvl::%attacker%} is 200: set {ranga::%attacker%} to "Nowy3" if {lvl::%attacker%} is 300: set {ranga::%attacker%} to "Nowy4" if {lvl::%attacker%} is 400: set {ranga::%attacker%} to "Nowy5" if {lvl::%attacker%} is 500: set {ranga::%attacker%} to "Nowy6" if {lvl::%attacker%} is 600: set {ranga::%attacker%} to "Nowy7" if {lvl::%attacker%} is 700: set {ranga::%attacker%} to "Nowy8" if {lvl::%attacker%} is 800: set {ranga::%attacker%} to "Nowy9" if {lvl::%attacker%} is 900: set {ranga::%attacker%} to "Nowy10" if {lvl::%attacker%} is 1000: set {ranga::%attacker%} to "Nowy11" else: send "&8> &7Osiagnales najwyzszy, &6%{lvl::%attacker%}% wymag&7!" to attacker command /poziom [<text>]: trigger: set {_next} to ({wymag::%player%} - {exp::%player%}) send "&8> &7Aktualnie posiadasz &6%{exp::%player%}% xp &7, &6%{lvl::%player%}% poziom&7. Do nastepnego poziomu brakuje Ci &6%{_next}% xp&7." send "&8> &7Wymagane: &6%{wymag::%player%}% &6xp" Odnośnik do komentarza https://skript.pl/temat/16684-skrypt-na-poziom/#findComment-114175 Udostępnij na innych stronach Więcej opcji udostępniania...
0 mateuszeqq13212 18 Opublikowano 26 lutego 2017 Autor Udostępnij Opublikowano 26 lutego 2017 2 minuty temu, knugi napisał: Pomogło mi jedynie usunięcie variables.csv A tutaj poprawiony kod Ukryj zawartość variables: {lvl::%player%} = 1 {exp::%player%} = 0 {ranga::%player%} = "Nowy" {wymag::%player%} = 100 options: next: 1,2 tag: &8[&6Parkour&8] chat: &8[&3Poziom {LVL}&8] &8[&3{RANGA}&8] &3{PLAYER}&8>>&2&o {MESSAGE} on chat: cancel event set {_chat} to "{@chat}" replace all "{PLAYER}" with "%colored display name of player%" in {_chat} replace all "{MESSAGE}" with "%colored message%" in {_chat} replace all "{LVL}" with "%{lvl::%player%}%" in {_chat} replace all "{RANGA}" with "%{ranga::%player%}%" in {_chat} broadcast "%{_chat}%" on death: if attacker is a player: if victim is a zombie: add 10 to {exp::%attacker%} if {exp::%attacker%} > {wymag::%attacker%}: if {lvl::%attacker%} < 999: set {_exp} to ({exp::%attacker%} - {wymag::%attacker%}) set {exp::%attacker%} to {_exp} set {wymag::%attacker%} to (({wymag::%attacker%} / 5 ) * 6) add 1 to {lvl::%attacker%} send "&8> &7Awansowales na &6%{lvl::%attacker%}% poziom&7!" to attacker if {lvl::%attacker%} = 10: send "&7Gracz &5%attacker% &7osiągnął właśnie 10 lvl." to all players if {lvl::%attacker%} = 20: send "&7Gracz &5%attacker% &7osiągnął właśnie 20 lvl." to all players if {lvl::%attacker%} = 30: send "&7Gracz &5%attacker% &7osiągnął właśnie 30 lvl." to all players if {lvl::%attacker%} = 40: send "&7Gracz &5%attacker% &7osiągnął właśnie 40 lvl." to all players if {lvl::%attacker%} is 2: set {ranga::%attacker%} to "Nowy" if {lvl::%attacker%} is 60: set {ranga::%attacker%} to "Nowy1" if {lvl::%attacker%} is 100: set {ranga::%attacker%} to "Nowy2" if {lvl::%attacker%} is 200: set {ranga::%attacker%} to "Nowy3" if {lvl::%attacker%} is 300: set {ranga::%attacker%} to "Nowy4" if {lvl::%attacker%} is 400: set {ranga::%attacker%} to "Nowy5" if {lvl::%attacker%} is 500: set {ranga::%attacker%} to "Nowy6" if {lvl::%attacker%} is 600: set {ranga::%attacker%} to "Nowy7" if {lvl::%attacker%} is 700: set {ranga::%attacker%} to "Nowy8" if {lvl::%attacker%} is 800: set {ranga::%attacker%} to "Nowy9" if {lvl::%attacker%} is 900: set {ranga::%attacker%} to "Nowy10" if {lvl::%attacker%} is 1000: set {ranga::%attacker%} to "Nowy11" else: send "&8> &7Osiagnales najwyzszy, &6%{lvl::%attacker%}% wymag&7!" to attacker command /poziom [<text>]: trigger: set {_next} to ({wymag::%player%} - {exp::%player%}) send "&8> &7Aktualnie posiadasz &6%{exp::%player%}% xp &7, &6%{lvl::%player%}% poziom&7. Do nastepnego poziomu brakuje Ci &6%{_next}% xp&7." send "&8> &7Wymagane: &6%{wymag::%player%}% &6xp" Dalej to samo A moze temu ze mam wersje minecraft 1.5.2 ? Odnośnik do komentarza https://skript.pl/temat/16684-skrypt-na-poziom/#findComment-114178 Udostępnij na innych stronach Więcej opcji udostępniania...
0 knugi 794 Opublikowano 26 lutego 2017 Udostępnij Opublikowano 26 lutego 2017 Usunąłeś plik variables.csv? Znajduje on się w: ..plugins/Skript Odnośnik do komentarza https://skript.pl/temat/16684-skrypt-na-poziom/#findComment-114180 Udostępnij na innych stronach Więcej opcji udostępniania...
0 mateuszeqq13212 18 Opublikowano 26 lutego 2017 Autor Udostępnij Opublikowano 26 lutego 2017 1 minutę temu, knugi napisał: Usunąłeś plik variables.csv? Znajduje on się w: ..plugins/Skript Aha juz usuwam Odnośnik do komentarza https://skript.pl/temat/16684-skrypt-na-poziom/#findComment-114190 Udostępnij na innych stronach Więcej opcji udostępniania...
0 mateuszeqq13212 18 Opublikowano 26 lutego 2017 Autor Udostępnij Opublikowano 26 lutego 2017 Dalej nie dziala Odnośnik do komentarza https://skript.pl/temat/16684-skrypt-na-poziom/#findComment-114192 Udostępnij na innych stronach Więcej opcji udostępniania...
0 knugi 794 Opublikowano 26 lutego 2017 Udostępnij Opublikowano 26 lutego 2017 A serwer zrestartowałeś? xDD Odnośnik do komentarza https://skript.pl/temat/16684-skrypt-na-poziom/#findComment-114193 Udostępnij na innych stronach Więcej opcji udostępniania...
0 mateuszeqq13212 18 Opublikowano 26 lutego 2017 Autor Udostępnij Opublikowano 26 lutego 2017 A nie mogew zrobic reloadu ? Odnośnik do komentarza https://skript.pl/temat/16684-skrypt-na-poziom/#findComment-114197 Udostępnij na innych stronach Więcej opcji udostępniania...
0 knugi 794 Opublikowano 26 lutego 2017 Udostępnij Opublikowano 26 lutego 2017 Nie, bo wtedy przywraca Tobie stare variablesy (po prostu trzyma te zmienne i nadpisuje później w pliku) 1. Wyłącz serwer 2. Usuń plik 3. Włącz serwer Będzie działać ! Odnośnik do komentarza https://skript.pl/temat/16684-skrypt-na-poziom/#findComment-114198 Udostępnij na innych stronach Więcej opcji udostępniania...
0 mateuszeqq13212 18 Opublikowano 26 lutego 2017 Autor Udostępnij Opublikowano 26 lutego 2017 Okey juz tak robie^^ Odnośnik do komentarza https://skript.pl/temat/16684-skrypt-na-poziom/#findComment-114199 Udostępnij na innych stronach Więcej opcji udostępniania...
0 mateuszeqq13212 18 Opublikowano 26 lutego 2017 Autor Udostępnij Opublikowano 26 lutego 2017 7 minut temu, knugi napisał: Nie, bo wtedy przywraca Tobie stare variablesy (po prostu trzyma te zmienne i nadpisuje później w pliku) 1. Wyłącz serwer 2. Usuń plik 3. Włącz serwer Będzie działać ! Dziala ! Ale jest problem bo gdy zabije nwt 20 graczy to nie dodaje mi lvl'u Dalej jest 1 poprawisz? Odnośnik do komentarza https://skript.pl/temat/16684-skrypt-na-poziom/#findComment-114202 Udostępnij na innych stronach Więcej opcji udostępniania...
0 knugi 794 Opublikowano 26 lutego 2017 Udostępnij Opublikowano 26 lutego 2017 (edytowane) Czyli masz to samo co u mnie Skript life is bugged xDD Spoiler options: next: 1,2 tag: &8[&6Parkour&8] chat: &8[&3Poziom {LVL}&8] &8[&3{RANGA}&8] &3{PLAYER}&8>>&2&o {MESSAGE} on chat: cancel event set {_chat} to "{@chat}" replace all "{PLAYER}" with "%colored display name of player%" in {_chat} replace all "{MESSAGE}" with "%colored message%" in {_chat} replace all "{LVL}" with "%{lvl::%player%}%" in {_chat} replace all "{RANGA}" with "%{ranga::%player%}%" in {_chat} broadcast "%{_chat}%" on death of zombie: loop all players: if "%attacker%" is "%loop-player%": set {_x} to true exit loop if {_x} is set: if {expmag::%attacker%} is not set: set {lvl::%attacker%} to 1 set {exp::%attacker%} to 0 set {ranga::%attacker%} to "Nowy" set {expmag::%attacker%} to 100 add 10 to {exp::%attacker%} if {exp::%attacker%} > {expmag::%attacker%}: if {lvl::%attacker%} < 1000: set {_exp} to ({exp::%attacker%} - {expmag::%attacker%}) set {exp::%attacker%} to {_exp} set {expmag::%attacker%} to (({expmag::%attacker%} / 5 ) * 6) add 1 to {lvl::%attacker%} send "&8> &7Awansowales na &6%{lvl::%attacker%}% poziom&7!" to attacker if {lvl::%attacker%} = 10: send "&7Gracz &5%attacker% &7osiągnął właśnie 10 lvl." to all players if {lvl::%attacker%} = 20: send "&7Gracz &5%attacker% &7osiągnął właśnie 20 lvl." to all players if {lvl::%attacker%} = 30: send "&7Gracz &5%attacker% &7osiągnął właśnie 30 lvl." to all players if {lvl::%attacker%} = 40: send "&7Gracz &5%attacker% &7osiągnął właśnie 40 lvl." to all players if {lvl::%attacker%} is 2: set {ranga::%attacker%} to "Nowy" if {lvl::%attacker%} is 60: set {ranga::%attacker%} to "Nowy1" if {lvl::%attacker%} is 100: set {ranga::%attacker%} to "Nowy2" if {lvl::%attacker%} is 200: set {ranga::%attacker%} to "Nowy3" if {lvl::%attacker%} is 300: set {ranga::%attacker%} to "Nowy4" if {lvl::%attacker%} is 400: set {ranga::%attacker%} to "Nowy5" if {lvl::%attacker%} is 500: set {ranga::%attacker%} to "Nowy6" if {lvl::%attacker%} is 600: set {ranga::%attacker%} to "Nowy7" if {lvl::%attacker%} is 700: set {ranga::%attacker%} to "Nowy8" if {lvl::%attacker%} is 800: set {ranga::%attacker%} to "Nowy9" if {lvl::%attacker%} is 900: set {ranga::%attacker%} to "Nowy10" if {lvl::%attacker%} is 1000: set {ranga::%attacker%} to "Nowy11" else: send "&8> &7Osiagnales najwyzszy, &6%{lvl::%attacker%}% expmag&7!" to attacker command /poziom [<text>]: trigger: set {_next} to ({expmag::%player%} - {exp::%player%}) send "&8> &7Aktualnie posiadasz &6%{exp::%player%}% xp &7, &6%{lvl::%player%}% poziom&7. Do nastepnego poziomu brakuje Ci &6%{_next}% xp&7." send "&8> &7expmagane: &6%{expmag::%player%}% &6xp" Poprawione, testowane, u mnie działa Nie wiem czemu, ale też był błąd ze zmienną wymag, więc zmieniłem ją na expmag Edytowane 26 lutego 2017 przez knugi Literówka Odnośnik do komentarza https://skript.pl/temat/16684-skrypt-na-poziom/#findComment-114207 Udostępnij na innych stronach Więcej opcji udostępniania...
0 mateuszeqq13212 18 Opublikowano 26 lutego 2017 Autor Udostępnij Opublikowano 26 lutego 2017 Dalej nie dziala zabilem kolege 5 razy i lvl sie nie wbil Odnośnik do komentarza https://skript.pl/temat/16684-skrypt-na-poziom/#findComment-114216 Udostępnij na innych stronach Więcej opcji udostępniania...
0 knugi 794 Opublikowano 26 lutego 2017 Udostępnij Opublikowano 26 lutego 2017 (edytowane) Ej, ale to było na zombie if victim is a zombie: add 10 to {exp::%attacker%} I za każdego zombiaka dostajesz 10 xp na drugi poziom wymagane jest 100, czyli 10 zombiaków Jeżeli chcesz aby działało na graczy zmień on death of zombie: na on death of player Powinno działać Edytowane 26 lutego 2017 przez knugi Cytat + dopisek Odnośnik do komentarza https://skript.pl/temat/16684-skrypt-na-poziom/#findComment-114217 Udostępnij na innych stronach Więcej opcji udostępniania...
Pytanie
mateuszeqq13212 18
Witam. Potrzebuje wraz przesylam wam fajny skrypt : https://code.skript.pl/j6WBad4m/
Mianowicie potrzebuje zeby po &8[&3Poziom {LVL}&8] byla ranga np. Nowy
Potem od 30 lvl'a inna od 60 inna od 100 do 200 inna od 200 do 300 inna itd do i tak do 1000
I zeby to wszystko tak wygladalo:
&8[&3Poziom {LVL}&8] &8[&3Nowy&3] &8[&cWlasciciel&8] &3{PLAYER}&8>>&2&o {MESSAGE}
Usuwam prefix, który się przeniósł z działu zleceń //xVendrome
Odnośnik do komentarza
https://skript.pl/temat/16684-skrypt-na-poziom/Udostępnij na innych stronach
22 odpowiedzi na to pytanie
Rekomendowane odpowiedzi