All pastes #341966 Raw Edit

Something

public text v1 · immutable
·published 2007-02-06 00:20 UTC
rendered paste body
$readini(filename, [np], section, item)

Returns a single line of text from an ini file

 

This identifier works in conjunction with the /writeini command.

 

//echo $readini(mirc.ini, mIRC, nick)

 

Reads your nickname from the mirc.ini file.

 

If the n switch is specified then the line read in will not be evaluated and will be treated as plain text.

 

If the p switch is specified, command | separators are treated as such instead of as plain text.