if i understand you correctly, you are trying to remove the speakers nick from public messages. You didn't post all the code, so there's no telling if this is the only proc that needs to be altered. With that being said, just remove the nick from the proc
proc trans_bot { usercmd chan text } {
global eggdrops chans botnick
set me [lsearch $eggdrops $botnick]
set transmsg [concat $usercmd $text]
if {$chan == [lindex $chans $me]} {
putallbots $transmsg
} else {
return 0
}
}
# proc transmission of pub (trans_pubm = y)
proc trans_pub {nick uhost hand chan text} {
trans_bot ">pub" $chan $text
}
You might want to change ">pub" to "whatever you want" and bind that in the bot that will receive the msg(you can change "putallbots" to "putbot botnick" if you want just to send to a specific bot instead of all bots in your botnet)