Last edited/inserted FAQ entries (all)
66. I made changes to my oer configuration but the changes aren't getting saved! Why not?
26. How much load (channels, users, nicks, etc) can oer handle?
34. oer or oer+MySQL seems to disconnect from the IRC server (sign off) more often than other bots or IRC clients, why?
<<  |  <  |  >  |  >>
Q: How do I add my own command to oer? (#48)
Inserted/last edited by EQU <equ@equnet.org> on 2002-09-10 18:37:01
A: First off you should look at oer's ext functionality to see if that will solve what you are trying to do (for example to simply output something on the channel). If ext won't solve your problem then I can only give you a starting pointer in how to modify oer's code. You are on your own.
  • Add your command to oer-common.h WHICHCOMMAND_RETURN_VALUES
  • Change ds.c whichcommand() to include your command
  • Change parse.c parsecommand() to include your command