PDA

View Full Version : dZSbot - No Announce


r32
03-13-2005, 10:37 AM
Hi!

I want to check out the dZsBot, if its better than ioBanana.

I've config the dzsBot, but it announces nothing


Any Ideas?


Bye


R32

Pretone
03-13-2005, 11:02 AM
controll channel and sections are ok ..... if the bot don't annunce the problem is in the

# SETUP HERE YOUR SECTIONS

# SETUP EATCH PATH YOU NEED LIKE THIS


in the bzsbot.tcl file

r32
03-13-2005, 01:12 PM
Hi!

All sections are correct

I dont know why it doesn't work


Bye


R32

zOrP
03-14-2005, 02:49 AM
try and start your eggdrop with
eggdrop -nt
that did the trick for me

r32
03-14-2005, 08:59 AM
Hi!

It's running on nt mode


Bye

R32

r32
07-24-2005, 02:46 PM
Hi!


Now dzsbot is running and it announce a lot of things, but not all things.

each !req... command doesn't work and !undupe doesn't work via irc.


I get no error message in partyline.

My Bot got +o+f flag.


What could be wrong?

Any ideas


Bye

r32

foxmaster
07-24-2005, 03:26 PM
For the !undupe command u must be +o on the bot,, (not sure but that is what comes to mind).
goodluck

r32
07-24-2005, 03:32 PM
I'm +o on the bot


Bye


r32

zOrP
07-25-2005, 06:47 AM
Here u see the flags..

# BINDS WITH FLAGS REQUIRED
bind pub f|f [set cmdpre]undupe proc_undupe
bind pub o|o [set cmdpre]approve proc_approve
bind pub o|o [set cmdpre]kick proc_kill
bind pub o|o [set cmdpre]reqadd proc_reqadd
bind pub o|o [set cmdpre]reqdel proc_reqdel
bind pub o|o [set cmdpre]reqfilled proc_reqfilled

so u need +f to undupe.

but u can change this to what ever u want..
Here is mine

# BINDS WITH FLAGS REQUIRED
bind pub -|- [set cmdpre]undupe proc_undupe
bind pub o|o [set cmdpre]approve proc_approve
bind pub -|- [set cmdpre]kick proc_kill
bind pub f|f [set cmdpre]reqadd proc_reqadd
bind pub o|o [set cmdpre]reqdel proc_reqdel
bind pub -|- [set cmdpre]reqfilled proc_reqfilled

like this all can undupe,idlekick, reqfill and friends can request.. :-D

r32
07-26-2005, 02:25 AM
Hi!


Thx Zorp!!!!

I've changed this and now it works :)

But on reqdel in irc it sends only a notice , no announce in the chan.


How can I change this?


Bye


r32

zOrP
07-27-2005, 05:43 AM
set announce(REQDELIRC) "\0039-\003%sitename/\002REQDEL\002\0039- ::\003 %bold%user%bold just deleted request #%bold%request%bold."
set announce(REQFILLEDIRC) "\0039-\003%sitename/\002REQFILLED\002\0039- ::\003 %bold%user%bold just filled request #%bold%request%bold. Good Work!"
add those 2 under announce..

and edit this

################################################## #######
# DEL REQUEST ON IRC #
################################################## #######
proc proc_reqdel {nick uhost hand chan arg} {
global binary ioa disable announce
if { $disable(REQDELIRC) == 0 } {
set arg [lindex $arg 0]
if { [string is digit -strict $arg] } {
set status [catch { exec -- $binary(IOA) REQDELIRC $arg } result]
if { $status == 0 } {
set output $announce(REQDELIRC)
set output [replacevar $output "%user" $nick]
set output [replacevar $output "%request" $arg]
set output [basicreplace $output "REQUEST"]
sndchan "puthelp" $chan $output
}
} else {
puthelp "NOTICE $nick :Request number not found: $arg isn't a number"
}
}
}
#puthelp "NOTICE $nick :Request number $arg is now deleted"


################################################## #######
# FILLED REQUEST ON IRC #
################################################## #######
proc proc_reqfilled {nick uhost hand chan arg} {
global binary ioa disable announce
if { $disable(REQFILLEDIRC) == 0 } {
set arg [lindex $arg 0]
if { [string is digit -strict $arg] } {
set status [catch { exec -- $binary(IOA) REQFILLEDIRC $arg } result]
if { $status == 0 } {
set output $announce(REQFILLEDIRC)
set output [replacevar $output "%user" $nick]
set output [replacevar $output "%request" $arg]
set output [basicreplace $output "REQUEST"]
sndchan "puthelp" $chan $output
}
} else {
puthelp "NOTICE $nick :Request number not found: $arg isn't a number"
}
}
}



should work now.. :D