Solved Trying to make a simple colored MOTD and Welcome Script

  • 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.
Sep 6, 2021
2
0
1
24
Hey guy so im new to Script, starting slow. Here is my simple Welcome script




on First Join:
broadcast "[Broadcast]: Welcome to <My Server> %player%"​

on Join:
broadcast "[Broadcast]: Welcome back to <My Server> %player%!"​



Ideally id like to make them colored instead of plain white, i cant seem to get any sort of color code to work. Also when a new player joins it broadcasts both of these messages when i only want the First Join one to go out. Any help is very appreciated, thanks.
 
Hey guy so im new to Script, starting slow. Here is my simple Welcome script




on First Join:
broadcast "[Broadcast]: Welcome to <My Server> %player%"​

on Join:
broadcast "[Broadcast]: Welcome back to <My Server> %player%!"​



Ideally id like to make them colored instead of plain white, i cant seem to get any sort of color code to work. Also when a new player joins it broadcasts both of these messages when i only want the First Join one to go out. Any help is very appreciated, thanks.

Code:
on join:
    if player has played before:
        broadcast "https://skriptlang.github.io/Skript/text.html"
    else:
        broadcast "welcome for the first time! look here https://skriptlang.github.io/Skript/text.html"
 
Code:
on join:
    if player has played before:
        broadcast "https://skriptlang.github.io/Skript/text.html"
    else:
        broadcast "welcome for the first time! look here https://skriptlang.github.io/Skript/text.html"


Thanks man, any idea how to make it colored?
 
Status
Not open for further replies.