mIRC Home    About    Download    Register    News    Help

Topic Options
#207248 - 10/12/08 08:46 PM New Query Window from Messages Window
Halo_Four Offline
Bowl of petunias

Registered: 10/12/08
Posts: 2
Due to a recent spate of flood attacks where a large number of bots with different nick names send single messages, which overwhelms mIRC to the point of being completely unusable, I have decided to change the options to use a single message window. This works well to guard against the attack, however it makes messaging a chore. If the user who is messaging me is also on a channel I can easily double-click their nick name in the channel list to open a query window specific for that user. However, if that is not the case I have not found a simple way to open this query window and it is fairly cumbersome to carry out private conversations within the Messages window.

My request is to provide a simple method to open a new query window for a user within the single Messages window.


Edited by Halo_Four (10/12/08 08:47 PM)

Top
#207249 - 10/12/08 09:33 PM Re: New Query Window from Messages Window [Re: Halo_Four]
argv0 Offline
Planetary brain

Registered: 13/10/03
Posts: 3918
Loc: Montreal, QC, Canada
Right click the username and click "Query"

Alternatively you can change Alt+O -> Mouse -> Message to perform the /query command instead of whois to start a query by double clicking (rather than using the above popup).

You can also just type /query NICKNAME
_________________________
- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"

Top
#207250 - 10/12/08 10:36 PM Re: New Query Window from Messages Window [Re: argv0]
Halo_Four Offline
Bowl of petunias

Registered: 10/12/08
Posts: 2
"Query" is not an option in the context menu when right-clicking on a nick name in the Messages window. It would be nice if it was.

Changing the mouse options to perform the /query command when double clicking on the nick name within the Messages window works great.

Top
#207252 - 11/12/08 01:14 AM Re: New Query Window from Messages Window [Re: Halo_Four]
RusselB Offline
Planetary brain

Registered: 03/08/04
Posts: 7252
Loc: Ontario, Canada
I'm not sure what name is assigned to the right click in the Messages window, but if someone else knows what it is, then you could add Query to the options.

In the mean time, this should also work, it simply will be available from all right click menus.

Code:
menu * {
  Query : .query $$1
}

Top
#207253 - 11/12/08 05:00 AM Re: New Query Window from Messages Window [Re: RusselB]
Horstl Offline
Hoopy frood

Registered: 03/11/06
Posts: 1559
Loc: Germany
It's menu query, where $$1 is the r-clicked nick or the nick of the last message (if r-clicked elsewhere).

Besides the mentioned option to change 'command to perform on nick-doubleclick:' for 'message:' at 'tools'-'options'-'mouse' to 'query $$1' the OP therefore could try adding this to remotes:
Code:
menu query {
  $iif($query($$1),close,open) query with $1 : $iif($query($1),close -m,query) $1
}

smile

Top
#207256 - 11/12/08 07:07 AM Re: New Query Window from Messages Window [Re: Horstl]
argv0 Offline
Planetary brain

Registered: 13/10/03
Posts: 3918
Loc: Montreal, QC, Canada
Of course you could always just add the Query popup to your popups (Alt+P -> Query) directly.

Query:/query $$1
_________________________
- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"

Top