Project

General

Profile

Fseek » History » Revision 8

Revision 7 (Per Amundsen, 12/14/2019 09:40 AM) → Revision 8/11 (Per Amundsen, 12/23/2019 01:10 AM)

_Added in 1.8.10_ 

 */fseek [-lnrwp] [-lnrwP] <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 -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.