message

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

  1. C

    Basic code, strange errors

    I wanted to creat a script that would forbid people from placing a block, messaging 'It's not allowed to place a block.' This is what I wrote. My codes: on place: message "It's not allowed to place a block" cancel event This is a very basic set of codes as you see, but when I...
  2. J

    Solved solved

    solved
  3. S

    How can i splitt a message, so i can make a color gradient

    Hey, I made an "actionbar timer" skript about a month ago and wanted to make a color gradient for the text like in this video: Here is my code: https://pastecode.io/s/ievx4mxu
  4. N

    Center Message

    I would like to ask is there way in minecraft 1.18.2 to make messages on lines 5, 7, 8 centered? I saw that it was possible in 1.17 with using Skellett but no more in 1.18. command discord: aliases: dscrd trigger: message...
  5. Ali Tuna BAYLAN

    Simple Broadcast Skript

    Usage: /br [text], /b [text], /broadcast [text], /bc [text] command /broadcast <text>: permission: op aliases: /br, /broadcast, /bc, /b trigger: broadcast "&f[&b%player%&f]: &a%arg-1%"
  6. SWOEN

    Solved Message contains "@%player%":

    Hello there! I have a problem with my skript that mentions player's when they use @ before a player name. This is my code: on chat: if message contains "@%player%": replace "@%player%" with "&e@%player%&r" in the message execute console command "/playsound...
  7. A

    Failed Join/Connect messages Sent to online staff/players

    Does anyone know how i can find the messages of players who fail to join due to not whitelisted, connection error, or other and send it in chat also if someone leaves then detect the reason if it isn't themselves i want to know if its timed out, too much packets or other without checking console...
  8. Jonathan Cohen

    Message problem

    Script Version: 2.2-dev25 Script Author: Njol Minecraft Version: 1.8 Full Code: https://pastebin.com/HyXLfm6U I keep getting the wrong message on the command /sw create {arena} {mode}. it sends the {@noarenaname} instead of the {@nomodename} when not typing the mode or typing the wrong mode...
  9. Shadow Klassic

    Solved Bulk Send Messages to Global List of players

    So I recently had an Idea to create Factions on my RPG server. Somehow when I store a player's UUID to a list like {bloodlust::*}, and then send the message to that variable, It ain't work :/. Any idea how to do this? My Code: on quit: remove player's uuid from {bloodlust::*} remove...
  10. D

    Solved How to delete a chat message

    So I want to delete the chat message the person says, how do i do that. on chat: if {willbuybitcoin::*} contains player: if message is a number: add message to {hourlyamount.%player%} set {_bitcoinswillbuy} to message if {_bitcoinswillbuy} <= 10...
  11. L

    Message repeat in a loop

    every 5 seconds: loop all players: loop blocks in radius 5 around loop-player: loop-block is a fire or lava: add player to {temperatura.fuego::*} add 0.25 to {temperatura.actual.%loop-player%} if {temperatura.actual.%loop-player%} < 37.4...
  12. TechyGaming

    Solved Message if has permission

    Hi, I am trying to create a script that send a message to players with the permission techcraft.worldchange.notify but after reading the Skript documentation and experimenting for hours I can't. Here's my current code: command /world <text>: permission: techcraft.world permission message...
  13. C

    Clickable commands.

    I want to use this text: "&3Type '&e/f join %{factionOfPlayer.%player%}%&3' or &bclick here <reset> &3to join." I'd like the "&bclick here" to execute the command "/f join %{factionOfPlayer.%player%}%" and when "&bclick here" is hovered over the message "&b/f join %{factionOfPlayer.%player%}%"...
  14. jonawoning

    Solved Skript if message starts with "!" not working.

    Title: Skript if message starts with "!" not working. < I have skript like: on chat: if {kd.%player%} is "Kingdomloos": cancel event broadcast "&7[&fKingdomloos&7] &7%coloured player's displayname%: &7%message%" else: set {hash} to "##" set {procent} to...
  15. J

    Solved On rightclick on a block

    Hello I'would like to know if it's possible do detect the name of the bloc where the player click like "on rightclick on item frame: if target name is "" message "hello" Something like that ?
  16. D

    Message two texts in one line

    Skript Version (do not put latest): Skript dev35b Skript Author: Bensku Minecraft Version: 1.12.2 --- Full Code: options: prefix: "&6[&4Broadcast&6]&a " command /broadcast <text>: aliases: /bc permission: "test.broadcast" trigger: message "{@prefix}%arg 1%" to all...
  17. Pingusate

    Script Realcore | ABANDONED PROJECT. 2022-12-28

    I RECOMMEND READING EVERYTHING TO UNDERSTAND! - MENTION SYSTEM | When someone mentions other player's name in the chat, It will play a sound and send a message to the other player (Who got mentioned - BROADCAST SYSTEM | Autobroadcasts a specific message of your choice, That can be set...
  18. P

    Solved How can i change messages?

    From plugins and players too? For example if a plugin/player says "I want cookies", i want to appear as "I like banana".
  19. Adrihun

    Solved Skelett not centering message problem!

    Okay, So i have an announcement script, and i used the Skelett center feature to make it centered. message centered "&c%arg-2%" to all players And i have another script which does the same thing but globally announces the message. skellettcord message coloured "&c%arg-2%" to all bungeecord...
  20. Adrihun

    Anti Swear to message?

    Hey, thanks for clicking on my post. Its me aggain "_" How do i add Anti Swear, Anti Spam (1 sec) to my script? command /pm [<offline player>] [<text>]: trigger: if arg 1 is not set: send "Wrong usage." if arg 1 is set: if arg 2 is not set...