hi nml375 i tested the script and this is what i see on partyline ---> <Eggdrop> [21:46] -ChanServ (service@dal.net)- SopUser has SOp access to #channel. Reason: Identification to the nickname SopUser. Channel Frozen: NO <--- but the Sop Eggdrop didn't delete the akick of the SOP User and message the SOP User that only founder can add akick on channel.
Tuned the regular expression to match that line. Could you also verify wether the binding triggered (.binds notc), and see that the HITS-field is larger than 0 for the specified binding?
Thanks.
Seems the template I based my binding on is slightly different from what is actually used by chanserv on dalnet. Also, hostmask-check of chanserv was incorrect. I believe those issues have been attended to now, although I added some debug logging that should provide enough information to sort out any additional issues.
If the scripts appears to work properly, you might just aswell remove the putlog's in the script.
<EggDrop> [01:33] Recieved chanserv-notice "[VERBOSE] SopUser!~x@dal.net => akick #channel add *!*@test.com.org" from "ChanServ!service@dal.net" to "@#channel"
<EggDrop> [01:35] Recieved chanserv-notice "SopUser has SOp access to #channel. Reason: Identification to the nickname SopUser. Channel Frozen: NO" from "ChanServ!service@dal.net" to "EggDrop"
.. but the eggdrop didn't delete the akick issued by the SopUser when it detect that the sop SopUser add an akick? anyway i notice on this part
if {[regexp -- {^(.+?) has (SOp|AOp) access to and this one putserv "CHANSERV AOP $tchan DEL $trnick" <-- why is there a Aop since only Founder and Sop can issue an akick on Dalnet network.
Must've missed that while searching docs on chanserv and akick. Changed the response-message to use the access returned from the why-query, which should take care of removing the proper privileges in any case. I left the AOp|SOp matching in there (yes, I'm lazy)...
<EggDrop> [23:20] Recieved chanserv-notice "[VERBOSE] SopUser!~x@staff.dal.net => akick #channel add *!*@test.com" from "ChanServ!service@dal.net" to "@#channel"
<EggDrop> [23:23] Recieved chanserv-notice "SopUser has SOp access to #channel. Reason: Identification to the nickname SopUser. Channel Frozen: NO" from "ChanServ!service@dal.net" to "EggDrop"
<EggDrop> [23:23] -ChanServ (service@dal.net)- SopUser has SOp access to #channel. Reason: Identification to the nickname SopUser. Channel Frozen: NO
...still sop EggDrop not remove the akick issued by the sop SopUser :/
Actually, I was abit too aggressive in the scripting.. Guess I should've read the request once more
Right now, it tries to remove the SOp access rather than the akick.
I'll have an update for it shortly..
Edit:
Update posted, let me know how much it breaks down now..
hi nml375 i load the script and this is what appear on putty:
[04:40] missing close-brace
while executing
"proc check:why {nick host hand text {dest ""}} {
putlog "Recieved chanserv-notice \"$text\" from \"$nick!$host\" to \"$dest\""
if {![string equal ..."
(file "scripts/noakick.tcl" line 16)
invoked from within
"source scripts/noakick.tcl"
(file "eggdrop.conf" line 480)
[04:40] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)