mIRC Home    About    Download    Register    News    Help

Print Thread
#210521 18/03/09 08:41 PM
Joined: Aug 2006
Posts: 2
J
Bowl of petunias
OP Offline
Bowl of petunias
J
Joined: Aug 2006
Posts: 2
Is there a way to create a keyboard shortcut or mouse shortcut without another program or macro program installed to perform the /clear command?

Also, how would can I perform this command upon joining a channel?

Any help is greatly appreciated.

Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
1) You can create an alias that is attached to a F(unction) key, either with or without the Shift and/or Ctrl keys.
eg:
Code:
alias F3 { clear $active }

With this code, pressing the F3 key will clear the buffer of the active window.

2) Here are two codes for your second request. The first one works as a stand alone script, the second incorporates the code I provided for your first request.
Code:
on me:*:join:#: clear $chan

Code:
on me:*:join:#: F3


Joined: Aug 2006
Posts: 2
J
Bowl of petunias
OP Offline
Bowl of petunias
J
Joined: Aug 2006
Posts: 2
Ty for the quick reply...

My final question is where I would put these commands.

I'm relatively new to using the technical end of mIRC.

I know about the scripts editor...unsure about where aliases go...

((EDIT))

In tools -> scripts editor I was able to find my way.
Thanks so much...I suppose this thread can be closed.

Last edited by junkinternetmail; 19/03/09 01:47 PM.
Joined: Feb 2003
Posts: 3,432
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
just press ALT + R while mirc is the active program, that bring up the remote section.


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Joined: Feb 2007
Posts: 234
M
Fjord artisan
Offline
Fjord artisan
M
Joined: Feb 2007
Posts: 234
Originally Posted By: junkinternetmail
I suppose this thread can be closed.


Threads on this forum are not 'closed' they are just left alone


Link Copied to Clipboard