mIRC Home    About    Download    Register    News    Help

Topic Options
#264534 - 12/12/18 09:02 PM Nick Completer
fue Offline
Bowl of petunias

Registered: 12/12/18
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>

Top
#264538 - 12/12/18 11:12 PM Re: Nick Completer [Re: fue]
maroon Offline
Hoopy frood

Registered: 12/01/04
Posts: 1158
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?

Top
#264581 - 16/12/18 03:19 PM Re: Nick Completer [Re: maroon]
fue Offline
Bowl of petunias

Registered: 12/12/18
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

Top
#264585 - 16/12/18 10:59 PM Re: Nick Completer [Re: fue]
Raccoon Offline
Hoopy frood

Registered: 18/02/03
Posts: 2600
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.


Edited by Raccoon (16/12/18 11:02 PM)
Edit Reason: i'm a maroon
_________________________
Well. At least I won lunch.
Good philosophy, see good in bad, I like!

Top