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

m (Bot: Fixing links)
m (Bot: Automated text replacement (-<small>Note: Individual switches were not taken into consideration.</small> +))
Line 35: Line 35:
 
Added On:  
 
Added On:  
  
<small>Note: Individual switches were not taken into consideration.</small>
+
 
  
 
== See also ==
 
== See also ==

Revision as of 22:29, 5 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:


See also

[Expand]
v · d · e mIRC commands list