proc myhostis {frombot cmd arg} {
set added 0
set arg [string tolower $arg]
foreach host [split [getuser $frombot HOSTS]] {
set host [string tolower $host]
if {[string match $arg $host]} {
set added 1
}
}
if {!$added} {
putlog "(**) Added host $arg to $frombot"
setuser $frombot HOSTS $arg
}
return 0
}
hey! i have this proc so my bots will auto add hosts when their host changes, but they add it like this.. packiman!paiakam@blah.com, im wondering how to set them to add hosts like this.. *!paiakam@blah.com