Check region flags

Discussion in 'Skript' started by Stefan347401, Sep 14, 2018.

  1. How can i check if a flag is allowed/denied in a world guard region using skript?
  2. bad, but working method would be using skript-yaml addon and getting the flags directly out of YAML file where it saves flag data, but I'm sure there is a much better way to get flags

    Code (Text):
    [(all|the)] [(world[ ]guard|wg)] flags of %wgregion%
    requires SkStuff addon

    EDIT 2:
    Code (Text):

    command /flagtest:
            set {_dad} to "pvp" parsed as worldguard flag
            set {_dad2} to "mainlobby" parsed as a region
            send "%wg flag {_dad} of {_dad2}%"

    #3 Govindas, Sep 17, 2018
    Last edited: Sep 17, 2018
    • Like Like x 1