Like, i wanna make a !quotes command. the command would be used like "!quotes NICKNAME" and it'd read a file and chose a random quote from NICKNAME. I have no clue how to go about doing this.
You need to check an ini file with $ini for a number with quotes that are under the section $nick and then add a random a number from 1 to max of those, using $rand. Then you gotta use $ini again to get the value from said randomed number and use that to message whatever it is you wish to message, I assume channel.
The help files will come in handy now that you know what you're looking for.
Thanks. that should point me in the right direction.