$fullscreen
From Scriptwiki
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.