Solved Replace all "and" in "{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 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.

dudle

Active Member
Jan 31, 2017
135
0
16
45
What I'm doing is this:

code_language.skript:
        set {_plr::*} to all players
        replace all "and" with "," in {_plr::*}
        send "players: %{_plr::*}%" to loop-player

so what this does is it replaces the "and" in the {_plr::*} message, but it won't do it for some reason. I tried playing with this effect by trying to replace all "*a letter*" in the text with something else, and it worked (whenever a player has the specified letter to be replaced it works correctly), but it doesn't work with "and" word, which appears in this list {_plr::*} before the last player's name, that's a Skript thing.

How can I replace it? ty
 
Status
Not open for further replies.