Home | Assetto Corsa

Pirc

A Python script that shows messages from one Pidgin IRC channel in-game.

Downloads pirc.7z (Python source)

### Configurables ###

# Full path to directory with logs, automatically parses the last file in alphabetical order. See Pirc.ReadFile().
# E.g.: 	channel = "path/to/logs/irc/pringlesw@irc.gamesurge.net/#liveforspeed.chat/"
channel = "C:/Users/<user>/AppData/Roaming/.purple/logs/irc/pringlesw@irc.gamesurge.net/#liveforspeed.chat/"

# Lines with these words are discarded.
excludes = ["ChanServ", "saapui huoneeseen", "poistui huoneesta", "vaihtanut aiheeksi"]

interval = 1			# Update interval in seconds.
line_length = 80		# Number of characters per line.
reversed_order = 0		# 0: Newest line at the Top. 1: Bottom. 
rows = 6			# UI scales to this.
skip_first_rows = 3		# Ignore the first lines of the log file.
text_from_left = 80		# Offset to allow the name to fit. Increase if there is overlap.
use_name_colours = 1	        # Use Pirc.GetColor() to parse name colours from each line. When 0, text_colour will be used instead.
text_colour = "FFFFFF"	        # In hex without the 0x. Caps shouldn't matter.

### End Configurables ###