mIRC Home    About    Download    Register    News    Help

Print Thread
#88299 26/06/04 10:12 PM
Joined: Mar 2004
Posts: 7
T
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
T
Joined: Mar 2004
Posts: 7
don't know if this is a bug or not

when you ignore someone while in a pm with them, until you close the query window they can still talk to you:

<neiltest> boo
<neiltest> right let me ignore you laugh
-
* Added Luth!*@* to ignore list
-
<Luth> sure
<Luth> just say when
<Luth> boom

like i said, not sure if this is bug. if it isn't it should be as its a bit stupid :tongue:

]TJR[Neil

#88300 26/06/04 10:41 PM
Joined: Dec 2002
Posts: 788
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 788
mIRC is more than likely suppose to work like this because:

a) it would be "wasteful" (process wise) to check everytime someone msg'd you something to see if they were ignored, instead this is done "On Open".

b) this also allows for you to IGNORE the person, and "open a query", and they may talk with you while the query is open without you having to unignore them (neat way to talk to people when YOU want to, not when they want to).

Eamonn.

#88301 26/06/04 11:11 PM
Joined: Dec 2002
Posts: 395
M
Fjord artisan
Offline
Fjord artisan
M
Joined: Dec 2002
Posts: 395
/help /ignore

Note: If you have a /query window open with someone, private messages from them won't be ignored even if their address matches an ignore address.

#88302 27/06/04 01:58 PM
Joined: Mar 2004
Posts: 7
T
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
T
Joined: Mar 2004
Posts: 7
missed that smirk

#88303 27/06/04 07:07 PM
Joined: Oct 2003
Posts: 313
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Oct 2003
Posts: 313
As a work-around, you could implement an 'ignore-and-close-queries' alias...maybe something like:

Code:
alias cqignore {
  !ignore $1-

  ;; get the important information
  if ($left($1,1) == -) {
    ;; There are options present...
    var %options = $1
    var %address = $2
    var %type = $3
  }
  else {
    ;; no options, so the first param is the nick or address
    var %address = $1
    var %type = $2
  }

  ;; if we're not ignoring privmsgs, then we don't need to 
  ;; test the queries
  if (%options &amp;&amp; p !isin %options) { return }

  ;; if type is present, re-evaluate the address to a mask
  if (%type) { 
    %address = $address(%address, %type) 
    ;; If we couldn't evaluate the address, bail out
    if (!%address) { return }
  }

  ;; search the queries for address matches
  var %i = 1
  while ($query(%i).address) {
    ;; If the address matches, close the query
    if (%address iswm $+($ifmatch,!,$ifmatch)) { 
      close -m $query(%i) 
    }
    inc %i
  }
}


Then just type
Code:
/cqignore [options] &lt;nick|address&gt; [type] [network]


i.e. the syntax is the same as for /ignore - it calls ignore, and then tests to see if you have queries open that match the address you are ignoring. (I'm sure there are probably some mistakes - I only did minimal testing)


Sais
#88304 29/06/04 04:38 PM
Joined: Mar 2004
Posts: 7
T
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
T
Joined: Mar 2004
Posts: 7
thats a bit of a long way to do it smirk

had already made one neway ty


Link Copied to Clipboard