mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Apr 2014
Posts: 31
G
Ameglian cow
OP Offline
Ameglian cow
G
Joined: Apr 2014
Posts: 31
I'm trying to do so that mIRC highlights the name if the name is the same as the channel. Anyone know how to do this? I've tried for around 1-2 hours, haven't found a way yet. I'm useless with Regex.

Example 1:
Code:
Channel #stefan
   <bob> hahaha (white text)
   <stefan> hello (orange text)

Example 2:
Code:
Channel #alban
   <alban> greetings (orange text)
   <bob> hi (white text) 


Also needs to support.
<@stefan> hello (orange text)

P.S: Got possibly a more difficult problem after this one, but one problem at a time laugh

Last edited by Gargantuan; 15/02/15 12:23 AM.
Joined: Dec 2013
Posts: 779
N
Hoopy frood
Offline
Hoopy frood
N
Joined: Dec 2013
Posts: 779
Code:
on ^*:text:*:#: { 
  haltdef
 if ($nick == $mid(#,2)) var %color 5
 else var %color 2
 echo %color # $+(<,$nick,>) $1-
}
I don't use colors myself, so you'll have to look up which color orange is etc


Nillens @ irc.twitch.tv
Nillen @ irc.rizon.net
Joined: Feb 2003
Posts: 2,812
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,812
Type this once:
/alias nakedchan return $mid($chan,2)

Then edit the following setting:
Address Book (ALT+B) > Highlight > Add > $nakedchan

(Unfortunately you can't put identifiers that use () in Highlight rules. frown )


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
Joined: Apr 2014
Posts: 31
G
Ameglian cow
OP Offline
Ameglian cow
G
Joined: Apr 2014
Posts: 31
Thank you for the two answers =D Really appreciate it, now to problem two.

I know that the user "Twitchnotify" allow bots to detect new subscriber alerts but is there a way to detect when the chat turns into Subscriber Only / R9K / Slow mode?

Last edited by Gargantuan; 15/02/15 04:38 AM.
Joined: Feb 2003
Posts: 2,812
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,812
There's no IRC equivalent to these things. Unless you can see an event or notification (like a /msg), mIRC has no idea what's going on with the Twitch.tv website or service.


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
Joined: Apr 2014
Posts: 31
G
Ameglian cow
OP Offline
Ameglian cow
G
Joined: Apr 2014
Posts: 31
There is a message given to everyone who's using the browser but it never shows up on the mIRC client. So assume it's not possible.

Joined: Apr 2014
Posts: 31
G
Ameglian cow
OP Offline
Ameglian cow
G
Joined: Apr 2014
Posts: 31
Problem 3.

It seems like my router or ISP has some kind of protection that causes me to disconnect from the mIRC network when I join all the channels. I connect to the TMI network successfully, but after around 7 channels, it disconnects and tries to reconnect. It eventually joins. Is there a way to automatically connect to the same channels but slower?

Joined: Dec 2013
Posts: 779
N
Hoopy frood
Offline
Hoopy frood
N
Joined: Dec 2013
Posts: 779
Add a timer for each channel you want to join.
/help timers


Nillens @ irc.twitch.tv
Nillen @ irc.rizon.net

Link Copied to Clipboard