Status hotlinker

Information on mIRC scripts or other IRC related scripts for use by users.
1 post Page 1 of 1

Status hotlinker

Quote

Post by Daedalus »

The following snippet will turn into a hotlink; meaning when this text is double-clicked in the chat, it will open a new browser window to that status' excerpt on these boards.

Nothing to download this time, just a simple snippet copied into the remotes section of the script editor:

Code: Select all

on ^$*:HOTLINK:/\((status:.*?)\)/Si:*: {
  return
  halt
}

on $*:HOTLINK:/\((status:(.*?))\)/Si:*: {
  url -an https://board.dimensionalwar.com/viewtopic.php?p=4817# $+ $regml(2)
}

To see all the possible status names, go to the status list page and click the link icon next to each status. The fragment(the text after the ) in the url bar is the text that should be after the part of the 'hotlink'; only these fragments may be used if the script is to work.

To see an example of it in use, in ooc type , then double click that text.
Last edited by Daedalus on July 23rd, 2021, 8:45 am, edited 3 times in total.
Daedalus
Dragon Coder
Posts: 163
Joined: October 9th, 2008, 5:15 am

1 post Page 1 of 1