supergeo commented on a Page, Popup System v1.0  -  Aug 07, 2005

$readini(,,)

For example:

$readini(users.ini,admins,$1)

This could be used in the following to determine the user\'s administration status:

set %status.nick1 $readini(users.ini,admins,$1)
if (%status.nick1 == $null) { set %status.nick1 0 }

That would find the level of the user, and if the user isn\'t in there, it would set their level as 0.

Each section, such as admins, is shown like this in the file:

[admins]

So, it will look under admins, for the third thing in the ()\'s you specified. In the case above, for $1. If $1 is DeathRyder082, it will go to the following line if it exists.

DeathRyder082 = 10

It will then read what\'s after the = sign. So in this case, it would return 10.

You can find more in the mIRC help file. Hope this helps a little :)

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.