Project

General

Profile

Fseek » History » Revision 6

Revision 5 (Per Amundsen, 12/08/2019 11:02 AM) → Revision 6/11 (Per Amundsen, 12/09/2019 12:56 AM)

_Added in 1.8.10_ 

 */fseek [-lnrwP] [-lnrw] <handle> <position | line number | wildcard | regex>* 

 Sets the read/write pointer to the specified position in the file. 

 -l - Set position to line 'line number'. 
 -n - Set position to start of the next line. 
 -r - Set position to text matching '[[Scripting_Regex|regex]]'. 
 -w - Set position to text matching '[[Scripting_Wildcards|wildcard]]'. 
 -P - Set position to start of the previous line. (AdiIRC only) 

 *Parameters* 

 <handle> - The file handle to seek. 
 <position | line number | [[Scripting_Wildcards|wildcard]] | [[Scripting_Regex|regex]]> - The position/Line number with -l/[[Scripting_Wildcards|Wildcard]] with -w/[[Scripting_Regex|regex]] with -w to set.