mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Mar 2003
Posts: 18
M
Maveric Offline OP
Pikka bird
OP Offline
Pikka bird
M
Joined: Mar 2003
Posts: 18
Looked around and I can't see a command that can turn off join/parts in a channel window. Any idea how to do it if it can be done?

Joined: Dec 2002
Posts: 699
N
Fjord artisan
Offline
Fjord artisan
N
Joined: Dec 2002
Posts: 699
Well, there's no /command to do that, but you can alter where|if they are shown.

To change the display globally, Options - IRC - click the "events.." button and you can edit where they are shown or hide them.

For a specific channel, right-click on the channels icon on the switchbar and choose "Events..." to do the same for only that channel.

Joined: Mar 2003
Posts: 272
C
Fjord artisan
Offline
Fjord artisan
C
Joined: Mar 2003
Posts: 272
In the remotes:
Code:
alias jp {
  if (%jp) { .echo -a * Join/Parts will now be shown in channels | unset %jp }
  else { echo -a * Join/Parts will no longer be shown in channels | set %jp 1 }
}
On ^*:JOIN:#:{
  if (%jp) { halt }
  else { echo 3 $chan *** $nick has joined $chan | halt }
}
On ^*:PART:#:{
  if (%jp) { halt }
  else { echo 3 $chan *** $nick has left $chan | halt }
} 


Syntax: /jp to turn on, and /jp to turn off.


- cF
Dedicated helper for rent.
Joined: Dec 2002
Posts: 1,527
_
Hoopy frood
Offline
Hoopy frood
_
Joined: Dec 2002
Posts: 1,527
why u would code something that can be done already inside of mirc options is beyond me ....... ur not only making useless code but ur also not even taking acount for quits ..... why block half of the suggestion without showing how to block it all ........ id have to assume u havent found the OPTIONS menu in ur mirc or went thru it ...... try pressin CONTROL + o then clicking on the IRC tree list and then clicking the events button in the menu that it opens ,,,,,,,, in there u can hide all joins parts quits nickchanges ...... heck alot of things ..... without having to worry about writting a special script


D3m0nnet.com
Joined: Jan 2003
Posts: 96
J
Babel fish
Offline
Babel fish
J
Joined: Jan 2003
Posts: 96
Just a quick note here:

Use either { return } or { haltdef } not { halt } smile

Joined: Dec 2002
Posts: 395
M
Fjord artisan
Offline
Fjord artisan
M
Joined: Dec 2002
Posts: 395
Why? halt and haltdef are the same thing in this case.

Joined: Mar 2003
Posts: 18
M
Maveric Offline OP
Pikka bird
OP Offline
Pikka bird
M
Joined: Mar 2003
Posts: 18
Well I know all about the mIRC options. But you can't change those options in a remote script which is what I was hoping to do. I wanted to turn join/parts off/on at certain occations in a remote script.

BTW thanks to all who helped!


Link Copied to Clipboard