mIRC Home    About    Download    Register    News    Help

Print Thread
rline and dline for channel/query/status windows #189835 12/11/07 04:19 AM
Joined: Nov 2003
Posts: 50
X
x64 Offline OP
Babel fish
OP Offline
Babel fish
X
Joined: Nov 2003
Posts: 50
It would be great if /rline and /dline would work for main channel/query/status windows, as there is no way to replace text in those windows.

I have a number of ideas that i would love to implement (e.g. condensing multiple similar lines into one as they occur, condensing JOIN/MODE into one without delaying, etc) but have no way of changing the window text.

Re: rline and dline for channel/query/status windows [Re: x64] #259853 05/02/17 09:38 PM
Joined: Feb 2003
Posts: 2,700
Raccoon Offline
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,700
bump.


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
Re: rline and dline for channel/query/status windows [Re: Raccoon] #267426 02/07/20 09:22 PM
Joined: Apr 2010
Posts: 945
F
FroggieDaFrog Offline
Hoopy frood
Offline
Hoopy frood
F
Joined: Apr 2010
Posts: 945
I'm going to bump this as well.

The reason is that I've encountered 2 IRC servers that use message tags to give a message a unique id, and then later on that id is used to reference the line when a state changes.


Examples of this:
The two servers sends an edit event for when a message gets edited. It would be nice to be able to edit the referenced line instead of displaying a new message showing the edits

One of the servers sends a delete event when an op or user deletes a message. Though clients aren't required to remove the message, it would be nice if scripters could remove those lines as they desire.

Code
;; Received message
@msg-uid=123abcXYZ :User!Ident@Address PRIVMSG #example :txet

;; Message was edited
@target-uid=123abcXYZ :User!Ident@Address PRIVMSG_EDIT :text

;; Message was deleted
@target-uid=123abcXYZ :Op!Ident@Address PRIVMSG_DELETE :reason



Last edited by FroggieDaFrog; 02/07/20 09:37 PM.

I am SReject
My Stuff
Re: rline and dline for channel/query/status windows [Re: x64] #267676 02/09/20 01:19 PM
Joined: Feb 2015
Posts: 105
kap Offline
Vogon poet
Offline
Vogon poet
Joined: Feb 2015
Posts: 105
Originally Posted by x64
I have a number of ideas that i would love to implement (e.g. condensing multiple similar lines into one as they occur, condensing JOIN/MODE into one without delaying, etc) but have no way of changing the window text.


*bump*


GNU Terry Pratchett