Anope IRC Services
Anope Development => Modules => Topic started by: black-drag0n on May 28, 2006, 04:10:48 PM
-
hey hello....
how can i make that a service op hisself when i used a specified command like BotServ.
anope_cmd_mode();
i think this is the right command but i don't know to use it xD
thanX for ya help
[Bearbeitet am 28-5-2006 von black-drag0n]
-
anope_cmd_mode(s_BotServ, ci->name, "+o %s", s_BotServ);
thats just a simple example though
-
ci->name is the channel, right?
but now i have a new question ^^
exists anywhere a tutorial for using databases with anope?
i want to use my own database for some things...
thanx for help ;)
-
just look at an existing module.... one of the modules that come with anope is a great example. just take a look at hs_request... has everything you need to know about basic db usage.