command /s [<player>] or /s [<text>]

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

FlFlxGamer

Member
Feb 7, 2019
28
1
0
Code:
command /s [<player>]:
 permission : stp.use
 permission message : &$&lYou are not a staffmember to use this command !
 trigger:
  if arg 1 is set:
   execute console command "minecraft:teleport %arg 1% %player%"
   send "&f&l-&c&l!] &f&lYou have teleported &3&l%arg 1% &f&lTo You ! "
  if arg 1 is not set:
   send "&f&l[!&C&l] &f&lPlease use &9&l/s [player]"

Why this doesn't work ?
 
What doesn't work?
Also, why are you having your script execute a console command for something that is built into Skript?
Teleport

That just seems like a waste
 
Status
Not open for further replies.