Command : Ascii


Syntax


ASCII [ [-stop] | [filename [window [timeout]]] ]

Description


This command 'plays' a text file to a window.
When playing o channel ,query or chat windows , the text is sent to the appropriate target , in other windows , the text is simply echoed.
The identifiers are never parsed.
When -stop is specified , all the currently playing files are stopped.
When filename param is specified , the filename is treated as an absolupte path , only if it contains a '/' , otherwise KVirc looks for the file in the $HOME/kvirc/Ascii and $HOME/kvirc/Scripts/Ascii directories.
When the window parameter is specified , it is treated as the target of the ASCII command, otherwise the current window is used.
The timeout param specifies the delay between playing lines (in milliseconds.).
The default delay is 1 sec.

Example


/ASCII beer.txt $_chan 2500

See also



Index  Command list  Commandline syntax