mIRC Homepage
Posted By: junkinternetmail Help with /clear command... - 18/03/09 08:41 PM
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.
Posted By: RusselB Re: Help with /clear command... - 18/03/09 08:55 PM
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

Posted By: junkinternetmail Re: Help with /clear command... - 19/03/09 01:46 PM
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.
Posted By: sparta Re: Help with /clear command... - 19/03/09 02:19 PM
just press ALT + R while mirc is the active program, that bring up the remote section.
Posted By: MTec007 Re: Help with /clear command... - 19/03/09 08:04 PM
Originally Posted By: junkinternetmail
I suppose this thread can be closed.


Threads on this forum are not 'closed' they are just left alone
© mIRC Discussion Forums