$fullscreen: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m oops wrong identifier |
||
Line 4: | Line 4: | ||
==Example== | ==Example== | ||
[[on open|on *:OPEN:?:*:{]] | [[on open|on *:OPEN:?:*:{]] | ||
[[if]] ($ | [[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. | 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. |
Revision as of 18:51, 8 April 2008
Returns $true if an application is currently running fullscreen.
$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.