$show

From Scriptwiki
Revision as of 12:26, 12 April 2008 by Daveoh (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Returns $false if a command is prefixed with a period (.) to make it quiet, otherwise returns $true.

$show
  • This function has no parameters.

Example

alias deopme {
  if ($me isop $active) { mode $v2 -o $v1 }
  if ($show) { echo -ag You have been deoped. }
}

In the above example if you call .deopme it will not echo out locally you have been deopped, where it would if you just call deopme.