egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

bot remove the akick and founder only allowed to add akick..
Goto page Previous  1, 2, 3, 4  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
Sydneybabe
Op


Joined: 27 Apr 2007
Posts: 106
Location: Philippines

PostPosted: Wed Nov 07, 2007 11:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Thu Nov 08, 2007 9:00 am    Post subject: Reply with quote

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
View user's profile Send private message
Sydneybabe
Op


Joined: 27 Apr 2007
Posts: 106
Location: Philippines

PostPosted: Sat Nov 10, 2007 6:35 am    Post subject: Reply with quote

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
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Sat Nov 10, 2007 11:19 am    Post subject: Reply with quote

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
View user's profile Send private message
Sydneybabe
Op


Joined: 27 Apr 2007
Posts: 106
Location: Philippines

PostPosted: Sat Nov 10, 2007 11:53 am    Post subject: Reply with quote

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
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Sat Nov 10, 2007 12:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
Sydneybabe
Op


Joined: 27 Apr 2007
Posts: 106
Location: Philippines

PostPosted: Sun Nov 11, 2007 3:09 am    Post subject: Reply with quote

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
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Sun Nov 11, 2007 10:25 am    Post subject: Reply with quote

Should be fixed, post updated.
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
Sydneybabe
Op


Joined: 27 Apr 2007
Posts: 106
Location: Philippines

PostPosted: Mon Nov 12, 2007 2:46 am    Post subject: Reply with quote

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
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Mon Nov 12, 2007 7:53 am    Post subject: Reply with quote

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
View user's profile Send private message
Sydneybabe
Op


Joined: 27 Apr 2007
Posts: 106
Location: Philippines

PostPosted: Wed Nov 14, 2007 12:30 am    Post subject: Reply with quote

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
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Wed Nov 14, 2007 12:45 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Sydneybabe
Op


Joined: 27 Apr 2007
Posts: 106
Location: Philippines

PostPosted: Wed Nov 14, 2007 5:10 am    Post subject: Reply with quote

hi Alchera yes the bot is sop on the channel.
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Sat Nov 17, 2007 12:11 pm    Post subject: Reply with quote

Actually, I was abit too aggressive in the scripting.. Guess I should've read the request once more Embarassed
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
View user's profile Send private message
Sydneybabe
Op


Joined: 27 Apr 2007
Posts: 106
Location: Philippines

PostPosted: Tue Nov 20, 2007 5:45 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests All times are GMT - 4 Hours
Goto page Previous  1, 2, 3, 4  Next
Page 2 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber