| View previous topic :: View next topic |
| Author |
Message |
Nadae Voice
Joined: 24 Mar 2021 Posts: 5
|
Posted: Sun Aug 29, 2021 4:00 pm Post subject: OperServ Access denied. |
|
|
Hello,
I want my eggdrop to execute the command in a script / msg operserv logonnews add my message. My eggdrop is ircop, which is confirmed by the fact that its scripts do well for example kills.
So in my script I have: | Code: | | putquick "privmsg operserv: logonnews add My message." |
But it answers me: [19:10:46] -OperServ (services@services.domainname.org) - Access denied.
However in unrealircd.conf the bot is the netadmin-with-override operclass;
What should I do please? |
|
| Back to top |
|
 |
CrazyCat Revered One

Joined: 13 Jan 2002 Posts: 1032 Location: France
|
Posted: Sun Aug 29, 2021 7:03 pm Post subject: |
|
|
First, you have a small typo in your command:
| Code: | | putquick "privmsg operserv :logonnews add My message." |
(take care of the placement of the ":")
Second, seems you use anope, the trouble might be with your config it and who can access to the logonnews command. By default, only Services Root can use it. And this is an anope setting, not an ircd one. _________________ https://www.eggdrop.fr - French IRC network
Offer me a coffee - Do not ask me help in PM, we are a community. |
|
| Back to top |
|
 |
Nadae Voice
Joined: 24 Mar 2021 Posts: 5
|
Posted: Sun Aug 29, 2021 7:23 pm Post subject: |
|
|
| Thank you for the answer. I specify that when I directly use logonnews myself it works perfectly. |
|
| Back to top |
|
 |
Nadae Voice
Joined: 24 Mar 2021 Posts: 5
|
Posted: Sun Aug 29, 2021 8:12 pm Post subject: |
|
|
Thank you a lot. That run correctly now after add this in service.conf from Anope :
| Code: | oper
{
/* The nickname of this services oper */
name = "MyBot"
/* The opertype this person will have */
type = "Services Root"
}
|
We can withdraw a particular news by indicating its number, or all the news, but apparently there is no solution to request the withdrawal of the last one only with eggdrop ?
.
.
. |
|
| Back to top |
|
 |
CrazyCat Revered One

Joined: 13 Jan 2002 Posts: 1032 Location: France
|
Posted: Wed Sep 01, 2021 6:34 am Post subject: |
|
|
No, you can only list all the news and parse the result to get the ones created by eggdrop.
The number of the news is not an ID _________________ https://www.eggdrop.fr - French IRC network
Offer me a coffee - Do not ask me help in PM, we are a community. |
|
| Back to top |
|
 |
|