![]() This method returns $str encoded as per the TOC specs: escaped special chars ($) and enclosed in quotes (") $aim->send_config() $aim->del_roomname($id)ĭeletes $id and it's associate value from our roomname hash in $aim $aim->encode($str) This saves $roomname in the $aim object in a %hash keyed on $id. This method returns the name of the room with id $id. This method returns an of rooms each consisting of ID:ROOM_NAME. This method sends $message to $screen_name. Send a request to enter the room $roomname $aim->send_im($screen_name, $message) Send $message in chat room $room_id $aim->chat_join($roomname) Whisper $msg to $user in the room $room_id $aim->chat_send($room_id, $message) This method instructs the server to take you out of the room $room_id $aim->chat_whisper($room_id,$user,$msg) This will accept an invitation that was sent to us for $room_id $aim->chat_leave($room_id) $aim->send('toc_add_buddy perlaim') $aim->chat_invite($room, $msg, to $room with the message $msg $aim->chat_accept($room_id) This is used internally by other functions to send commands to the server. $anon: boolean value which will determine whether to warn the user anonymously or normally. This method sets your info or profile information to $info on the server. The server should reply with a URL which will contain the info requested about the user. Sends an info request to the server for $screen_name. If $idle_time is omitted it will be set to 0. This method sets our idle time to $idle_time. This function will also save the list internally. If $send_bool evaluates to TRUE then the toc_add_deny command is sent to the server. $group must be the group they were orginally set with for them to be deleted from the internal $aim memory and prevent them from getting added again incase a set_config method is called. ![]() $aim->remove_buddy($send_bool, $group, removes from your buddy list. if $send_bool evaluates to TRUE then the toc_add_deny command is sent to the server. $aim->add_deny($send_bool, $group, adds to your deny list, under the group $group. if $send_bool evaluates to TRUE then the toc_add_permit command is sent to the server. $aim->add_permit($send_bool, $group, adds to your permit list, under the group $group. ![]() ![]() if $send_bool evaluates to TRUE then the toc_add_buddy command is sent to the server. $aim->add_buddy($send_bool, $group, adds to your buddy list, under the group $group. This sets or returns the current timeout in seconds for the select loop. This just starts an infinte loop of $aim->do_one_loop $aim->timeout($secs) This method returns a pointer to the AIM::Connection object $aim->do_one_loop() This method creates a new AIM::Connection object $aim->getconn() This method simply gets the value of $key from the internal hash $aim->newconn() This method simply sets $key to $val in an internal hash for variables $aim->get($key) Accepts $debug which should be a boolean value. Set whether to print DEBUGGING information to STDERRR. This version contains not much more than hacked code that merely connects to the aol TOC servers and acts on instant messages. This module implements an OO interface to the Aol Instant Messenger TOC protocol. $conn = $aim->newconn(Screenname => 'Perl AIM', Net::AIM - Perl extension for AOL Instant Messenger TOC protocol SYNOPSIS use Net::AIM
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |