scripts (bots) can't chat with each other
Brought to you by:
joohn,
roshansingh
Hi,
i found that if you send messages like this
odch::data_to_all("<$botname> $msg|");
odch::data_to_user($user, "\$To: $user From: $botname
\$<$botname> $msg|");
in your script, any others script function
sub data_arrival() is NOT triggered!
If script A sends a private message to user X,
then user X gets that message. But the
data_arrival() of script B is not called.
If any user sends any data the function data_arrival() of script
B is always called.
It seems only messages from other scripts do not work!
Logged In: YES
user_id=828391
In my opinion if another script was triggered you may end up
bogging the pc down, especially if one script starts talking
to another. If you want 2 scripts to be able to "talk" to
each other, why not combine them into 1 script?