on chat: loop {antyreklama::*}: if message contains "%loop-value%": if the player does not have permission : cancel event kick player due to "&7Zostales wyrzucony za reklame innego serwera." send "%player% probowal zareklamowac serwer" to all opscommand /antyreklama [<text>] [<text>]: permission: ooo trigger: if argument 1 isn't set: send "&7Anty reklama by &6Uni&exejPL&7." send "&7/antyreklama lista&8 - lista blokowanych slow" send "&7/antyreklama dodaj <text>&8 - dodaje slowo" send "&7/antyreklama usun <text>&8 - usuwa slowo" stop if argument 1 is "dodaj": if argument 2 isn't set: send "Co chcesz dodac?" stop if {antyreklama::%argument 2%} isn't set: set {antyreklama::%argument 2%} to "%argument 2%" send "Dodano: %arg 2%" else: send "Takie slowo juz jest na liscie." stop if argument 1 is "usun": if argument 2 isn't set: send "Co chcesz usunac?" stop if {antyreklama::%argument 2%} isn't set: send "Nie ma takiego slowa..." else: send "Usunieto: %arg 2%" clear {antyreklama::%argument 2%} if argument 1 is "lista": send "Lista blokowanych slow:" send "%{antyreklama::*}%"# taki blad w konsoli sie wyswietla # 'permission' is not an item type (antyreklama.sk, line 4: if player does have permission:')
Mam taki skrypt ktory napisal dla mnie uniexejpl wszystko laduje sie bez bledow
Pytanie
TuraL 3
on chat: loop {antyreklama::*}: if message contains "%loop-value%": if the player does not have permission : cancel event kick player due to "&7Zostales wyrzucony za reklame innego serwera." send "%player% probowal zareklamowac serwer" to all opscommand /antyreklama [<text>] [<text>]: permission: ooo trigger: if argument 1 isn't set: send "&7Anty reklama by &6Uni&exejPL&7." send "&7/antyreklama lista&8 - lista blokowanych slow" send "&7/antyreklama dodaj <text>&8 - dodaje slowo" send "&7/antyreklama usun <text>&8 - usuwa slowo" stop if argument 1 is "dodaj": if argument 2 isn't set: send "Co chcesz dodac?" stop if {antyreklama::%argument 2%} isn't set: set {antyreklama::%argument 2%} to "%argument 2%" send "Dodano: %arg 2%" else: send "Takie slowo juz jest na liscie." stop if argument 1 is "usun": if argument 2 isn't set: send "Co chcesz usunac?" stop if {antyreklama::%argument 2%} isn't set: send "Nie ma takiego slowa..." else: send "Usunieto: %arg 2%" clear {antyreklama::%argument 2%} if argument 1 is "lista": send "Lista blokowanych slow:" send "%{antyreklama::*}%"# taki blad w konsoli sie wyswietla # 'permission' is not an item type (antyreklama.sk, line 4: if player does have permission:')Mam taki skrypt ktory napisal dla mnie uniexejpl wszystko laduje sie bez bledow
ale skrypt nie dziala nie ma komend ani nic
Edytowane przez TuraLOdnośnik do komentarza
https://skript.pl/temat/2236-antyreklama-nie-dzia%C5%82a/Udostępnij na innych stronach
1 odpowiedź na to pytanie
Rekomendowane odpowiedzi