SHOW:
|
|
- or go back to the newest paste.
1 | #--------------------------# | |
2 | #Criador : Frogguer | |
3 | #Nao remova os Creditos | |
4 | #--------------------------# | |
5 | ||
6 | command /set [<text>]: | |
7 | permission: set.setar | |
8 | permission message: &c[✖] Sem permissao Para Setar Locais | |
9 | trigger: | |
10 | if arg 1 is set: | |
11 | set {CL.%arg 1%} to location of player | |
12 | send "&a%arg 1% Setado Com Sucesso" | |
13 | if arg 1 is not set: | |
14 | send "" | |
15 | send "&c[✖] Você precisa colocar o nome deste Local" | |
16 | send "" | |
17 | stop | |
18 | on command: | |
19 | - | loop {CL.%command%::*}: |
19 | + | loop {CL::*}: |
20 | if "%loop-index%" is "%command%": | |
21 | cancel the event | |
22 | - | if player has permission "Cl.%command%.%loop-index%" or "use.all": |
22 | + | if player has permission "Cl.%loop-index%" or "use.all": |
23 | - | teleport player to {CL.%command%.%loop-index%} |
23 | + | teleport player to {CL::%loop-index%} |
24 | send "&6Teleportado!" | |
25 | else: | |
26 | send "&4Sem permissao" | |
27 | stop | |
28 | command /removerset [<text>]: | |
29 | permission: set.remover | |
30 | permission message: &cSem Permissao para Deletar Locais | |
31 | trigger: | |
32 | if arg 1 is set: | |
33 | if {CL.%arg 1%} is set: | |
34 | delete {CL.%arg 1%} | |
35 | send "%arg 1% Apagado Com Sucesso" | |
36 | if arg 1 is not set: | |
37 | send "" | |
38 | send "&c[✖] Vc Precisa Colocar o Nome Da Set" | |
39 | send "" | |
40 | stop |