Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {am.1} = Wiadomosc przykladowa numer 1
- {an.2} = Wiadomosc przykladowa numer 2
- {am.3} = Wiadomosc przykladowa numer 3
- {am.4} = Wiadomosc przykladowa numer 4
- {am.5} = Wiadomosc przykladowa numer 5
- {am.6} = Wiadomosc przykladowa numer 6
- {am.czas} = 1 minute
- command /am [<text>] [<text>] [<text>]:
- permisiion : jc.admin
- permisiion : &4&lNie masz dostepu do tego kolego!
- trigger:
- if arg 1 is "sprawdz":
- send "&8&l[&6&lJuliuszCraft&8&l] %{am.1}%"
- send "&8&l[&6&lJuliuszCraft&8&l] %{am.2}%"
- send "&8&l[&6&lJuliuszCraft&8&l] %{am.3}%"
- send "&8&l[&6&lJuliuszCraft&8&l] %{am.4}%"
- send "&8&l[&6&lJuliuszCraft&8&l] %{am.5}%"
- send "&8&l[&6&lJuliuszCraft&8&l] %{am.6}%"
- if arg 1 is "usun":
- if arg 2 is not set:
- send "&8&l[&6&lJuliuszCraft&8&l] &6&l Poprawne uzycie tej komendy to /am usun [1-6]"
- id arg 2 is "1":
- set {am.1} to "&8&l[&6&lJuliuszCraft&8&l] &6 Wiadomosc przykladowa numer 1"
- id arg 2 is "2":
- set {am.2} to "&8&l[&6&lJuliuszCraft&8&l] &6 Wiadomosc przykladowa numer 2"
- id arg 2 is "3":
- set {am.3} to "&8&l[&6&lJuliuszCraft&8&l] &6 Wiadomosc przykladowa numer 3"
- id arg 2 is "4":
- set {am.4} to "&8&l[&6&lJuliuszCraft&8&l] &6 Wiadomosc przykladowa numer 4"
- id arg 2 is "5":
- set {am.5} to "&8&l[&6&lJuliuszCraft&8&l] &6 Wiadomosc przykladowa numer 5"
- id arg 2 is "6":
- set {am.6} to "&8&l[&6&lJuliuszCraft&8&l] &6 Wiadomosc przykladowa numer 6"
- if arg 1 is "zmien":
- if arg 2 is not set:
- sned "&8&l[&6&lJuliuszCraft&8&l] &6Poprawne uzycie tej komendy to /am zmien [1-6] [Automatyczna wiadomosc]"
- if arg 2 is set:
- is arg 3 is not set;
- send "&8&l[&6&lJuliuszCraft&8&l] &6Poprawne uzycie tej komendy to /am zmien [1-6] [Automatyczna wiadomosc]"
- if arg 2 is "1":
- set {am.1} to arg 3
- if arg 2 is "2":
- set {am.2} to arg 3
- if arg 2 is "3":
- set {am.3} to arg 3
- if arg 2 is "4":
- set {am.4} to arg 3
- if arg 2 is "5":
- set {am.5} to arg 3
- if arg 2 is "6":
- set {am.6} to arg 3
- if arg 1 is "czas":
- if arg 2 is not set:
- send "&8&l[&6&lJuliuszCraft&8&l] &6 Poprawne uzycie tej komendy to /am czas [czas np 1 second, 1 minute, 1 hour]"
- if arg 1 is set:
- set {am.czas} to arg 2
- send "&8&l[&6&lJuliuszCraft&8&l] &6 Czas zostal prawidlowo ustawiony na &5%arg 2%"
Advertisement
Add Comment
Please, Sign In to add comment