$fullscreen: Difference between revisions

From Scriptwiki
Jump to navigation Jump to search
m oops wrong identifier
Aca20031 (talk | contribs)
m Changed category to Window Identifiers
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
Returns [[$true]] if an application is currently running fullscreen.
Returns [[$true]] if an application is currently running in fullscreen mode.
  $fullscreen
  $fullscreen
* This function has no parameters.
* This function has no parameters.
Line 9: Line 9:
==See Also==
==See Also==
* [[$appactive]]
* [[$appactive]]
[[Category:Identifiers]]
[[Category:Window Identifiers]]

Latest revision as of 16:09, 30 September 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