i have botnet [1hub+1leaf]
---
# the leaf bot procs this in the END:
proc msgm:spyreport {nick host hand text} {
if {[validuser $hand]} return
putallbots "spydetect $nick [lindex [split $host @] 1]"
return 0
}
# and then.. the hub has to ban the user using his ip address:
bind bot - "spydetect" bot:spydetect
proc bot:spydetect {from idx text} {
global spychan
foreach {nick hostname} [split $text] {}
puthelp "MODE $spychan +b *!*@$hostname"
}
# the problem is with the ban
ChanMode: HubBot sets mode [ +b ] *!*@127.196.249.24
i want it to get the Real ip address and use it in the ban...
i really appreciate help

thanks in advance!