Solved Having problems with Broadcast 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.

Adrihun

Member
Feb 1, 2017
368
6
0
So I'm trying to make it so if i got more than 30 characters, it won't send subtitle to player.

Am I doing it right?
(Because when i write under 30 characters and press enter, it won't send subtitle?
code_language.skript:
            loop all players:
                set {_ll} to length of arg-1
                if {_ll} is greater or equal to 30:
                    broadcast "&5%arg 1%"
                    stop
                broadcast "&5%arg 1%"
                send loop-player title " " with subtitle "%colored arg 1%" for 5 seconds
                stop
 
code_language.skript:
if length of arg-1 <= 30:
    loop all players:
        send loop-player title " " with subtitle "%colored arg 1%" for 5 seconds
 
Status
Not open for further replies.