Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /los [<text>]:
- trigger:
- if arg 1 is not set:
- send "Wprowadz slowo do zmiany znakow:"
- stop
- if length of arg 1 is smaller than 2:
- send "Argument musi miec wiecej jak dwa znaki!"
- stop
- set {_slowo.length} to length of arg 1
- loop {_slowo.length} times:
- set {_slowo.%loop-number%} to subtext of arg 1 from loop-number to loop-number
- add "%{_slowo.%loop-number%}%" to {_slowo::*}
- set {_slowo.cale} to ""
- loop 5 times:
- if {_slowo::*} is not set:
- exit loop
- loop {_slowo::*}:
- set {_slowo.r} to random element of {_slowo::*}
- set {_slowo.cale} to "%{_slowo.cale}%%{_slowo.r}%"
- remove {_slowo.r} from {_slowo::*}
- send "&cSlowo &6'%arg 1%' &cprzeksztalcilem w: &a'%{_slowo.cale}%'"
Advertisement
Add Comment
Please, Sign In to add comment