Player Offline and Text at the same time.

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

FabricioSouza

Well-Known Member
Mar 15, 2018
267
3
0
25
Since the fact is that I do for pode setar an argument as Player offline and text at the same time. Type so: [<Offline Player=Text]. I wanted that the argument 3 was 2 things at the same time. But for me you check it I do that: if arg 3 parsed the offline-player and in order that I check a text I do that: if arg 3 parsed the text.
 
if you want an argument to be either a player or text, you just put [<text>], and then when you need to call the arg as a player, just do something like
set {_player} to arg-3 parsed as offline player
 
if you want an argument to be either a player or text, you just put [<text>], and then when you need to call the arg as a player, just do something like
set {_player} to arg-3 parsed as offline player

It is because the Skript that I am doing is of almost equal Manager of Groups to the PermissionEX oh in my code it contains: command/group [<Text] [<Text>] [<Offline Player] [<Text>]. But in him it has a called command: / group add permission <permission> <group>.
[doublepost=1532019908,1532019873][/doublepost]But anyway I ask for him thank you very much for his help.
 
Status
Not open for further replies.