isdisplaying
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | isdisplaying [2006/08/29 20:18] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | # $EPIC: isdisplaying.txt, | ||
+ | ======Synopsis: | ||
+ | $__isdisplaying__() | ||
+ | |||
+ | ======Technical: | ||
+ | * This function returns 0 if output is being " | ||
+ | * This function returns 1 if output is not being " | ||
+ | * Output is NEVER " | ||
+ | * The /[[ECHO]] command turns off the suppressed value unless you specify the /ECHO -SAY option | ||
+ | * The / | ||
+ | * Output is " | ||
+ | * During the /[[load]] command | ||
+ | * Whenever a command or alias is executed and is prefixed with the caret modifier (ie, ^msg) | ||
+ | * Whenever a /[[ON]] hook of type " | ||
+ | * All commands executed in such an /ON are treated as if they had been prefixed with a caret! | ||
+ | * Whenever all /[[EXEC command|exec]] processes are being killed for administrative reasons (at shutdown, or when a SIGUSR1 is received) | ||
+ | * Whenever the /[[HELP]] window is being destroyed. | ||
+ | * The /[[on]] send_* hooks (/[[on]] [[on send_msg|send_msg]], | ||
+ | |||
+ | ======Practical: | ||
+ | This function tells you whether or not the /ECHO -SAY command will actually | ||
+ | output the string or not. Maybe you'd rather log something when output | ||
+ | is suppressed rather than displaying it. | ||
+ | |||
+ | ======Returns: | ||
+ | The return value is either 0 or 1, depending on whether output is | ||
+ | currently being suppressed. | ||
+ | |||
isdisplaying.txt · Last modified: 2006/08/29 20:18 by 127.0.0.1