mIRC Home    About    Download    Register    News    Help

Print Thread
#264534 12/12/18 09:02 PM
Joined: Dec 2018
Posts: 2
F
fue Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
F
Joined: Dec 2018
Posts: 2
Hi!

I'm looking for a Nick Completer. Have googled around but they are not uptodate.

If i write ex: nick: <text> it will be Nick » <text>

fue #264538 12/12/18 11:12 PM
Joined: Jan 2004
Posts: 2,127
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2004
Posts: 2,127
Just to be clear, what you're wanting is that if the first word of what you type is someone's nick followed by a colon, you want the colon removed, and a chevron symbol added between the nick and the text message?

If you type in a different upper/lower case than the actual nick, does that need to be corrected, or should that cause this substitution to be ignored?

Or am I completely mis-understanding what you want?

maroon #264581 16/12/18 03:19 PM
Joined: Dec 2018
Posts: 2
F
fue Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
F
Joined: Dec 2018
Posts: 2
If a user named Adam in the channel.

If i write for example. Adam: Hi! mirc will write out Adam: Hi. i would like the nick completer to be like Adam » Hi.

Hope i made it more clear smile

fue #264585 16/12/18 10:59 PM
Joined: Feb 2003
Posts: 2,812
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,812
Play with the On TABCOMP event, if you don't want to get sucked down a rabbit hole of rewriting mIRC's On INPUT behaviors.

You can examine the $editbox($active) and detect if the right-most character 'if ($right($editbox($active),1) == :)' equals a colon. Replace it with a goofy unicode chevron and /halt or /haltdef. Otherwise /return to take no special replacive action.

Last edited by Raccoon; 16/12/18 11:02 PM. Reason: i'm a maroon

Well. At least I won lunch.
Good philosophy, see good in bad, I like!

Link Copied to Clipboard