July 27, 2024, 03:21:12 PM
Welcome,
Guest
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Login
Register
Anope IRC Services
>
Anope Development
>
Modules
>
make a service to an operator
« previous
next »
Pages: [
1
]
Go Down
Print
Author
Topic: make a service to an operator (Read 6062 times)
0 Members and 1 Guest are viewing this topic.
black-drag0n
Guest
make a service to an operator
«
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.
Code:
[Select]
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]
Logged
Tom65789
Anope User
Offline
Posts: 343
(No subject)
«
Reply #1 on:
May 28, 2006, 06:22:43 PM »
anope_cmd_mode(s_BotServ, ci->name, "+o %s", s_BotServ);
thats just a simple example though
Logged
http://www.area51designz.com
http://www.T65789.co.uk
http://www.onenetirc.com
black-drag0n
Guest
(No subject)
«
Reply #2 on:
May 28, 2006, 07:14:15 PM »
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
Logged
Jan Milants
Team
Offline
Gender:
Posts: 1372
(No subject)
«
Reply #3 on:
May 28, 2006, 08:59:08 PM »
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.
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk
Print
Pages: [
1
]
Go Up
« previous
next »