Need Help: Chat Message with Hover Placeholder

  • 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 community!

    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!

menawshh

Member
Nov 3, 2024
13
1
3
Can someone help me? I want to create a Skript where, when a player types @poke1, a chat message appears with a placeholder. When the player hovers over the message, another placeholder should be displayed, similar to what’s shown in the screenshot. SKRIPT 1.12.2
 

Attachments

  • 1738160662348.png
    1738160662348.png
    83.9 KB · Views: 205
i don't understand. What do you mean? Do you have a placeholder that shows player statistics like that? Or are you going to use a skript function?
 
Do you know the pixelmon model? players have 6 pokemon slots, when the player type in chat @poke1 will show the name of pokemon in the chat and their information, I already have all placeholders but I'm having trouble showing the pokemon information when hovering over the message, sorry for the english I'm using google translator
"on chat:
loop all players:
if message contains "@Poke1":
set {_name} to the placeholder "FPAPIBridge_reforged_party_slot_0_name" from player
replace "@Poke1" with "%{_name}%" in the message " this is base script, i need to do what is in the print, so I want to know how I put the message when passing the mouse
1738173212412.png
 
Code:
send message formatted " &a<ttp:&aHOVER MESSAGE>TEXT<reset>" to players
cancel event and use this type of message to do it :emoji_thumbsup:
 
Code:
send message formatted " &a<ttp:&aHOVER MESSAGE>TEXT<reset>" to players
cancel event and use this type of message to do it :emoji_thumbsup:
ok worked but I want the message to appear in the chat legendchat like this
 

Attachments

  • 1738175218363.png
    1738175218363.png
    12.2 KB · Views: 203
  • 1738175240082.png
    1738175240082.png
    5.2 KB · Views: 197
sorry for my bad english, can you explain it more? You want to add a hover to "Machamp" text in your message?
you have discord? in discord I can explain better I think, but I want that when the player uses @poke1 appear in the chat legend chat his pokemon, more or less this: /g @poke1