From WikiChip
Difference between revisions of "mirc/commands/tip"
< mirc‎ | commands

(Created page with "The '''/tip command''' can be used to change the text of an active balloon tip or close it instantly. == Synopsis == /tip -c <name/N> /tip -t <name/N> [text] == Switches =...")
(No difference)

Revision as of 05:12, 6 December 2013

The /tip command can be used to change the text of an active balloon tip or close it instantly.

Synopsis

/tip -c <name/N>
/tip -t <name/N> [text]

Switches

  • -c - Close the balloon tip
  • -t - change the tip's text

Parameters

  • <name/N> - The name or the Nth active balloon tip.
  • [text] - The new text for the tip.

Example

; /tip_countdown <seconds>
;
alias tip_countdown {
  ; create balloon tip
  noop $tip(counter, Count Down, x, $$1) 
  update_counter
}
alias update_counter {
  if ($tip(counter)) {
    var %seconds = $tip(counter).delay
    ; update the text
    tip -t counter %seconds $+(second, $iif(%seconds > 1, s),!)
    .timer -m 1 500 update_counter
  }
}

Compatibility

Added:

Added On:

Note: Individual switches were not taken into consideration.

See also