mIRC Home    About    Download    Register    News    Help

Print Thread
hide @links window #99237 29/09/04 10:57 PM
Joined: Nov 2003
Posts: 67
C
Canario Offline OP
Babel fish
OP Offline
Babel fish
C
Joined: Nov 2003
Posts: 67
How I can hide @links window before its being displayed, when I execute /links command.


irc.universochat.net
#escripting
Re: hide @links window #99238 29/09/04 11:08 PM
Joined: Nov 2003
Posts: 2,327
T
tidy_trax Offline
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
Code:
raw 364:*:{ 
  ;here you can do things with the raw output:
  ;$1 is your nick.
  ;$2 is the server name.
  ;$3 is the network name.
  ;$4 is the number of hops to that server (I think, not too sure about this)
  ;$5 is the location of the server.
  ;the following stops the window from opening
  halt
}


New username: hixxy
Re: hide @links window #99239 29/09/04 11:37 PM
Joined: Nov 2003
Posts: 67
C
Canario Offline OP
Babel fish
OP Offline
Babel fish
C
Joined: Nov 2003
Posts: 67
Me too had thought the same, but halting raw 364 only halt the links info, this does not avoid that window was opened.

RAW 364:*:{ halt } shows the @links window empty. I want that the window doesn´t be visible.

Thanks for your help tidy_trax!





irc.universochat.net
#escripting
Re: hide @links window #99240 29/09/04 11:43 PM
Joined: Feb 2004
Posts: 714
Z
Zyzzyx26 Offline
Hoopy frood
Offline
Hoopy frood
Z
Joined: Feb 2004
Posts: 714
Does raw 364:*: { window -c @Links | halt } do anything? The net I frequent has blocked /links so I'm not sure who to work with it.


"All we are saying is give peace a chance" -- John Lennon
Re: hide @links window #99241 30/09/04 12:01 AM
Joined: Nov 2003
Posts: 2,327
T
tidy_trax Offline
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
Ah, I automatically assumed it would behave the same as the channel list window.

Use what Zyzzyx26 said, but change -c to -h smile


New username: hixxy
Re: hide @links window #99242 30/09/04 07:51 AM
Joined: Nov 2003
Posts: 228
S
Seifer Offline
Fjord artisan
Offline
Fjord artisan
S
Joined: Nov 2003
Posts: 228
Code:
raw 364:*: {
  haltdef
  .timer 1 0 window -h "Links List"
}


For some reason I couldn't get it to work without the timer, but this should get you started.