This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

bot remove the akick and founder only allowed to add akick..

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
S
Sydneybabe
Op
Posts: 106
Joined: Fri Apr 27, 2007 3:31 am
Location: Philippines

Post by Sydneybabe »

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.
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

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
S
Sydneybabe
Op
Posts: 106
Joined: Fri Apr 27, 2007 3:31 am
Location: Philippines

Post by Sydneybabe »

hi nml375 i'm sorry but i'm not that good on scripting and i can't understand how to fix it :/
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

Ohh, just type ".binds notc" in dcc chat, and paste the output.
Also, my last updates did'nt help either?
NML_375
S
Sydneybabe
Op
Posts: 106
Joined: Fri Apr 27, 2007 3:31 am
Location: Philippines

Post by Sydneybabe »

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
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

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
S
Sydneybabe
Op
Posts: 106
Joined: Fri Apr 27, 2007 3:31 am
Location: Philippines

Post by Sydneybabe »

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
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

Should be fixed, post updated.
NML_375
S
Sydneybabe
Op
Posts: 106
Joined: Fri Apr 27, 2007 3:31 am
Location: Philippines

Post by Sydneybabe »

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.
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

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
S
Sydneybabe
Op
Posts: 106
Joined: Fri Apr 27, 2007 3:31 am
Location: Philippines

Post by Sydneybabe »

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 :/
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

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
S
Sydneybabe
Op
Posts: 106
Joined: Fri Apr 27, 2007 3:31 am
Location: Philippines

Post by Sydneybabe »

hi Alchera yes the bot is sop on the channel.
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

Actually, I was abit too aggressive in the scripting.. Guess I should've read the request once more :oops:
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
S
Sydneybabe
Op
Posts: 106
Joined: Fri Apr 27, 2007 3:31 am
Location: Philippines

Post by Sydneybabe »

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)
Post Reply