|Line 32:||Line 32:|
Revision as of 13:48, 6 July 2014
The /bwrite command can be used to write a specified amount of bytes from the string/buffer to a given file starting at the start_pos position.
/bwrite <filename> <start_pos> [length] <text|%var|&binvar> /bwrite -t <filename> <start_pos> [length] <text|%var>
- -t - Treats everything as plain text (i.e. binary variables are not evaluated)
- <filename> - the file name to be modified
- <start_pos> - the position in the file to start writing at
- [length] - Length of the data to be written
- <text|%var|&binvar> - data to be written to the file
;Write some text to a file at beginning of the file /bwrite file.txt 0 hello there! ;Replace "there!" with "world!" /bwrite file.txt 6 world!
Added: mIRC v5.3
Added on: 13 Dec 1997
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.