Prefixes in skript

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

Mehzxzz

Member
Oct 30, 2024
2
0
1
In trying to make a kill message skript that sends the prefix and suffix of a player on kill.

on death:
if victim and attacker is a player:
send "%attacker's prefix%%attacker%%attacker's suffix% &6killed &r%victim's prefix%%victim%%victim's suffix%"
 
Have you tried using broadcast instead of send?

Code:
on death:
    if victim and attacker is a player:
        broadcast "%attacker's prefix%%attacker%%attacker's suffix% &6killed &r%victim's prefix%%victim%%victim's suffix%"
 
  • Like
Reactions: Doodle
Okay, so if the advice above didn't work, please make sure you have vault installed. I'm pretty sure you also need LuckPerms.

Also, use set death message to instead of broadcast. (unless you're going for that.)
 
  • Like
Reactions: MrGametop1