Difference between revisions of "$fullscreen"

From Scriptwiki
Jump to: navigation, search
m
m
Line 1: Line 1:
Returns [[$true]] if an application is currently running in fullscreen.
+
Returns [[$true]] if an application is currently running in fullscreen mode.
 
  $fullscreen
 
  $fullscreen
 
* This function has no parameters.
 
* This function has no parameters.

Revision as of 19:57, 8 April 2008

Returns $true if an application is currently running in fullscreen mode.

$fullscreen
  • This function has no parameters.

Example

on *:OPEN:?:*:{
  if ($fullscreen) { msg $nick I am currently playing a game, I'll get back to you shortly. }
}

The above script would notify a user when they opened a new query window with you and you have a full screen application/game running.

See Also