Solved Argument not working

  • 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.

Rgamer

Member
Aug 17, 2021
3
0
1
So for one or another reason the arg 1 does not want to work

Code:
command server <text>:
  aliases: s
  usage: &4/server [pvp/survival/IslandBlock/creative/lobby/join]
  trigger:
  if %arg 1% is "pvp":
    teleport player to location(208, 4, -159, world("pvp"))
/
Code:
command server <text>:
  aliases: s
  usage: &4/server [pvp/survival/IslandBlock/creative/lobby/join]
  trigger:
  if arg 1 is "pvp":
    teleport player to location(208, 4, -159, world("pvp"))
could anyone make it work, this code have bugged me for days :')
 

Attachments

  • sad_arg.png
    sad_arg.png
    64.2 KB · Views: 187
Status
Not open for further replies.