mIRC Home    About    Download    Register    News    Help

Print Thread
Command to turn on/off join/parts?? #18921 12/04/03 05:40 AM
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?

Re: Command to turn on/off join/parts?? #18922 12/04/03 07:01 AM
Joined: Dec 2002
Posts: 699
N
Nimue Offline
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.

Re: Command to turn on/off join/parts?? #18923 12/04/03 08:25 PM
Joined: Mar 2003
Posts: 272
C
c0ldfusi0n Offline
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.
Re: Command to turn on/off join/parts?? #18924 12/04/03 08:36 PM
Joined: Dec 2002
Posts: 1,527
_
_D3m0n_ Offline
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
Re: Command to turn on/off join/parts?? #18925 12/04/03 09:43 PM
Joined: Jan 2003
Posts: 96
J
Jesper Offline
Babel fish
Offline
Babel fish
J
Joined: Jan 2003
Posts: 96
Just a quick note here:

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

Re: Command to turn on/off join/parts?? #18926 12/04/03 10:35 PM
Joined: Dec 2002
Posts: 395
M
MonoSex Offline
Fjord artisan
Offline
Fjord artisan
M
Joined: Dec 2002
Posts: 395
Why? halt and haltdef are the same thing in this case.

Re: Command to turn on/off join/parts?? #18927 12/04/03 10:45 PM
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!