Solved Tooltip not working

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

Scholler

Active Member
Aug 6, 2018
130
9
0
24
So I am making a script which broadcast "Place your mouse HERE and write the word" every minute. The first to enter the word wins in-game money. But .. it is not working as expected.
The code:
Code:
broadcast "&7[&bChatEvent&7] &aMove your mouse over <tooltip:%{random}%>&chere<reset> &aand write the word! Prize: 5000$"
It says:
Move your mouse over <tooltip:kjdr83fj>here and.....
Is there a way to do this?
 
So I am making a script which broadcast "Place your mouse HERE and write the word" every minute. The first to enter the word wins in-game money. But .. it is not working as expected.
The code:
Code:
broadcast "&7[&bChatEvent&7] &aMove your mouse over <tooltip:%{random}%>&chere<reset> &aand write the word! Prize: 5000$"
It says:
Move your mouse over <tooltip:kjdr83fj>here and.....
Is there a way to do this?
It doesn't work because broadcast also sends it to console, which can't format tooltips. You have to send it to all players instead
 
So I am making a script which broadcast "Place your mouse HERE and write the word" every minute. The first to enter the word wins in-game money. But .. it is not working as expected.
The code:
Code:
broadcast "&7[&bChatEvent&7] &aMove your mouse over <tooltip:%{random}%>&chere<reset> &aand write the word! Prize: 5000$"
It says:
Move your mouse over <tooltip:kjdr83fj>here and.....
Is there a way to do this?
Use
code_language.skript:
every a minute:
    loop all players:
        message "&7[&bChatEvent&7] &aMove your mouse over <tooltip:%{random}%>&chere<reset> &aand write the word! Prize: 5000$" to loop-player
instance of
code_language.skript:
every a minute:
    broadcast "&7[&bChatEvent&7] &aMove your mouse over <tooltip:%{random}%>&chere<reset> &aand write the word! Prize: 5000$"
 
Use
code_language.skript:
every a minute:
    loop all players:
        message "&7[&bChatEvent&7] &aMove your mouse over <tooltip:%{random}%>&chere<reset> &aand write the word! Prize: 5000$" to loop-player
you don't need to loop players to send messages
code_language.skript:
send "blah" to all players
 
Thank you, this was fixed on Discord but yeah, the solution was using ,,send .. to all players'' instead of broadcast.
 
Status
Not open for further replies.