Hey bounty
Im using: dZSbot, ioA and php_Psio.
Think i found a small bug in the .tcl.
When u do a !search it only reports the first line like: --[SEARCH]---- and doesnt show the ---[ioA]- line. It stops right after the: 2 match to your criteria and doesnt show the last closing line.
Neoxed pointed me to this code wich solved the problem:
Find ->
Code:
set output " $found match to your criteria\n-------------------------------------------------\[ioA\]-"
if { $ioa(SEARCHIRC) == 0 } {
puthelp "PRIVMSG $nick :$output"
} else {
sndchan "puthelp" $chan $output
}
Replace With ->
Code:
set output " $found match to your criteria\n-------------------------------------------------\[ioA\]-"
if { $ioa(SEARCHIRC) == 0 } {
foreach line [split $output \n] { puthelp "PRIVMSG $nick :$line" }
} else {
sndchan "puthelp" $chan $output
}
That solved it and now it displays the last ---[ioA]-- line so its all good. Just thought u should know of it.
Thanks for a great bot!
/Bobby_Digital