Pesquisar na Comunidade
Mostrando resultados para as tags ''dcwarps''.
Encontrado 1 registro
-
DCWarps warps em skript SIMPLIFICADO Não irei fazer um tópico bonito pois o skript é bem simples caso haja bugs ou sugestão comente ae SKRIPT FEITO BASEADO NO PEDIDO DO Milk Comandos: /setlocal - seta o local do warp /dellocal - remove o local do warp /"mina" - vai até o suposto warp criado com o nome mina /warps - mostra uma lista de todos os warps criados » CODIGO « # Skript : DCWarps # Versão : 1.0 # Autor : Epiic/Junior # Forum Gamers Board (: options: #PREFIXO DO SERVIDOR P: &7[&6&lD&c&lC&7] #MSG DE SEM PERMISSÃO SP: &cVocê não tem permissão. #PERMISSÃO PARA ADMINISTRADORES PP: dcwarps.admin command /setlocal [<text>] [<text>] trigger: if arg 1 is set: if arg 2 is not set: if player has permission "{@PP}": set {Locais::%arg 1%} to location of player send "{@P} &aVocê setou o local &7%arg 1%" send "{@P} &aComando para ir é &7/%arg 1%" send "{@P} &aPermissão do warp é » &cirwarps.%arg 1%&a. stop else: send "{@P} &cUse: &7/setlocal [local]" stop else: send "{@P} &cUse: &7/setlocal [local]" stop command /dellocal [<text>]: trigger: if arg 1 is set: if player has permission "{@PP}": if {Locais::%arg 1%} is set: clear {Locais::%arg 1%} send "&aVocê deletou o &2%arg 1%&a!" stop else: send "{@P} &7Esse local não existe." stop else: send "{@P} {@SP}" stop else: send "{@P} &cUse: &7/dellocal [local]" stop command /warps: trigger: send "&2&l@===&b&l//&c&lLOCAIS&b&l\\&2&l===@" loop {Locais::*}: send "&6» &7/&f%loop-index%" send "&2&l@===&b&l\\&c&lLOCAIS&b&l//&2&l===@" stop on command: loop {Locais::*}: if "%loop-index%" is "%full command%": if player has permission "irwarps.%loop-index%": cancel event send "{@P} &aAguarde &73s &a..." set {_y} to rounded y coordinate of player set {_x} to rounded x coordinate of player set {_z} to rounded z coordinate of player wait 3 seconds if {_y} is rounded y coordinate of player: if {_x} is rounded x coordinate of player: if {_z} is rounded z coordinate of player: teleport player to {Locais::%loop-index%} send "{@P} &aVocê foi até &7%loop-index%." else: send "{@P} &cTeleporte cancelado, você se moveu." stop else: send "{@P} &cTeleporte cancelado, você se moveu." stop else: send "{@P} &cTeleporte cancelado, você se moveu." stop else: send "{@P} {@SP}" PASTEBIN