Project

General

Profile

Fseek » History » Revision 7

Revision 6 (Per Amundsen, 12/09/2019 12:56 AM) → Revision 7/11 (Per Amundsen, 12/14/2019 09:40 AM)

_Added in 1.8.10_ 

 */fseek [-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 - Set position to start of the previous line. *(AdiIRC only)* (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.