Well, it was an extra feature, so you needed to add this code into its own slot below the SMS:
#==============================================================
# ** Scrolling Message System / Name Box
#------------------------------------------------------------------------------
# Slipknot (http://www.creationasylum.net/)
# Version 1.1
# March 13, 2007
#==============================================================
class Window_Message < Window_Selectable
#--------------------------------------------------------------------------
# * Alias Listing
#--------------------------------------------------------------------------
alias slipknot_sms_nb_refresh refresh
alias slipknot_sms_nb_repcod replace_code
alias slipknot_sms_nb_termmes terminate_message
#--------------------------------------------------------------------------
# * Terminate Message
#--------------------------------------------------------------------------
def terminate_message
slipknot_sms_nb_termmes
if @name_box
@name_box.dispose
@name_box = nil
end
end
#--------------------------------------------------------------------------
# * Refresh
#--------------------------------------------------------------------------
def refresh
slipknot_sms_nb_refresh
if @name_text
@name_box = Window_MessageNameBox.new(x, y - 16, @name_text)
@name_box.back.opacity = 0 if $game_system.message_frame == 1
@name_text = nil
end
end
#--------------------------------------------------------------------------
# * Replace Code
#--------------------------------------------------------------------------
def replace_code
slipknot_sms_nb_repcod
@text.gsub!(/\\[Nn]ame\[(.*?)\]/) { @name_text = $1; '' }
end
end
class Window_MessageNameBox < Window_Base
#--------------------------------------------------------------------------
# * Public Instance Variables
#--------------------------------------------------------------------------
attr_reader :back
#--------------------------------------------------------------------------
# * Object Initialization
#--------------------------------------------------------------------------
def initialize(x, y, text)
dumb = Bitmap.new(160, 32)
dumb.font = Message.font
color = nil
text.sub!(/\\[Cc](\d)/) { color = text_color($1.to_i); '' }
size = dumb.text_size(text).width
dumb.dispose
@back = Window_Base.new(x, y, size + 12, 32)
@back.z = 9998
super(x - 10, y - 11, size + 32, 54)
self.z = 9999
self.opacity = 0
self.contents = Bitmap.new(size, 22)
contents.font = Message.font
contents.font.color = color if color
contents.draw_text(0, 0, size, 22, text)
end
#--------------------------------------------------------------------------
# * Dispose
#--------------------------------------------------------------------------
def dispose
@back.dispose
@back = nil
super
end
end