Solved Is it possible to change prefix in Chat?

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

Status
Not open for further replies.

Adrihun

Member
Feb 1, 2017
368
6
0
I'm using Pex and ChatEx. When my players die, i want to change their chat prefix to "DEAD %player%" or something like that.

Can you do this with Skript?
 
lol. I'm making a Minigame, and when players die the Script gives the player Spectator gamemode :emoji_grinning:
@CrisisLP

So is it possible to Change it with skript?
 
Last edited by a moderator:
lol. I'm making a Minigame, and when players die the Script gives the player Spectator gamemode :emoji_grinning:
@CrisisLP

So is it possible to Change it with skript?
Yes it's possible, if you didn't know the basic skript. then i recommend learn the basic skript.... Use Documentions to get any Expression that you need...
 
@ChisleLP Yay! I found it

"set player's prefix to "&7%player%"
SkAction
[doublepost=1494540977,1494540825][/doublepost]but i can't find the download for it
RIP
lol! '_'
 
@ChisleLP Yay! I found it

"set player's prefix to "&7%player%"
SkAction
[doublepost=1494540977,1494540825][/doublepost]but i can't find the download for it
RIP
lol! '_'
well. then use basic skript?

code_language.skript:
on death:
    set {Death::%player%} to true

on chat:
    if {Death::%player%} is set:
        cancel event
        broadcast "&cDEAD &r<%player%> &r%message%"
 
code_language.skript:
on death:
    set player's prefix to "&cDEAD %player%
 
Status
Not open for further replies.