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

m (Bot: Fixing links)
m (Bot: Fixing links)
Line 40: Line 40:
 
* [[List of commands - mIRC|List of commands]]
 
* [[List of commands - mIRC|List of commands]]
 
* [[List of identifiers - mIRC|List of identifiers]]
 
* [[List of identifiers - mIRC|List of identifiers]]
* [[$tip identifier - mIRC|$tip]]
+
* {{mIRC|$tip}}
 
* {{mIRC|/tips}}
 
* {{mIRC|/tips}}
 
{{mIRC command list}}
 
{{mIRC command list}}
  
 
[[Category:MIRC commands]]
 
[[Category:MIRC commands]]

Revision as of 20:41, 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:

Note: Individual switches were not taken into consideration.

See also

[Expand]
v · d · e mIRC commands list