When you do some code, use the real commands, never any alias or shortcut.
The OP said he wants to use this for dalnet and dalnet doesnt use privmsg chanserv they use privmsg ChanServ@services.dal.net and aliases, most other networks use aliases as well btw as privmsg chanserv is not always safe.
by the way I've tried it in another network with unrealircd.. it is working..
thanks to all of you for contributing some ideas.. maybe it is in different ways as he explained.
anyway, i got it now.. even if the script is not perfect and needs improvement.. but it works as i need it.. cheers to all coders and regular people who helped out.
simo wrote: ↑Mon Dec 09, 2024 12:16 pm
The OP said he wants to use this for dalnet and dalnet doesnt use privmsg chanserv they use privmsg ChanServ@services.dal.net and aliases, most other networks use aliases as well btw as privmsg chanserv is not always safe.
The placement in ignore is due to your eggdrop.
I recommand to add the network's services in your user list, with the different official hosts they have and +fo flags:
Concerning your initial request, you'll have to bind the notice from chanserv giving you the access list, which is quite hard as there is no special keyword indicating that it's the access list for a particular channel or another notice from chanserv.