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

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
fls
Voice


Joined: 17 Oct 2007
Posts: 35

PostPosted: Sat Nov 24, 2007 8:11 am    Post subject: Bot Reply with quote

Hi guys,

I m runing eggdrop1.6.18 , with +autovoice on

I added <nick> into bot userlist and give the <nick> +fv flag

+protectfriend was on

But , it seen the bot doesnt recognise it. The nick enter the room and i issue the nick with a +v and test on swearing and it got kick out . It there anything i missed out ??

Regard
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Sat Nov 24, 2007 8:26 am    Post subject: Reply with quote

The script you're using for swear-kicking obviously does not exempt +f or +v users. You'll have to use a different script (it's not an Eggdrop issue).
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
fls
Voice


Joined: 17 Oct 2007
Posts: 35

PostPosted: Sat Nov 24, 2007 1:18 pm    Post subject: Reply with quote

Yes . it does.

This is the script " SWEAR KICK/BADWORD KICK SCRIPT BY RANA USMAN "

and there is a script form as : -
#Set the Users Mode you want to Exempt
#The Bot will not kick the user who had the modes you will define below
#You can leave it as it is , if you dont know about it
#Recommended : of
set bworduser "vof"
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Sat Nov 24, 2007 3:30 pm    Post subject: Reply with quote

I haven't looked into the script, but having a setting does not mean it's actually implemented (or correctly implemented for that matter).
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Sat Nov 24, 2007 4:19 pm    Post subject: Reply with quote

I'd rather say the parameter is perhaps not so well documented:
Part from the code:
Code:
...
if {[matchattr $hand $bworduser]} { return 0
} else {
....


Now, setting bworduser to "vof" means you must have all three flags to be excluded. Now, since op implies voice, proper setting to achieve the desired behaviour would be "vf".
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
fls
Voice


Joined: 17 Oct 2007
Posts: 35

PostPosted: Sun Nov 25, 2007 3:02 am    Post subject: Reply with quote

hmm......

I loaded this new tcl script :-

# Swear Protection, Channel Swear Kick Script v5.86.b (swearkick.tcl)
# Script Version: v5.86.b
# Built Date: 26th June 2004, Last Updated: 2nd September 2004
# Copyright © 1999-2004 awyeah (awyeah@usa.net)
# This TCL script is designed to work with eggdrop v1.5.x or higher


Restart bot , rehash and it seen not working at all. any clue ??
Back to top
View user's profile Send private message
Alchera
Revered One


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

PostPosted: Sun Nov 25, 2007 7:40 am    Post subject: Reply with quote

Make an effort at debugging yourself.

Look at the result of ".set errorInfo".
_________________
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
fls
Voice


Joined: 17 Oct 2007
Posts: 35

PostPosted: Sun Nov 25, 2007 9:39 pm    Post subject: Reply with quote

COOL guys.

Solved. Sorry for the trouble and thankyou

Regard,
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 -> Eggdrop Help All times are GMT - 4 Hours
Page 1 of 1

 
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