Go Back   FlashFXP Forums > > > >

Reply
 
Thread Tools Rate Thread Display Modes
Old 03-13-2005, 10:37 AM   #1
r32
Member
 
Join Date: Sep 2004
Posts: 61
Default dZSbot - No Announce

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
r32 is offline   Reply With Quote
Old 07-27-2005, 05:43 AM   #2
zOrP
Senior Member
 
Join Date: Jan 2005
Posts: 282
Default

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..
zOrP is offline   Reply With Quote
Reply

Tags
announces, bye, config, dzsbot, iobanana


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 10:41 PM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)