beep

Beep beep!
Usage
beep [-p=<pitch>] [-d=<duration>] [-s] [;volume]
Description
Beeps (when possible :D)
...
No , really..
This command rings the bell on the keyboard (the PC speaker). The volume must be in range 0-100; the default is 100.
The pitch is specified in Hz and must be positive.
The duration is specified in milliseconds.
An invalid (or unspecified) pitch, volume or duration makes KVIrc to use the default values set by the system.
The duration of the bell is only indicative and can be shortened by a subsequent call to /beep (that will override the currently playing one).
On Windows, the bell is always synchronous and it is not event granted that the bell will be a bell at all... you might get the system default sound instead.. so be careful if you want to write portable scripts :)
If the -s switch is specified the bell becomes synchronous: KVIrc waits the bell to complete before continuing.
Obviously -s is senseless on Windows.
(WARNING : the main KVIrc thread is stopped in that case so if you play long notes (duration > 100) the entire application will appear to freeze for a while).
The precision of the bell pitch, duration and volume is strongly dependant on the system and the underlying hardware.
Switches
-p=<pitch:uint> | --pitch=<pitch:uint>
Sets the bell to the specified pitch, if possible
-d=<duration:uint> | --duration=<duration:uint>
Sets the duration of the beep to <duration> milliseconds
-s | --synchronous
Causes KVIrc to wait for completion of the beeping before returning from this command
Syntax Specification
beep [-p=<pitch:uint>] [-d=<duration:uint>] [-s] [volume:uint]

Index, Commands
KVIrc 3.9.99 Documentation
Generated by root at Wed Oct 17 19:34:06 2007