I made a script for Peace and Protection called MENTION.PPA that - under certain conditions - shows a tip on the desktop when my nick is mentioned in a channel. When double-clicking on the tip it runs this command:
if (!$appactive) showmirc -s $(|) scid $cid window -a $unsafe($chan)
It works well.
However by double-clicking I'd like to also go directly to the line in $chan that triggered the on TEXT event
I would like to float a feature suggestion whereby you can record a line number for a (channel) event and jump there with a (new) command: /scrollwindow $chan %savedlinenumber
Context:
https://raw.githubusercontent.com/peace-and-protection/PnPAddons422/master/MENTION.PPAedit: Maybe I should not have used the word 'line number', but 'bookmark' . Also I have been made aware by Ouims on IRC that this feature has been requested quite a lot in the past.