[EasyUO] Public Chat Viewer

If you make a Client-side script you can publish it here for other players to use
Locked
User avatar
Elron
Novice Scribe
Posts: 9
Joined: Mon May 03, 2010 9:00 am

[EasyUO] Public Chat Viewer

Post by Elron »

Was created by someone else for someplace else, I made it work for here.

Will dump all the player text to a separate window so you have a history display of chat logs

Code: Select all

;=============================================
; Script: Praxiiz's Public Chat Viewer
; Author: Praxiiz Spectreon
; Purpose: Created for Allure of the Unknown
; to allow players to keep track
; of public chat and pharos chat
; when there is a lot of journal
; spam.
; Version: 0.5
; Made to work with Excelsior Shard by Elron/Datguy
;=============================================
; Version; 0.6
;Window Initialization
menu clear
menu Window Title Praxiiz's Public Chat Viewer
menu Window Color blue
menu Window Size 700 170
menu List Create mainBuffer 10 10 680 150
menu Show
menu HideEUO

;set %newLine hello
;gosub addLine

set %index 0

set %newLine #journal

loop:
scanJournal 1

if %newLine <> #journal
{
set %temp #journal
str pos %temp < p
 str Left %temp 1
if #STRRES = [  ;this is the first char of the lines you want to see
{
menu List Add mainBuffer #journal
set %newLine #journal
set %index %index + 1
menu List Select mainBuffer %index
;gosub addLine
}
}
goto loop:
halt
Ryslock
Novice Scribe
Posts: 9
Joined: Mon Jun 22, 2009 7:15 am

Re: [EasyUO] Public Chat Viewer

Post by Ryslock »

Handy little script, thanks for getting it to work here.

Added guildchat to mine...Mostly because I tend to miss it more than global :oops:
User avatar
Devlin
Legendary Scribe
Posts: 652
Joined: Thu Mar 18, 2010 12:50 pm

Re: [EasyUO] Public Chat Viewer

Post by Devlin »

How to change this to make a guild chat journal (because portal is a lil nicer)
if #STRRES = [ ;this is the first char of the lines you want to see
Change the "[" to "<", itll make a guild chat journal. Top numbers can change the window size.
Resident Wiki Editor/Village Idiot

EasyUO Scripts
ReArmer
ReArmer (Old Version)
ReReader
Separate Journal for Guild or Public Chat (Old)
---------------------------------------------
Combat Focus Guide (Godmode Formula)
User avatar
Devlin
Legendary Scribe
Posts: 652
Joined: Thu Mar 18, 2010 12:50 pm

Re: [EasyUO] Public Chat Viewer

Post by Devlin »

Bump.
Anyone have a better chat viewer?
This one has two downsides: uses _'s as spaces. Annoying, but you get over it
More importantly, it doesn't always record. I've noticed it happens when there are repeated characters at the start of the sentence.
Resident Wiki Editor/Village Idiot

EasyUO Scripts
ReArmer
ReArmer (Old Version)
ReReader
Separate Journal for Guild or Public Chat (Old)
---------------------------------------------
Combat Focus Guide (Godmode Formula)
User avatar
BlaZe
Legendary Scribe
Posts: 402
Joined: Thu Dec 25, 2008 12:54 am
Location: Ann Arbor, MI; USA

Re: [EasyUO] Public Chat Viewer

Post by BlaZe »

Underscores are now converted to spaces, bracket type modifying now more easily accessible (changing from global to guild chat) and added a couple lines that will stop the script when you close the log window.

Still trying to figure out how to fix the occasional line-skipping issue..

Here's the updated script:

Code: Select all

;=============================================
; Script: Praxiiz's Public Chat Viewer
; Author: Praxiiz Spectreon
; Purpose: Created for Allure of the Unknown
; to allow players to keep track
; of public chat and pharos chat
; when there is a lot of journal
; spam.
; Version: 0.7
; Made to work with Excelsior Shard by Elron/Datguy
; Further revisions by BlaZe Budd[le]
;=============================================

set %symb [ ;use [ for global and < for guild


set #menubutton N/A
set %index 0
set %newLine #journal

menu clear
menu Window Title Praxiiz's Public Chat Viewer
menu Window Color blue
menu Window Size 700 170
menu List Create mainBuffer 10 10 680 150
menu Show
menu HideEUO

loop:
scanJournal 1
if #menubutton = CLOSED
  stop
if %newLine <> #journal
{
set %temp #journal
str pos %temp < p
str Left %temp 1
if #STRRES = %symb
{
set %string #journal
loop2:
str Pos %string _
set %pos #strRes
str Del %string #strRes 1
str Ins #strRes #spc %pos
set %string #strRes
str Count %string _
if #strRes > 0
  goto loop2
menu List Add mainBuffer %string
set %newLine #journal
set %index %index + 1
menu List Select mainBuffer %index
}
}
goto loop:
halt
EasyUO Devotee
Download
My Popular ScripZ
Pet FightR | Doorman | TrainR: Lockpicking | HealR
Locked