mIRC Homepage
Posted By: tjr_neil ignoring - 26/06/04 10:12 PM
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
Posted By: Coolkill Re: ignoring - 26/06/04 10:41 PM
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.
Posted By: MonoSex Re: ignoring - 26/06/04 11:11 PM
/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.
Posted By: tjr_neil Re: ignoring - 27/06/04 01:58 PM
missed that smirk
Posted By: Sais Re: ignoring - 27/06/04 07:07 PM
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)
Posted By: tjr_neil Re: ignoring - 29/06/04 04:38 PM
thats a bit of a long way to do it smirk

had already made one neway ty
© mIRC Discussion Forums