mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: May 2005
Posts: 12
L
Lys Offline OP
Pikka bird
OP Offline
Pikka bird
L
Joined: May 2005
Posts: 12
I'd like to change the keyboard shortcut of ctrl-f4 to ctrl-w. It is much easier for me to type.

The second is about tab completion, can I add some punctuation after it? Such as,
Code:
Nick; text text

Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
for #2 you can try
Code:
on *:START:{ .timer -om 0 250 tabcompletion.adder }
alias tabcompletion.adder {
  if ($chan($active) == $active) {
    var %punctuation = ;
    var %e = $editbox($active,0) | if ((%e) && ($numtok(%e,32) > 1) && ($gettok(%e,1,32) ison $active)) { editbox -a  $+($v1,%punctuation $gettok(%e,2-,32)) }
    var %e = $editbox($active,1) | if ((%e) && ($numtok(%e,32) > 1) && ($gettok(%e,1,32) ison $active)) { editbox -ao $+($v1,%punctuation $gettok(%e,2-,32)) }
  }
}


its inperfect, but its ok.
Note after installing it you need to restart for it to take effect, OR type in the following command
/.timer -om 0 250 tabcompletion.adder

PS: it actually adds a ; to any first word that matches a nick in channel when u type the second (or more) word
so it would look like this (| represents the cursor)
D|
Da|
Dav|
Dave|
DaveC|
DaveC |
DaveC; H|
DaveC; Hi|

Joined: May 2005
Posts: 12
L
Lys Offline OP
Pikka bird
OP Offline
Pikka bird
L
Joined: May 2005
Posts: 12
Hm, the problem is that I already have a script so I log onto multiple networks when I start mIRC.

This is what it looks like:
Code:
on *:start: server Sterling.VA.US.UnderNet.org | server -m irc.mzima.net | server -m irc.opera.com


How do I add the code mentioned before onto this?


Link Copied to Clipboard