Logged In: YES
user_id=666673

Hi,

yes, I think it should work.

In my bot, I use this:

if($command eq ".getip")
my($userip) = odch::get_ip($command2);
odch::data_to_user($user, "\$To: $user From: $botname
\$<$botname> $command2 has ip: $userip|");

where $command2 is a string (which I get from the whole line
using regexp).
It works fine.