mIRC Home    About    Download    Register    News    Help

Print Thread
#261062 24/07/17 10:46 AM
Joined: May 2017
Posts: 9
N
nwmv Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
N
Joined: May 2017
Posts: 9
http://chatty.github.io/

This Twitch Chat Client has an option to Follow/Unfollow the joined channel via Right Click Menu(http://i.imgur.com/Wrnn59v.png). Is it possible to do something like this for mIRC?

https://github.com/Poorchop/hexchat-scripts

Hexchat also appears to have this capability by a simple '/follow channel' or '/unfollow channel' command from an external script.

Joined: Jan 2004
Posts: 2,127
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2004
Posts: 2,127
I'm reluctant to answer twitch-related questions, because Twitch servers have a non-standard way of interacting with irc clients, not recognizing some things and creating other things which don't exist elsewhere.

However, if you know what the commands are, these can easily be added to the right-click menu for a channel window. If you right-click in a channel now, there are menu items already there, and you can add more items by either placing them in a remotes script, or adding them to the popups menu already existing.

If you press alt-P, this takes you to the popups tab of the scripts editor. If you then press the 'view' menu, one of the choices is "channel". When you choose that, it displays the popups-menu's portion of the right-click menu for all channel windows. You could add lines like this:

Miscellaneous
.Host Channel:{ commands go here }
.-
.Join Hosted Channel:{ commands go here }
.Copy Stream Name:{ commands go here }
.-
.Show Chat Rules:{ commands go here }
.-
.Follow Channel:{ commands go here }
.UnFollow Channel:{ commands go here }
.-
.Open SpeedRun.Com:{ commands go here }

This re-creates what i see in your image for the Misc menu. When a line begins with a period, it's a submenu 1 level below the main menu. (2 periods would be within a submenu 2 levels deep.) The lines ".-" create the horizontal line in your menu.

Where I have "commands go here" are the twitch commands to do whatever that menu item says, and I don't know what they are. They would be whatever commands you would type into mirc to the same thing manually. You should use either # or $chan to symbolize the current channel in your command. You probably won't need it, but $1 is replaced by the topmost highlighted nick in the nicklist, if any is highlighted.

These twitch-related commands can be placed in a remotes-script and shared with other people. The remotes script would be created on the 'Remotes' tab of the script editor. The format would be the same, except they are placed inside a menu wrapper like this:

Menu Channel {
same lines as above.
}


Link Copied to Clipboard