pisg documentation: How to install and configure pisg | ||
---|---|---|
Prev | Chapter 2. Setting up pisg for the first time | Next |
User options are set with a simple XML-like syntax in the form:
<user nick="NICK" option="VALUE">Remember, the nick is always required. For example to add aliases to a nick, then you could do this:
<user nick="Joe" alias="Joe^*">The asterix (*) means that it will match all nicks starting with 'Joe^'. So it will add all Joe^'s to 'Joe' in the stats. Another thing you can do is to add a picture to a user:
<user nick="Ben" pic="ben_holiday.jpg">If you have a larger picture of the user as well, you can make the picture on the stats page link to it:
<user nick="Ben" pic="ben_holiday.jpg" bigpic="ben-big.jpg">You can include * or ? to enable filename globbing to randomly choose one from several pictures: (see ImageGlobPath below)
<user nick="Ben" pic="ben_*.jpg">You can also set a user's sex:
<user nick="Ben" sex="m">Also you can add links to URLs and e-mails:
<user nick="Christine" link="http://www.christine.com">or
<user nick="Chris" link="chris@host.com">The last thing you can do is to ignore nicks (for example bots):
<user nick="nameofbot" ignore="y">You don't have to do all this in many lines, you could just as easily do:
<user nick="Joe" alias="Joe^away Joe^work" pic="joe.jpg" link="joe@joe.com" sex="m">(Here the aliases are a space separated list of nicks, that also works! But * as a wildcard is smarter, although it is slower).