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 

Universal channel script
Goto page Previous  1, 2, 3 ... 11, 12, 13, 14, 15  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
Alchera
Revered One


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

PostPosted: Mon Aug 28, 2006 11:13 pm    Post subject: Reply with quote

kash2k wrote:
I just have a query : Whenever I Rehash the bot I get an error saying "badword.txt" not found and "badwhois.txt".

Can you tell me if I need to get these files from somewhere? or what is the method to create them.
I am using this script for the first time

You manually *create the two text files yourself in the bots main folder.

* A nice feature would be the automatic creation (by the script) of those two files when first loaded.
_________________
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
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Tue Aug 29, 2006 12:40 am    Post subject: Reply with quote

actually you don't need the files if you aren't going to use badword or/and whois protection; perhaps I should change the load error message to simple warning, as it's non-fatal, just informative

I'll code in something like .xfile <add|del|list> <bad|whois> [word|pattern]
_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
Alchera
Revered One


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

PostPosted: Tue Aug 29, 2006 1:14 am    Post subject: Reply with quote

demond wrote:
I'll code in something like .xfile <add|del|list> <bad|whois> [word|pattern]

An excellent idea. Smile

Even though "informative" it gives the wrong impression (i.e. an actual error) and it's also bloody annoying. Laughing
_________________
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
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sat Sep 02, 2006 11:50 pm    Post subject: Reply with quote

I guess I'll also add an option for interpreting bad words/whois info not as regexps but plain wildcard match using [string match] - and that ought to be default

I'd imagine most xchannel users are more experienced than your average eggdrop owner, but most folks aren't acquainted with regexps anyway
_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
exhuman
Voice


Joined: 22 Jul 2006
Posts: 9

PostPosted: Fri Sep 08, 2006 6:15 pm    Post subject: Reply with quote

Hope you can solve it, i didn't understading why this flashing in every minute in partyline

Code:

(03:36) · (Op3RaToR · [05:46] Tcl error [::xchannel::color]: no such channel record
(03:36) · (Op3RaToR · [05:46] Tcl error [::xchannel::caps]: no such channel record
(03:36) · (Op3RaToR · [05:46] Tcl error [::xchannel::bad]: no such channel record
(03:36) · (Op3RaToR · [05:46] Tcl error [::xchannel::repeat]: no such channel record
(03:36) · (Op3RaToR · [05:46] Tcl error [::xchannel::spam]: no such channel record
(03:39) · (Op3RaToR · [05:50] @#arman (+tn) : [m/45 o/9 h/0 v/2 n/34 b/1 e/- I/-]
(03:40) · (Op3RaToR · [05:50] #arman: mode change '+o WoWThinG' by ChanServ!service@dal.net
(03:42) · RusTeD-FaitH · .set errorInfo
(03:42) · (Op3RaToR · [05:52] #MarhaM# set errorInfo
(03:42) · (Op3RaToR · Currently: can't unset "idx": no such variable
(03:42) · (Op3RaToR · Currently: while executing
(03:42) · (Op3RaToR · Currently: "unset idx"


Code:

(03:36) · (TaYa · [03:06] Tcl error [::xchannel::color]: no such channel record
(03:36) · (TaYa · [03:06] Tcl error [::xchannel::caps]: no such channel record
(03:36) · (TaYa · [03:06] Tcl error [::xchannel::bad]: no such channel record
(03:36) · (TaYa · [03:06] Tcl error [::xchannel::repeat]: no such channel record
(03:36) · (TaYa · [03:06] Tcl error [::xchannel::spam]: no such channel record
(03:40) · (TaYa · [03:10] @#arman (+tn) : [m/44 o/8 h/0 v/2 n/34 b/1 e/- I/-]
(03:46) · RusTeD-FaitH · .set errorInfo
(03:46) · (TaYa · [03:16] #MarhaM# set errorInfo
(03:46) · (TaYa · Currently: no such channel record
(03:46) · (TaYa · Currently: while executing
(03:46) · (TaYa · Currently: "channel get $chan x:spam"
(03:46) · (TaYa · Currently: (procedure "::xchannel::spam" line 5)
(03:46) · (TaYa · Currently: invoked from within
(03:46) · (TaYa · Currently: "::xchannel::spam $_notc1 $_notc2 $_notc3 $_notc4 $_notc5"
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sat Sep 09, 2006 3:49 am    Post subject: Reply with quote

.restart; if that doesn't help, kill the bot and delete chanfile, then start over
_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sun Sep 10, 2006 4:24 am    Post subject: Reply with quote

UPDATE: version 4.1

I've added .xfile dcc command for manipulating bad words and /whois lists from bot's console; please note that there's new setting x:other:match that controls bad words and /whois matching, and it's set by default to 'string' which means the matching is done via [string match]; if you need/have existing regexp word lists stored in files and want the old default matching via [regexp], set this to 'regexp'
_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
spijon
Voice


Joined: 27 Aug 2006
Posts: 33

PostPosted: Fri Sep 29, 2006 5:56 am    Post subject: Reply with quote

possible to add different bantime so w, k, b, b1, b2

where b1 is bantime set to 24houres if the person keep on useing a badword, b2 is ex permban?
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Fri Sep 29, 2006 11:20 pm    Post subject: Reply with quote

no

but that is interesting and makes sense, I might implement it
_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
spijon
Voice


Joined: 27 Aug 2006
Posts: 33

PostPosted: Tue Oct 03, 2006 8:13 am    Post subject: Reply with quote

That would be really nice demond and we will appreciate dude!

And underline and how long the bot remember a user
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Thu Nov 02, 2006 4:43 am    Post subject: Reply with quote

okay folks, that was pretty much it

go grab xchannel 4.2

the final additions:

  • optional ban time in the punish chanset: w:k:b17
  • text-oriented offense handlers now bind also to PART and SIGN
  • .xstats statistics command showing top offenders by channel, offense type or total (you need to enable +x:stats)

_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
honeybee
Halfop


Joined: 01 Jan 2006
Posts: 80

PostPosted: Sat Nov 18, 2006 5:20 am    Post subject: Reply with quote

I'm using current version
and wanted to add badword in badwords.txt in follownig manner

[quote]ass hole
son of a bitch
lick my [censored][/quote]

but it looks its not working, and do i use badwords between "" like "ass hole"
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sat Nov 18, 2006 10:06 pm    Post subject: Reply with quote

use *word1\040word2\040word3* or set x:other:match to regexp and use word1\s+word2\s+word3
_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
honeybee
Halfop


Joined: 01 Jan 2006
Posts: 80

PostPosted: Sun Nov 19, 2006 5:26 am    Post subject: Reply with quote

Ok, regexp will be fine but if i want to use wildcard do i use in same way?
word?1\s+word2\s+word??3 or *word* and will that effect the builtin spam detection too, actually i had to add more spam detection then channel adver and www.* etc.
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sun Nov 19, 2006 10:05 pm    Post subject: Reply with quote

no, you are confused; learn and use either regexps, or Tcl [string] matching - whichever suits you better - but don't mix them up in the same expression
_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Goto page Previous  1, 2, 3 ... 11, 12, 13, 14, 15  Next
Page 12 of 15

 
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