mIRC Home    About    Download    Register    News    Help

Topic Options
#18921 - 12/04/03 06:40 AM Command to turn on/off join/parts??
Maveric Offline
Pikka bird

Registered: 16/03/03
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?

Top
#18922 - 12/04/03 08:01 AM Re: Command to turn on/off join/parts??
Nimue Offline
Hoopy frood

Registered: 08/12/02
Posts: 699
Loc: Sunshine, Oz.
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.

Top
#18923 - 12/04/03 09:25 PM Re: Command to turn on/off join/parts??
c0ldfusi0n Offline
Fjord artisan

Registered: 17/03/03
Posts: 272
Loc: Montreal, Canada
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.

Top
#18924 - 12/04/03 09:36 PM Re: Command to turn on/off join/parts??
_D3m0n_ Offline
Hoopy frood

Registered: 11/12/02
Posts: 1527
Loc: Florida,USA
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

Top
#18925 - 12/04/03 10:43 PM Re: Command to turn on/off join/parts??
Jesper Offline
Babel fish

Registered: 31/01/03
Posts: 96
Loc: Denmark
Just a quick note here:

Use either { return } or { haltdef } not { halt } smile
_________________________
Enigma Rising Tide Forums

Top
#18926 - 12/04/03 11:35 PM Re: Command to turn on/off join/parts??
MonoSex Offline
Fjord artisan

Registered: 09/12/02
Posts: 395
Loc: Ireland
Why? halt and haltdef are the same thing in this case.

Top
#18927 - 12/04/03 11:45 PM Re: Command to turn on/off join/parts??
Maveric Offline
Pikka bird

Registered: 16/03/03
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!

Top