From WikiChip
mirc/commands/tip
< mirc‎ | commands
Revision as of 05:12, 6 December 2013 by David (talk | contribs) (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 =...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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