From WikiChip
Difference between revisions of "mirc/identifiers/$dqwindow"
< mirc‎ | identifiers

m
 
Line 3: Line 3:
 
The value can be checked using the & bit comparison operator:
 
The value can be checked using the & bit comparison operator:
  
* $iif($dqwindow & 1,enabled,not enabled)
+
* $iif($dqwindow & 1,enabled,not enabled) - the single message window is enabled/disabled
* $iif($dqwindow & 2,open,not open)
+
* $iif($dqwindow & 2,open,not open) - the single message window is open/not open
* $iif($dqwindow & 4,opening,not opening)
+
* $iif($dqwindow & 4,opening,not opening) - the single message window is going to be opened (or not going to be opened) because of the message received, apply to IRC events only
* $iif($dqwindow & 8,writing,not writing)
+
* $iif($dqwindow & 8,writing,not writing) - the single message window is going/not going to be written to because of the message received, apply to IRC events only
* $iif($dqwindow & 16,written,not written)
+
* $iif($dqwindow & 16,written,not written) - the message received was written/not written to the single message window, apply to IRC events only.
  
  

Latest revision as of 14:29, 21 September 2017

$dqwindow returns the state of the single message window. When used in on TEXT/ACTION events, it also returns opening/writing/written states.

The value can be checked using the & bit comparison operator:

  • $iif($dqwindow & 1,enabled,not enabled) - the single message window is enabled/disabled
  • $iif($dqwindow & 2,open,not open) - the single message window is open/not open
  • $iif($dqwindow & 4,opening,not opening) - the single message window is going to be opened (or not going to be opened) because of the message received, apply to IRC events only
  • $iif($dqwindow & 8,writing,not writing) - the single message window is going/not going to be written to because of the message received, apply to IRC events only
  • $iif($dqwindow & 16,written,not written) - the message received was written/not written to the single message window, apply to IRC events only.


Synopsis[edit]

$dqwindow

Paramters[edit]

None

Properties[edit]

None

Example[edit]

None

Compatibility[edit]

Added: mIRC v7.48
Added on: 15 Apr 2017
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See Also[edit]

/dqwindow