Script for mentioning a computer name in text

Hello, there is some problem with the site https://www.rpgmakercentral.com, i tried to go to the link to find in comments the script i need, but the site shows me error EX145, does anyone have a copy of the script? Because i don’t know what to do, i can’t solve this error
well you didn't tell us what the script is and since the site is having issues (which it often does) there is nothing to help you with.
You can wait a week or two as the site often gets these issues and takes time for it to be resolved.
Or you can tell us what the script is.

*update

Checked Internet archive and got the page.

Credit to PencilCase27
Ruby:
class Window_Base < Window
  #alias escape characters
  alias convert_escape_characters_with_host_name      convert_escape_characters
  def convert_escape_characters(text)
    result = convert_escape_characters_with_host_name(text)
    result.gsub!(/pcname/i)          { get_pc_name }
    result
  end
  #get pc name
  def get_pc_name
    begin
      str = ENV["COMPUTERNAME"]
    rescue
      str = $game_actors[1].name
    end
    return str
  end
end
well you didn't tell us what the script is and since the site is having issues (which it often does) there is nothing to help you with.
You can wait a week or two as the site often gets these issues and takes time for it to be resolved.
Or you can tell us what the script is.

*update

Checked Internet archive and got the page.

Credit to PencilCase27
Ruby:
class Window_Base < Window
  #alias escape characters
  alias convert_escape_characters_with_host_name      convert_escape_characters
  def convert_escape_characters(text)
    result = convert_escape_characters_with_host_name(text)
    result.gsub!(/pcname/i)          { get_pc_name }
    result
  end
  #get pc name
  def get_pc_name
    begin
      str = ENV["COMPUTERNAME"]
    rescue
      str = $game_actors[1].name
    end
    return str
  end
end
1699553768993.png

Thank you very much, now i also found this script through the internet archive, now i know how to get scripts if there are problems with original source, this is very cool opportunity

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/script-for-mentioning-a-computer-name-in-text.162779/