| View previous topic :: View next topic |
| Author |
Message |
starpossen Op
Joined: 10 Jan 2006 Posts: 139
|
Posted: Sat Jan 06, 2007 3:58 am Post subject: |
|
|
I know this is kinda old but:
| Alchera wrote: | | Sheldon wrote: | | is there anyway.. to make the warning a red colour in the main chat.... then everyone sees it |
Not always appropriate as that in itself will fill the channel with rubbish.
It would also appear some of your users ignore private messages (as I do). To have the warnings sent via notice (no one ignores them) replace:
| Code: | | "w" {putserv "privmsg $nick :\002\0034$reason"} |
with
| Code: | | "w" {putserv "notice $nick :\002\0034$reason"} |
|
I change it, but somehow it still privmsg eventhough I changed it to notice, I rehashed, didn't help, I restarted, didn't help.
Any ideas why?
ps. Great script btw. |
|
| Back to top |
|
 |
e-force Voice
Joined: 04 Jan 2005 Posts: 23
|
Posted: Mon Jan 15, 2007 6:32 am Post subject: |
|
|
| Any ideas with my problem? |
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Mon Jan 15, 2007 10:32 pm Post subject: |
|
|
| Likely it's a different privmsg being sent, so change your output so you can debug the problem. |
|
| Back to top |
|
 |
Serban Voice
Joined: 29 Nov 2005 Posts: 3 Location: NASA
|
Posted: Tue Jan 16, 2007 4:30 pm Post subject: |
|
|
Hello i have this problem... i tried as you said demond restart and kill bot and start from the begining but its the same everytime...
[21:42:01] [13:41] Tcl error in file 'Wizzard.chan':
[21:42:01] [13:41]
[21:42:01] while executing
[21:42:01] "channel add #blah { chanmode +tn idle-kick 0 stopnethack-mode 0 revenge-mode 0 need-op {} need-invite {} need-key {} need-unban {} need-limit {} flo..."
[21:42:01] (file "Wizzard.chan" line 3)
[21:42:01] [13:41] Creating channel file
[21:42:01] [13:41] No longer supporting channel #blah
[21:42:01] [13:41] Tcl error [::xchannel::color]: no such channel record
[21:42:01] [13:41] Tcl error [::xchannel::caps]: no such channel record
[21:42:01] [13:41] Tcl error [::xchannel::bad]: no such channel record
[21:42:01] [13:41] Tcl error [::xchannel::spam]: no such channel record
[21:42:01] [13:41] Tcl error [::xchannel::color]: no such channel record
[21:42:01] [13:41] Tcl error [::xchannel::caps]: no such channel record
[21:42:01] [13:41] Tcl error [::xchannel::bad]: no such channel record
[21:42:01] [13:41] Tcl error [::xchannel::spam]: no such channel record
[21:42:01] [13:41] No longer supporting channel #blah1
[21:42:01] [13:41] Tcl error [::xchannel::color]: no such channel record
[21:42:01] [13:41] Tcl error [::xchannel::caps]: no such channel record
[21:42:01] [13:41] Tcl error [::xchannel::bad]: no such channel record
[21:42:01] [13:41] Tcl error [::xchannel::spam]: no such channel record
[21:42:01] [13:41] Tcl error [::xchannel::color]: no such channel record
[21:42:01] [13:41] Tcl error [::xchannel::caps]: no such channel record
[21:42:01] [13:41] Tcl error [::xchannel::bad]: no such channel record
[21:42:01] [13:41] Tcl error [::xchannel::spam]: no such channel record
[21:42:01] [13:41] Ignored masks for channel(s): #blah1 #blah
[21:42:01] [13:41] Userfile loaded, unpacking... _________________ IRC is bad for your health. |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sat Jan 20, 2007 12:15 am Post subject: |
|
|
eforce: you need to learn string matching rules; if you want to match words anywhere in a sentence, use *word* in your badwords file
serban: delete your chanfile and 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 |
|
 |
e-force Voice
Joined: 04 Jan 2005 Posts: 23
|
Posted: Thu Jan 25, 2007 7:43 am Post subject: |
|
|
| demond wrote: | eforce: you need to learn string matching rules; if you want to match words anywhere in a sentence, use *word* in your badwords file
|
Yes, i've already tried this *word*, but when badword is set to *anal* and when someone called banal xchannel get an w:k:b action.
Any idea how to make it work with an example like * badword *?
When i try to set in badwords.txt * badword... - bad things happened. It binds * (everuthing) for badword. I've already tried with some different ways, but they did'nt work.Here is a part of my badword.txt:
*kurva*
*kurvi*
*putki*
*putka
eba
*kuchka*
|
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sat Jan 27, 2007 12:22 am Post subject: |
|
|
| e-force wrote: | | Any idea how to make it work with an example like * badword *? |
learn regular expressions and set x:other:match to regexp
for example, this will match (case-insensitively) the word foo at the beginning of a sentence, at the end, and separated by white space:
| Code: |
(?i)(\s|^)foo(\s|$)
|
(but it won't match foo! and other adjacent punctuation characters; do your homework) _________________ connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code |
|
| Back to top |
|
 |
e-force Voice
Joined: 04 Jan 2005 Posts: 23
|
Posted: Sat Jan 27, 2007 7:58 am Post subject: |
|
|
| Problem sloved, it works! Tnx about this help. |
|
| Back to top |
|
 |
beasTMan Voice
Joined: 30 Dec 2006 Posts: 15 Location: Chisinau, Republic of Moldova
|
Posted: Sat Jan 27, 2007 2:21 pm Post subject: |
|
|
so dudes , the script it's ok ? works ? type the link here , please. _________________ #Xtreem @ UnderNet |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Tue Feb 06, 2007 12:40 am Post subject: |
|
|
| beasTMan wrote: | | so dudes , the script it's ok ? works ? type the link here , please. |
it's on my website, also in the Tcl Archive _________________ connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code |
|
| Back to top |
|
 |
Mausam Voice

Joined: 13 Feb 2007 Posts: 2
|
Posted: Tue Feb 13, 2007 8:52 am Post subject: |
|
|
Hello,
First i want to know is there any way to customize global setting rather changing channel by channel?
Second from where i can get its readme file. coz i need complete help regarding this script.
Thanks And Regards. |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Wed Feb 14, 2007 12:08 am Post subject: |
|
|
there is no README file; simply open the script in your favourite text editor and read the header - everything is thoroughly explained and should be clear to anyone with decent knowledge of running eggdrop
if after doing that you still don't understand something, ask here and I'll answer; on your first question - you can use the .xchanset command for that _________________ connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code |
|
| Back to top |
|
 |
Mausam Voice

Joined: 13 Feb 2007 Posts: 2
|
Posted: Wed Feb 14, 2007 12:59 pm Post subject: |
|
|
protecion will automatically start or i have to start by myself? And is their any by default protection setting or i must have to define it?
and another thing the syntex for global setting is...
.xchanset +x:repeat:rate values... is it like that?
I only have to customized these
x:repeat:rate
x:mass:rate
x:mass:duration
x:caps:percent
x:bad:file
x:clone:type
x:clone:count
x:door:stay
x:whois:file
x:whois:count
x:pspam:cycle
x:drone:score
x:lag:threshold
x:limit:slack
OR These too
x:type
x:type:punish
x:type:bantype
x:type:bantime
x:type:reason
very sorry to disturb you but i need it.. thanks
and please tell me the syntex too...
Thanks |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Wed Feb 14, 2007 10:56 pm Post subject: |
|
|
did you read through entire header? I somehow doubt that
if you did, you would've read the following:
| Code: |
# DO NOT EDIT this script (even if you know what you are doing ;)
# instead, configure it to suit you from bot's party-line by using
# .chanset command and the following settings (you have to specify any
# of these only if you need default value changed; to see defaults, use
# .chaninfo #chan):
|
and this:
| Code: |
# you can also use .xchanset [#channel|*] <commonset> [value]
# from bot's party-line to set any common setting (except on/off switch)
# for all offense handlers on a particular channel or all channels
|
and also:
| Code: |
# IMPORTANT: all offense handlers (except mass) are disabled by default
# to enable particular protection, use .chanset #chan +x:type
|
all of that is pretty clear, is it not? and gives unambiguous answers to your questions _________________ connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code |
|
| Back to top |
|
 |
DarkRaptor Voice

Joined: 15 Apr 2006 Posts: 36 Location: Trois-Rivières, Qc
|
Posted: Wed Apr 18, 2007 1:33 am Post subject: |
|
|
Hi demond,
I'm using your script from a while and as I see, it doesn't check for DCC Send when the bot's clone cycle the chan.
Did I miss something in configuration or it's not in the script ?
If it's not in the script, I think this can be a nice feature to add to this great script
I'm using version 4.2
Here the configuration:
| Code: |
User defined channel flags:
+CService +mc.topic_resynch +mc.dns_bans -mc.dns_bans.exempt.op
-mc.dns_bans.exempt.voice +mc.dns_bans.enforcebans +dieauth -x:limit
+x:stats +x:drone +x:door -x:flood
+x:pspam +x:clone -x:spam +x:repeat
-x:whois -x:bad +x:caps -x:color
User defined channel settings:
x:drone:bantype: 2 x:drone:bantime: 15 x:door:bantype: 2 x:door:bantime: 5
x:flood:bantype: 2 x:flood:bantime: 840 x:pspam:bantype: 2 x:pspam:bantime: 60
x:clone:bantype: 2 x:clone:bantime: 20 x:spam:bantype: 2 x:spam:bantime: 120
x:repeat:bantype: 2 x:repeat:bantime: 5 x:whois:bantype: 2 x:whois:bantime: 20
x:bad:bantype: 2 x:bad:bantime: 10 x:caps:bantype: 2 x:caps:bantime: 5
x:color:bantype: 2 x:color:bantime: 5 x:clone:type: 2 x:clone:count: 3
x:pspam:cycle: 180 x:whois:count: 100 x:mass:duration: 5 x:drone:score: 85
x:lag:threshold: 8 x:door:stay: 8 x:stats:top: 5 x:limit:slack: 5
x:caps:percent: 85
User defined channel strings:
mc.dns_bans.exempt.flags: {}
x:drone:punish: k:b
x:drone:reason: {Possible Drone Detected. (This scan is based on the degree of randomness of that nick & IdentD)}
x:door:punish: b
x:door:reason: {Next time, visit us longer}
x:flood:punish: b
x:flood:reason: Flooding
x:pspam:punish: w:k:b
x:pspam:reason: {Unsolicited Spam}
x:clone:punish: b
x:clone:reason: {No Clones}
x:spam:punish: k:b
x:spam:reason: {Spam Detected!}
x:repeat:punish: w:k:b
x:repeat:reason: {Stop Repeating}
x:whois:punish: b
x:whois:reason: {Bad /whois information}
x:bad:punish: w:k:b
x:bad:reason: {Bad Words}
x:caps:punish: w:k:b
x:caps:reason: {You don't need to cry!}
x:color:punish: w:k:b
x:color:reason: {Don't use color}
x:whois:file: badwhois.txt
x:mass:rate: 1001:1
x:repeat:rate: 6:30
x:other:match: string
x:bad:file: badwords.txt
|
(Sorry if my english is bad. It's not my native language) _________________ DarkRaptor @ irc.undernet.org |
|
| Back to top |
|
 |
|