| << | < | > | >> |
|
Q: How to use oer and oer+MySQL's ext feature? (#45) Inserted/last edited by EQU <equ@equnet.org> on 2003-06-17 00:44:44 |
|---|
|
A: Ext is a command that allows you to use external data sources and display that data on the channel or send it to the user. The way it works is that you specify at least 1 parameter (upto 5) and the message part of all matching lines from oer.ext (oer_ext database table if you are running oer+MySQL) will be displayed on the channel or sent to the user. Because it is a external data source feature, oer.ext or oer_ext will have to be filled outside the context of oer or oer+MySQL. The format of oer.ext is: 5 parameters (first one is obligatory) and a message part (the sixth parameter). You could use the provided oer.ext in the sample-configuration directory as a starting point. The format of the oer_ext database table should be self-explanatory. Possible usages of the ext command could include a TV script, weather information, etc. |