o titulo já diz tudo xD
Edite na linha 16
Edite na linha 16
aonde tá "nomedaws" coloque o nome da sua Ws
self.windowskin = RPG::Cache.windowskin("nomedaws")
- Código:
#===============================================================================
# ** Window_Chat
#-------------------------------------------------------------------------------
# By Marlos Gama
#===============================================================================
class Window_Chat < Window_Base
#--------------------------------------------------------------------------
# * Initializes chat window.
#--------------------------------------------------------------------------
def initialize(x,y,a,b)
super(x,y,a,b)
self.contents = Bitmap.new(width - 32, height - 32)
#Você deve colocar o nome da windowsikn desejada onde tem "fa"
self.windowskin = RPG::Cache.windowskin("nomedaws")
self.contents.font.size = 16
#Aqui você pode mudar a opacidades da barra
self.back_opacity = 200
self.z = 9999
#@v_scroll = Scroll_Bar.new(self)
refresh
end
#--------------------------------------------------------------------------
# * Refreshes chat window.
#--------------------------------------------------------------------------
def refresh
$game_temp.chat_refresh = true
self.contents.clear
self.contents.font.color = normal_color
self.contents.font.size = 14
c = User_Edit::CHAT_SYSTEM
n = (c == 'Chat[1]' ? 25 : c == 'Chat[2]' ? 6 : 0)
$game_temp.chat_log.delete_at(0) if $game_temp.chat_log.size > n
if $game_temp.chat_log[0] == nil
self.contents.draw_text(0, 0 * 16 - 9, 640, 32, "")
else
self.contents.font.color = Color.new(0x7F, 0xBF, 0xFF) if $game_temp.chat_log[0].to_s.include?("/p")
self.contents.font.color = Color.new(0x1F, 0xFF, 0x7F) if $game_temp.chat_log[0].to_s.include?("/g")
self.contents.font.color = Color.new(0xFF, 0xBF, 0x3F) if $game_temp.chat_log[0].to_s.include?("[PT]")
self.contents.font.color = Color.new(0xBF, 0xBF, 0xFF) if $game_temp.chat_log[0].to_s.include?("/gd")
self.contents.font.color = Color.new(0xFF, 0xBF, 0x3F) if $game_temp.chat_log[0].to_s.include?("aceitou o pedido de party!")
self.contents.font.color = Color.new(0xFF, 0xBF, 0x3F) if $game_temp.chat_log[0].to_s.include?("saiu da party!")
self.contents.font.color = Color.new(0xFF, 0xBF, 0x3F) if $game_temp.chat_log[0].to_s.include?("Alguem ja está na Party com você!")
self.contents.font.color = Color.new(0xFF, 0xBF, 0x3F) if $game_temp.chat_log[0].to_s.include?("Você não tem grupo!")
self.contents.font.color = Color.new(0x7F, 0xBF, 0xFF) if $game_temp.chat_log[0].to_s.include?("Jogador não existe ou está offline!")
self.contents.font.color = Color.new(0xBF, 0xBF, 0xFF) if $game_temp.chat_log[0].to_s.include?("Jogadores Online:")
self.contents.font.color = Color.new(0x7F, 0xBF, 0xFF) if $game_temp.chat_log[0].to_s.include?("Digite o nome do jogador!")
self.contents.font.color = normal_color if !$game_temp.chat_log[0].to_s.include?("/p") and !$game_temp.chat_log[0].to_s.include?("/g") and !$game_temp.chat_log[0].to_s.include?("[PT]") and !$game_temp.chat_log[0].to_s.include?("aceitou o pedido de party!") and !$game_temp.chat_log[0].to_s.include?("saiu da party!") and !$game_temp.chat_log[0].to_s.include?("Alguem ja está na Party com você!") and !$game_temp.chat_log[0].to_s.include?("Você não tem grupo!") and !$game_temp.chat_log[0].to_s.include?("Jogador não existe ou está offline!") and !$game_temp.chat_log[0].to_s.include?("/gd") and !$game_temp.chat_log[0].to_s.include?("Jogadores Online:") and !$game_temp.chat_log[0].to_s.include?("Digite o nome do jogador!")
#self.contents.draw_text(0, 0 * 16 - 9, 640, 32, $game_temp.chat_log[0])
arg = $game_temp.chat_log[0].to_s.split
if arg[0] == "[PT]" or arg[0] == "/g" or arg[0] == "/gd"
self.contents.draw_text(0, 0 * 16 - 9, 640, 32, arg[1].to_s+" "+arg[2].to_s+" "+arg[3].to_s+" "+arg[4].to_s+" "+arg[5].to_s+" "+arg[6].to_s+" "+arg[7].to_s+" "+arg[8].to_s+" "+arg[9].to_s+" "+arg[10].to_s+" "+arg[11].to_s+" "+arg[12].to_s+" "+arg[13].to_s+" "+arg[14].to_s+" "+arg[15].to_s)
elsif arg[0] == "/p"
self.contents.draw_text(0, 0 * 16 - 9, 640, 32, arg[1].to_s+" "+arg[2].to_s+" "+arg[3].to_s+" "+arg[4].to_s+" "+arg[5].to_s+" "+arg[6].to_s+" "+arg[7].to_s+" "+arg[8].to_s+" "+arg[9].to_s+" "+arg[10].to_s+" "+arg[11].to_s+" "+arg[12].to_s+" "+arg[13].to_s+" "+arg[14].to_s+" "+arg[15].to_s)
else
self.contents.draw_text(0, 0 * 16 - 9, 640, 32, $game_temp.chat_log[0])
end
end
if $game_temp.chat_log[1] == nil
self.contents.draw_text(0, 1 * 16 - 9, 640, 32, "")
else
self.contents.font.color = Color.new(0x7F, 0xBF, 0xFF) if $game_temp.chat_log[1].to_s.include?("/p")
self.contents.font.color = Color.new(0x1F, 0xFF, 0x7F) if $game_temp.chat_log[1].to_s.include?("/g")
self.contents.font.color = Color.new(0xFF, 0xBF, 0x3F) if $game_temp.chat_log[1].to_s.include?("[PT]")
self.contents.font.color = Color.new(0xBF, 0xBF, 0xFF) if $game_temp.chat_log[1].to_s.include?("/gd")
self.contents.font.color = Color.new(0xFF, 0xBF, 0x3F) if $game_temp.chat_log[1].to_s.include?("aceitou o pedido de party!")
self.contents.font.color = Color.new(0xFF, 0xBF, 0x3F) if $game_temp.chat_log[1].to_s.include?("saiu da party!")
self.contents.font.color = Color.new(0xFF, 0xBF, 0x3F) if $game_temp.chat_log[1].to_s.include?("Alguem ja está na Party com você!")
self.contents.font.color = Color.new(0xFF, 0xBF, 0x3F) if $game_temp.chat_log[1].to_s.include?("Você não tem grupo!")
self.contents.font.color = Color.new(0x7F, 0xBF, 0xFF) if $game_temp.chat_log[1].to_s.include?("Jogador não existe ou está offline!")
self.contents.font.color = Color.new(0xBF, 0xBF, 0xFF) if $game_temp.chat_log[1].to_s.include?("Jogadores Online:")
self.contents.font.color = Color.new(0x7F, 0xBF, 0xFF) if $game_temp.chat_log[1].to_s.include?("Digite o nome do jogador!")
self.contents.font.color = normal_color if !$game_temp.chat_log[1].to_s.include?("/p") and !$game_temp.chat_log[1].to_s.include?("/g") and !$game_temp.chat_log[1].to_s.include?("[PT]") and !$game_temp.chat_log[1].to_s.include?("aceitou o pedido de party!") and !$game_temp.chat_log[1].to_s.include?("saiu da party!") and !$game_temp.chat_log[1].to_s.include?("Alguem ja está na Party com você!") and !$game_temp.chat_log[1].to_s.include?("Você não tem grupo!") and !$game_temp.chat_log[1].to_s.include?("Jogador não existe ou está offline!") and !$game_temp.chat_log[1].to_s.include?("/gd") and !$game_temp.chat_log[1].to_s.include?("Jogadores Online:") and !$game_temp.chat_log[1].to_s.include?("Digite o nome do jogador!")
#self.contents.draw_text(0, 1 * 16 - 9, 640, 32, $game_temp.chat_log[1])
arg = $game_temp.chat_log[1].to_s.split
if arg[0] == "[PT]" or arg[0] == "/g" or arg[0] == "/gd"
self.contents.draw_text(0, 1 * 16 - 9, 640, 32, arg[1].to_s+" "+arg[2].to_s+" "+arg[3].to_s+" "+arg[4].to_s+" "+arg[5].to_s+" "+arg[6].to_s+" "+arg[7].to_s+" "+arg[8].to_s+" "+arg[9].to_s+" "+arg[10].to_s+" "+arg[11].to_s+" "+arg[12].to_s+" "+arg[13].to_s+" "+arg[14].to_s+" "+arg[15].to_s)
elsif arg[0] == "/p"
self.contents.draw_text(0, 1 * 16 - 9, 640, 32, arg[1].to_s+" "+arg[2].to_s+" "+arg[3].to_s+" "+arg[4].to_s+" "+arg[5].to_s+" "+arg[6].to_s+" "+arg[7].to_s+" "+arg[8].to_s+" "+arg[9].to_s+" "+arg[10].to_s+" "+arg[11].to_s+" "+arg[12].to_s+" "+arg[13].to_s+" "+arg[14].to_s+" "+arg[15].to_s)
else
self.contents.draw_text(0, 1 * 16 - 9, 640, 32, $game_temp.chat_log[1])
end
end
if $game_temp.chat_log[2] == nil
self.contents.draw_text(0, 2 * 16 - 9, 640, 32, "")
else
self.contents.font.color = Color.new(0x7F, 0xBF, 0xFF) if $game_temp.chat_log[2].to_s.include?("/p")
self.contents.font.color = Color.new(0x1F, 0xFF, 0x7F) if $game_temp.chat_log[2].to_s.include?("/g")
self.contents.font.color = Color.new(0xFF, 0xBF, 0x3F) if $game_temp.chat_log[2].to_s.include?("[PT]")
self.contents.font.color = Color.new(0xBF, 0xBF, 0xFF) if $game_temp.chat_log[2].to_s.include?("/gd")
self.contents.font.color = Color.new(0xFF, 0xBF, 0x3F) if $game_temp.chat_log[2].to_s.include?("aceitou o pedido de party!")
self.contents.font.color = Color.new(0xFF, 0xBF, 0x3F) if $game_temp.chat_log[2].to_s.include?("saiu da party!")
self.contents.font.color = Color.new(0xFF, 0xBF, 0x3F) if $game_temp.chat_log[2].to_s.include?("Alguem ja está na Party com você!")
self.contents.font.color = Color.new(0xFF, 0xBF, 0x3F) if $game_temp.chat_log[2].to_s.include?("Você não tem grupo!")
self.contents.font.color = Color.new(0x7F, 0xBF, 0xFF) if $game_temp.chat_log[2].to_s.include?("Jogador não existe ou está offline!")
self.contents.font.color = Color.new(0xBF, 0xBF, 0xFF) if $game_temp.chat_log[2].to_s.include?("Jogadores Online:")
self.contents.font.color = Color.new(0x7F, 0xBF, 0xFF) if $game_temp.chat_log[2].to_s.include?("Digite o nome do jogador!")
self.contents.font.color = normal_color if !$game_temp.chat_log[2].to_s.include?("/p") and !$game_temp.chat_log[2].to_s.include?("/g") and !$game_temp.chat_log[2].to_s.include?("[PT]") and !$game_temp.chat_log[2].to_s.include?("aceitou o pedido de party!") and !$game_temp.chat_log[2].to_s.include?("saiu da party!") and !$game_temp.chat_log[2].to_s.include?("Alguem ja está na Party com você!") and !$game_temp.chat_log[2].to_s.include?("Você não tem grupo!") and !$game_temp.chat_log[2].to_s.include?("Jogador não existe ou está offline!") and !$game_temp.chat_log[2].to_s.include?("/gd") and !$game_temp.chat_log[2].to_s.include?("Jogadores Online:") and !$game_temp.chat_log[1].to_s.include?("Digite o nome do jogador!")
#self.contents.draw_text(0, 2 * 16 - 9, 640, 32, $game_temp.chat_log[2])
arg = $game_temp.chat_log[2].to_s.split
if arg[0] == "[PT]" or arg[0] == "/g" or arg[0] == "/gd"
self.contents.draw_text(0, 2 * 16 - 9, 640, 32, arg[1].to_s+" "+arg[2].to_s+" "+arg[3].to_s+" "+arg[4].to_s+" "+arg[5].to_s+" "+arg[6].to_s+" "+arg[7].to_s+" "+arg[8].to_s+" "+arg[9].to_s+" "+arg[10].to_s+" "+arg[11].to_s+" "+arg[12].to_s+" "+arg[13].to_s+" "+arg[14].to_s+" "+arg[15].to_s)
elsif arg[0] == "/p"
self.contents.draw_text(0, 2 * 16 - 9, 640, 32, arg[1].to_s+" "+arg[2].to_s+" "+arg[3].to_s+" "+arg[4].to_s+" "+arg[5].to_s+" "+arg[6].to_s+" "+arg[7].to_s+" "+arg[8].to_s+" "+arg[9].to_s+" "+arg[10].to_s+" "+arg[11].to_s+" "+arg[12].to_s+" "+arg[13].to_s+" "+arg[14].to_s+" "+arg[15].to_s)
else
self.contents.draw_text(0, 2 * 16 - 9, 640, 32, $game_temp.chat_log[2])
end
end
if $game_temp.chat_log[3] == nil
self.contents.draw_text(0, 3 * 16 - 9, 640, 32, "")
else
self.contents.font.color = Color.new(0x7F, 0xBF, 0xFF) if $game_temp.chat_log[3].to_s.include?("/p")
self.contents.font.color = Color.new(0x1F, 0xFF, 0x7F) if $game_temp.chat_log[3].to_s.include?("/g")
self.contents.font.color = Color.new(0xFF, 0xBF, 0x3F) if $game_temp.chat_log[3].to_s.include?("[PT]")
self.contents.font.color = Color.new(0xBF, 0xBF, 0xFF) if $game_temp.chat_log[3].to_s.include?("/gd")
self.contents.font.color = Color.new(0xFF, 0xBF, 0x3F) if $game_temp.chat_log[3].to_s.include?("aceitou o pedido de party!")
self.contents.font.color = Color.new(0xFF, 0xBF, 0x3F) if $game_temp.chat_log[3].to_s.include?("saiu da party!")
self.contents.font.color = Color.new(0xFF, 0xBF, 0x3F) if $game_temp.chat_log[3].to_s.include?("Alguem ja está na Party com você!")
self.contents.font.color = Color.new(0xFF, 0xBF, 0x3F) if $game_temp.chat_log[3].to_s.include?("Você não tem grupo!")
self.contents.font.color = Color.new(0x7F, 0xBF, 0xFF) if $game_temp.chat_log[3].to_s.include?("Jogador não existe ou está offline!")
self.contents.font.color = Color.new(0xBF, 0xBF, 0xFF) if $game_temp.chat_log[3].to_s.include?("Jogadores Online:")
self.contents.font.color = Color.new(0x7F, 0xBF, 0xFF) if $game_temp.chat_log[3].to_s.include?("Digite o nome do jogador!")
self.contents.font.color = normal_color if !$game_temp.chat_log[3].to_s.include?("/p") and !$game_temp.chat_log[3].to_s.include?("/g") and !$game_temp.chat_log[3].to_s.include?("[PT]") and !$game_temp.chat_log[3].to_s.include?("aceitou o pedido de party!") and !$game_temp.chat_log[3].to_s.include?("saiu da party!") and !$game_temp.chat_log[3].to_s.include?("Alguem ja está na Party com você!") and !$game_temp.chat_log[3].to_s.include?("Você não tem grupo!") and !$game_temp.chat_log[3].to_s.include?("Jogador não existe ou está offline!") and !$game_temp.chat_log[3].to_s.include?("/gd") and !$game_temp.chat_log[3].to_s.include?("Jogadores Online:") and !$game_temp.chat_log[3].to_s.include?("Digite o nome do jogador!")
#self.contents.draw_text(0, 3 * 16 - 9, 640, 32, $game_temp.chat_log[3])
arg = $game_temp.chat_log[3].to_s.split
if arg[0] == "[PT]" or arg[0] == "/g" or arg[0] == "/gd"
self.contents.draw_text(0, 3 * 16 - 9, 640, 32, arg[1].to_s+" "+arg[2].to_s+" "+arg[3].to_s+" "+arg[4].to_s+" "+arg[5].to_s+" "+arg[6].to_s+" "+arg[7].to_s+" "+arg[8].to_s+" "+arg[9].to_s+" "+arg[10].to_s+" "+arg[11].to_s+" "+arg[12].to_s+" "+arg[13].to_s+" "+arg[14].to_s+" "+arg[15].to_s)
elsif arg[0] == "/p"
self.contents.draw_text(0, 3 * 16 - 9, 640, 32, arg[1].to_s+" "+arg[2].to_s+" "+arg[3].to_s+" "+arg[4].to_s+" "+arg[5].to_s+" "+arg[6].to_s+" "+arg[7].to_s+" "+arg[8].to_s+" "+arg[9].to_s+" "+arg[10].to_s+" "+arg[11].to_s+" "+arg[12].to_s+" "+arg[13].to_s+" "+arg[14].to_s+" "+arg[15].to_s)
else
self.contents.draw_text(0, 3 * 16 - 9, 640, 32, $game_temp.chat_log[3])
end
end
if $game_temp.chat_log[4] == nil
self.contents.draw_text(0, 4 * 16 - 9, 640, 32, "")
else
self.contents.font.color = Color.new(0x7F, 0xBF, 0xFF) if $game_temp.chat_log[4].to_s.include?("/p")
self.contents.font.color = Color.new(0x1F, 0xFF, 0x7F) if $game_temp.chat_log[4].to_s.include?("/g")
self.contents.font.color = Color.new(0xFF, 0xBF, 0x3F) if $game_temp.chat_log[4].to_s.include?("[PT]")
self.contents.font.color = Color.new(0xBF, 0xBF, 0xFF) if $game_temp.chat_log[4].to_s.include?("/gd")
self.contents.font.color = Color.new(0xFF, 0xBF, 0x3F) if $game_temp.chat_log[4].to_s.include?("aceitou o pedido de party!")
self.contents.font.color = Color.new(0xFF, 0xBF, 0x3F) if $game_temp.chat_log[4].to_s.include?("saiu da party!")
self.contents.font.color = Color.new(0xFF, 0xBF, 0x3F) if $game_temp.chat_log[4].to_s.include?("Alguem ja está na Party com você!")
self.contents.font.color = Color.new(0xFF, 0xBF, 0x3F) if $game_temp.chat_log[4].to_s.include?("Você não tem grupo!")
self.contents.font.color = Color.new(0x7F, 0xBF, 0xFF) if $game_temp.chat_log[4].to_s.include?("Jogador não existe ou está offline!")
self.contents.font.color = Color.new(0xBF, 0xBF, 0xFF) if $game_temp.chat_log[4].to_s.include?("Jogadores Online:")
self.contents.font.color = Color.new(0x7F, 0xBF, 0xFF) if $game_temp.chat_log[4].to_s.include?("Digite o nome do jogador!")
self.contents.font.color = normal_color if !$game_temp.chat_log[4].to_s.include?("/p") and !$game_temp.chat_log[4].to_s.include?("/g") and !$game_temp.chat_log[4].to_s.include?("[PT]") and !$game_temp.chat_log[4].to_s.include?("aceitou o pedido de party!") and !$game_temp.chat_log[4].to_s.include?("saiu da party!") and !$game_temp.chat_log[4].to_s.include?("Alguem ja está na Party com você!") and !$game_temp.chat_log[4].to_s.include?("Você não tem grupo!") and !$game_temp.chat_log[4].to_s.include?("Jogador não existe ou está offline!") and !$game_temp.chat_log[4].to_s.include?("/gd") and !$game_temp.chat_log[4].to_s.include?("Jogadores Online:") and !$game_temp.chat_log[4].to_s.include?("Digite o nome do jogador!")
#self.contents.draw_text(0, 4 * 16 - 9, 640, 32, $game_temp.chat_log[4])
arg = $game_temp.chat_log[4].to_s.split
if arg[0] == "[PT]" or arg[0] == "/g" or arg[0] == "/gd"
self.contents.draw_text(0, 4 * 16 - 9, 640, 32, arg[1].to_s+" "+arg[2].to_s+" "+arg[3].to_s+" "+arg[4].to_s+" "+arg[5].to_s+" "+arg[6].to_s+" "+arg[7].to_s+" "+arg[8].to_s+" "+arg[9].to_s+" "+arg[10].to_s+" "+arg[11].to_s+" "+arg[12].to_s+" "+arg[13].to_s+" "+arg[14].to_s+" "+arg[15].to_s)
elsif arg[0] == "/p"
self.contents.draw_text(0, 4 * 16 - 9, 640, 32, arg[1].to_s+" "+arg[2].to_s+" "+arg[3].to_s+" "+arg[4].to_s+" "+arg[5].to_s+" "+arg[6].to_s+" "+arg[7].to_s+" "+arg[8].to_s+" "+arg[9].to_s+" "+arg[10].to_s+" "+arg[11].to_s+" "+arg[12].to_s+" "+arg[13].to_s+" "+arg[14].to_s+" "+arg[15].to_s)
else
self.contents.draw_text(0, 4 * 16 - 9, 640, 32, $game_temp.chat_log[4])
end
end
if $game_temp.chat_log[5] == nil
self.contents.draw_text(0, 5 * 16 - 9, 640, 32, "")
else
self.contents.font.color = Color.new(0x7F, 0xBF, 0xFF) if $game_temp.chat_log[5].to_s.include?("/p")
self.contents.font.color = Color.new(0x1F, 0xFF, 0x7F) if $game_temp.chat_log[5].to_s.include?("/g")
self.contents.font.color = Color.new(0xFF, 0xBF, 0x3F) if $game_temp.chat_log[5].to_s.include?("[PT]")
self.contents.font.color = Color.new(0xBF, 0xBF, 0xFF) if $game_temp.chat_log[5].to_s.include?("/gd")
self.contents.font.color = Color.new(0xFF, 0xBF, 0x3F) if $game_temp.chat_log[5].to_s.include?("aceitou o pedido de party!")
self.contents.font.color = Color.new(0xFF, 0xBF, 0x3F) if $game_temp.chat_log[5].to_s.include?("saiu da party!")
self.contents.font.color = Color.new(0xFF, 0xBF, 0x3F) if $game_temp.chat_log[5].to_s.include?("Alguem ja está na Party com você!")
self.contents.font.color = Color.new(0xFF, 0xBF, 0x3F) if $game_temp.chat_log[5].to_s.include?("Você não tem grupo!")
self.contents.font.color = Color.new(0x7F, 0xBF, 0xFF) if $game_temp.chat_log[5].to_s.include?("Jogador não existe ou está offline!")
self.contents.font.color = Color.new(0xBF, 0xBF, 0xFF) if $game_temp.chat_log[5].to_s.include?("Jogadores Online:")
self.contents.font.color = Color.new(0x7F, 0xBF, 0xFF) if $game_temp.chat_log[5].to_s.include?("Digite o nome do jogador!")
self.contents.font.color = normal_color if !$game_temp.chat_log[5].to_s.include?("/p") and !$game_temp.chat_log[5].to_s.include?("/g") and !$game_temp.chat_log[5].to_s.include?("[PT]") and !$game_temp.chat_log[5].to_s.include?("aceitou o pedido de party!") and !$game_temp.chat_log[5].to_s.include?("saiu da party!") and !$game_temp.chat_log[5].to_s.include?("Alguem ja está na Party com você!") and !$game_temp.chat_log[5].to_s.include?("Você não tem grupo!") and !$game_temp.chat_log[5].to_s.include?("Jogador não existe ou está offline!") and !$game_temp.chat_log[5].to_s.include?("/gd") and !$game_temp.chat_log[5].to_s.include?("Jogadores Online:") and !$game_temp.chat_log[5].to_s.include?("Digite o nome do jogador!")
#self.contents.draw_text(0, 5 * 16 - 9, 640, 32, $game_temp.chat_log[5])
arg = $game_temp.chat_log[5].to_s.split
if arg[0] == "[PT]" or arg[0] == "/g" or arg[0] == "/gd"
self.contents.draw_text(0, 5 * 16 - 9, 640, 32, arg[1].to_s+" "+arg[2].to_s+" "+arg[3].to_s+" "+arg[4].to_s+" "+arg[5].to_s+" "+arg[6].to_s+" "+arg[7].to_s+" "+arg[8].to_s+" "+arg[9].to_s+" "+arg[10].to_s+" "+arg[11].to_s+" "+arg[12].to_s+" "+arg[13].to_s+" "+arg[14].to_s+" "+arg[15].to_s)
elsif arg[0] == "/p"
self.contents.draw_text(0, 5 * 16 - 9, 640, 32, arg[1].to_s+" "+arg[2].to_s+" "+arg[3].to_s+" "+arg[4].to_s+" "+arg[5].to_s+" "+arg[6].to_s+" "+arg[7].to_s+" "+arg[8].to_s+" "+arg[9].to_s+" "+arg[10].to_s+" "+arg[11].to_s+" "+arg[12].to_s+" "+arg[13].to_s+" "+arg[14].to_s+" "+arg[15].to_s)
else
self.contents.draw_text(0, 5 * 16 - 9, 640, 32, $game_temp.chat_log[5])
end
end
$chat_size = $game_temp.chat_log.size
end
#--------------------------------------------------------------------------
# * Updates chat window.
#--------------------------------------------------------------------------
def update
super
refresh if $chat_size != $game_temp.chat_log.size
end
end