#Color codes in Anvil

1 messages · Page 1 of 1 (latest)

long jewel
#

Previusly it was possible to bring color code functionality to anvils via skript and SKbee. However the latest update broke it. And i am not sure how to replicate this functionality.

on anvil prepare:
    if slot 0 of event-inventory is set:
        set {i_} to item
        set name of {i_} to colored anvil rename text of event-inventory
        set event-slot to {i_}

Is it no longer possible or?

rapid quartz
#

Uh did you mean {_i}? Also from what I know that never existed (Most likely wrong) but you could just do when you take out the item you just set name to colored name so like

#
  if name of event-inventory is "anvil": #Not sure what's the name
    if event-slot is 3: #Not sure what slot
      set {_item} to clicked item
      set name of {_item} to colored "%name of {_item}%"
      give player {_item}
      set event-slot to air```
#

Something like that

#

Sorry, I don't know if that help but hopefully it does