mIRC Home    About    Download    Register    News    Help

Print Thread
#198435 28/04/08 05:21 PM
Joined: Apr 2008
Posts: 2
J
Bowl of petunias
OP Offline
Bowl of petunias
J
Joined: Apr 2008
Posts: 2
Hi All

I selected perform and typed:

join #photoshop
clear #photoshop

I closed mirc and restarted it.
It failed to clear the buffer.

johnny

JohnnyBad #198437 28/04/08 05:34 PM
Joined: Jun 2007
Posts: 933
5
Hoopy frood
Offline
Hoopy frood
5
Joined: Jun 2007
Posts: 933
You should put the clear command on a timer delay.

But looking at what you're trying to do, don't you just want:
Tools -> Options -> IRC -> Logging -> Reload Logs : None ?

JohnnyBad #198438 28/04/08 05:37 PM
Joined: Dec 2002
Posts: 2,031
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,031

Maybe it's clearing the window before you actually join the channel, try putting it on a timer.

Add these to perform

Code:

join #photoshop
.timerClear.#photoshop 0 1 if ($me ison #photoshop) $chr(123) clear #photoshop $chr(124) .timerClear.#photoshop off $chr(125)



~ Edit ~
5618: I thought about disabling that option too but figured they may want to reload all other channels except #photoshop.


RoCk #198440 28/04/08 06:11 PM
Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
Putting it on a timer isn't a very good idea, too fast and it wont work, too slow and it might clear someone talking when the user joins.

As mentioned, though, the reason join | clear doesnt work is because /join doesnt happen instantaneously. You should wait until ON JOIN to clear... here's a simple one:

Code:
on ^*:JOIN:#photoshop:if ($nick == $me) clear #


Put that in your remotes and you can remove /clear from perform.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"

Link Copied to Clipboard