mIRC Home    About    Download    Register    News    Help

Print Thread
#64504 19/12/03 07:59 AM
Joined: Apr 2003
Posts: 426
N
Fjord artisan
OP Offline
Fjord artisan
N
Joined: Apr 2003
Posts: 426
Just a though, would it be possible to make it so that whenever you press the tab key in the editbox, that no matter what you've received, be it dcc, notice, query, or ctcp, that the tab button fills out a /<command> <lastnick> like it does currently for privmsgs?

Ie, I receive a notice from a client, and all I have to do to reply, is press the tab key in the editbox, and it fills out: /notice nick

If you don't understand what I'm saying, I couldn't think of anyother way to say it.

#64505 20/12/03 12:56 AM
Joined: Feb 2003
Posts: 806
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Feb 2003
Posts: 806
Good one, I'd use this ability a lot if implemented.

#64506 20/12/03 05:51 AM
D
DaveC
DaveC
D
You could script it in, not on TAb but onto a function key

#64507 20/12/03 06:28 AM
Joined: Apr 2003
Posts: 426
N
Fjord artisan
OP Offline
Fjord artisan
N
Joined: Apr 2003
Posts: 426
Yes. And you could also script the majority of suggestions on these forums, but how practical is that?

smile

I like being able to press tab to instantly reply to my last privmsg, so why not extend the ability to CTCP/DCC/Notice? smile

#64508 20/12/03 07:26 AM
D
DaveC
DaveC
D
becuase then it wouldnt work for just /msg like it currently does.
At the best i could see it added with options to turn off or on the extra ones.
Alot of stuff comes through to fileservers (and other bot like things) under ctcp & dcc and im sure if using one i would preffer to not have TAb reacting to each one.

As to how practical it is, 4 lines for a simple version.

ctcp *:*:?:set %f7-value //ctcp $nick
on *:notice:*:?:set %f7-value //notice $nick
on *:text:*:?:set %f7-value //msg $nick
alias f7 { if (%f7-value != $null) { if ($editox($active) == $null) editbox -afp %f7-value } }

ok thats by hand and hasnt been checked, it also doesnt cover dcc (correctly) and doesnt have the repeatting tab roll back, and doesnt roll back to a blankline, but none of that would be overly hard to add in just a few lines more.

ps // becuase i like being able to add identifiers to lines.



Link Copied to Clipboard