Help With Skript

  • 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 comminuty!

    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.

jackass

Member
Nov 8, 2017
16
0
0
23
Hello! I am using the Conquer skript addon. I was trying to set a variable "{ublock.faction}" to the name of the faction that the player is standing in, this variable would then be used in a broadcast later in the sequence. Is there any way this is possible?
 
reading the documents for conquer, i guess you could use this
code_language.skript:
[the] faction at %locations/conquerclaims%

so something like
code_language.skript:
set {ublock.faction} to the faction at location of player
 
" {ublock.faction} " can only be set to one object, not more.
[doublepost=1520052768,1520052694][/doublepost]
reading the documents for conquer, i guess you could use this
code_language.skript:
[the] faction at %locations/conquerclaims%

so something like
code_language.skript:
set {ublock.faction} to the faction at location of player
Do you have discord or?
 
You can use
code_language.skript:
set {ublock.faction::*} to the faction at location of player
and when you want to broadcast it you can use
code_language.skript:
broadcast "%{ublock.faction::1}%"
or
code_language.skript:
broadcast "%{ublock.faction::*}%"
 
Status
Not open for further replies.