| View previous topic :: View next topic |
| Author |
Message |
Sydneybabe Op
Joined: 27 Apr 2007 Posts: 106 Location: Philippines
|
Posted: Wed Nov 07, 2007 11:59 pm Post subject: |
|
|
| 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. |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Thu Nov 08, 2007 9:00 am Post subject: |
|
|
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? _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
Sydneybabe Op
Joined: 27 Apr 2007 Posts: 106 Location: Philippines
|
Posted: Sat Nov 10, 2007 6:35 am Post subject: |
|
|
| hi nml375 i'm sorry but i'm not that good on scripting and i can't understand how to fix it :/ |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Sat Nov 10, 2007 11:19 am Post subject: |
|
|
Ohh, just type ".binds notc" in dcc chat, and paste the output.
Also, my last updates did'nt help either? _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
Sydneybabe Op
Joined: 27 Apr 2007 Posts: 106 Location: Philippines
|
Posted: Sat Nov 10, 2007 11:53 am Post subject: |
|
|
hi nml375 this is what i seen on partyline and yes it's not deleting akick added by SOP's..
<BOT> TYPE FLGS COMMAND HITS BINDING (TCL)
<BOT> notc -|- * has * access to *- Reason:* 0 check:why
<BOT> notc -|- [VERBOSE]* => akick * add * 4 check:akick |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Sat Nov 10, 2007 12:34 pm Post subject: |
|
|
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. _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
Sydneybabe Op
Joined: 27 Apr 2007 Posts: 106 Location: Philippines
|
Posted: Sun Nov 11, 2007 3:09 am Post subject: |
|
|
hi nml375 this is what appear on partyline
<Eggdrop> [02:15] Recieved chanserv-notice "[VERBOSE] SopUser!~usa@dalnet => akick #channel add *!*@test.com" from "ChanServ!service@dal.net" to "@#channel"
<Tashwini> [02:15] Tcl error [check:why]: missing close-bracket
<Tashwini> [02:15] -ChanServ (service@dal.net)- SopUser has SOp access to #channel. Reason: Identification to the nickname SopUser. Channel Frozen: NO |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Sun Nov 11, 2007 10:25 am Post subject: |
|
|
Should be fixed, post updated. _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
Sydneybabe Op
Joined: 27 Apr 2007 Posts: 106 Location: Philippines
|
Posted: Mon Nov 12, 2007 2:46 am Post subject: |
|
|
hi nml375 this is what appear on the partyline:
<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. |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Mon Nov 12, 2007 7:53 am Post subject: |
|
|
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)... _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
Sydneybabe Op
Joined: 27 Apr 2007 Posts: 106 Location: Philippines
|
Posted: Wed Nov 14, 2007 12:30 am Post subject: |
|
|
hi nml375 this is what appear on the partyline:
<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 :/ |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Wed Nov 14, 2007 12:45 am Post subject: |
|
|
Sydneybabe: Your bot is a SOp? If not it cannot remove akicks. _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
Sydneybabe Op
Joined: 27 Apr 2007 Posts: 106 Location: Philippines
|
Posted: Wed Nov 14, 2007 5:10 am Post subject: |
|
|
| hi Alchera yes the bot is sop on the channel. |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Sat Nov 17, 2007 12:11 pm Post subject: |
|
|
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.. _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
Sydneybabe Op
Joined: 27 Apr 2007 Posts: 106 Location: Philippines
|
Posted: Tue Nov 20, 2007 5:45 am Post subject: |
|
|
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) |
|
| Back to top |
|
 |
|