Jump to content

A colored sign script


SuperOrca

Recommended Posts

i did this for rep... pls give me rep

 

on sign change:
    set line 1 of event-block to "%colored line 1 of event-block%"
    set line 2 of event-block to "%colored line 2 of event-block%"
    set line 3 of event-block to "%colored line 3 of event-block%"
    set line 4 of event-block to "%colored line 4 of event-block%"

 

You can use color codes on signs such as:

&0 = BLACK
&1 = DARK BLUE
&2 = DARK GREEN
&3 = DARK AQUA/CYAN
&4 = DARK RED
&5 = DARK PURPLE
&6 = GOLD
&7 = LIGHT GRAY
&8 = DARK GRAY
&9 = INDIGO
&A = LIME GREEN
&B = AQUA/CYAN
&C = RED
&D = PINK
&E = YELLOW
&F = WHITE
&L = BOLD
&M = STRIKETHROUGH
&N = UNDERLINED
&O = ITALIC

Edited by SuperOrca
  • Like 5
  • Thanks 1

 

like.gif.653e1b24da93a6ca10eaf5b04e7f0242.gif

Likes are appreciated ❤️

 

Username: SuperOrca

Discord: Link to Profile

Rank: [VIP]

Joined Minehut: August 10, 2017

Joined Forums: June 10, 2019

 

Experienced in Python, Java (mainly spigot), Javascript (node.js, basics of react.js), and Web Development. DM on discord me if you want a custom discord bot for your server (i'm bored).

Link to comment
Share on other sites

41 minutes ago, Ezekia said:

This looks like it changes any sign you make... also why can't you just put the colour codes in front of the text like everyone else?

signs don't automatically include color codes, you need a skript for that.

n42J3gF.png

Link to comment
Share on other sites

  • 7 months later...

Topic Locked. 🔒

Please do not reply on forum threads that have been inactive for over a month!

𝚄𝚗𝚝𝚛𝚎𝚊𝚝𝚎𝚍

𝔻𝕚𝕤𝕔𝕠𝕣𝕕: @𝕌𝕟𝕥𝕣𝕖𝕒𝕥𝕖𝕕#𝟘𝟘𝟘𝟙

News & Updates  Rules • Helper Application

Reports • Appeals

𝚂𝚝𝚊𝚏𝚏 𝚘𝚗 𝙼𝚒𝚗𝚎𝚑𝚞𝚝 𝚜𝚒𝚗𝚌𝚎 𝙹𝚞𝚗𝚎 𝟹𝟶𝚝𝚑, 𝟸𝟶𝟸𝟶

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...