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 =...")
 
m (Bot: Adding a template)
Line 42: Line 42:
 
* [[$tip identifier - mIRC|$tip]]
 
* [[$tip identifier - mIRC|$tip]]
 
* [[/tips command - mIRC|/tips]]
 
* [[/tips command - mIRC|/tips]]
 +
{{mIRC command list}}
  
[[Category:mIRC commands]]
+
[[Category:MIRC commands]]

Revision as of 22:06, 3 July 2014

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

[Expand]
v · d · e mIRC commands list