Liam's BitchX Command Reference
BitchX scripting function $open()
- open
- Function
- $open()
- Notes
- Usage
- $open(filename mode)
- Returns
- File handle (a number) for the opened file,
if successful.
Nothing if unsuccessful.
The mode argument can be R (or r), for a read-only file,
or W (or w) to be able to write the file. Put a B (or b)
after the mode for binary I/O.
- Example
- $open($ctoolz_dir/BitchX.quits R) returns a number (should, if it
exists.