okay everything works fine, but when you have 2 bots linked together and you use the command to add a new release it doesn't always work with the other bot, it also seems to cut off half the name when it announces on the leaf bot, has anyone seen this problem before ?
Here is the 2 lines that is used for the putallbots code
# putallbots "reloadreleased $released(netcode) $network"
bind bot - reloadreleased reloadreleased_in
proc reloadreleased_in {bot cmd arg} {
global released
set c [lindex $arg 0]
set n [lindex $arg 1]
if {$c == $released(netcode)} {
putlog "RELEASED: Reload Request from $n -$c-"
load_released
} else {putlog "RELEASED: Ignored Reload Request from $n -$c-"}
}
# putallbots "announcereleased $released(netcode) $network prgname"
bind bot - announcereleased announcereleased_in
proc announcereleased_in {bot cmd arg} {
global released
if {$released(announce_botnet) != 1} {return 0}
set c [lindex $arg 0]
set n [lindex $arg 1]
set t [lrange $arg 2 end]
if {$c == $released(netcode)} {
putlog "RELEASED: Announce Request from $n -$c- :$t"
announce_release "$t"
} else {putlog "RELEASED: Ignored Reload Request from $n -$c-"}
}
If more is Needed I'll just post up the whole script. Hope someone can help me with my problem.. thanks