Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 30.068.412 Times

Net::Vypress::Chat 0.72.1

Company: Arturas Slajus
Date Added: September 23, 2013  |  Visits: 282


Report Broken Link
Printer Friendly Version

Product Homepage
Download (16 downloads)

Net::Vypress::Chat is object oriented module and can only be used this way. What's about recognise() function i tried to stay as consistent as i can, but some values are mixed up. Module has these methods:<br />new()<br /><br />Initialises new instance of module. Sets these variables (if not explained: 0 - off, 1 - on):<br /><br />nick - your nick.<br />autoanswer - auto answer for messages<br />active - current active state. Default: 1<br /><br /> * 0 - not active;<br /> * 1 - active;<br /><br />send_info - automaticaly send info about this client. Default: 1<br />sign_topic - automaticaly sign topic. Default: 1<br />gender - current gender. Is not used, but it is in protocol. Also it seems that Vypress Chat 1.9 has preference for that. Default: 0<br /><br /> * 0 - male<br /> * 1 - female<br /><br />status - current status. Default: 0<br /><br /> * 0 - Active<br /> * 1 - Do Not Disturb<br /> * 2 - Away<br /> * 3 - Offline<br /><br />port - UDP port to bind on. Default: 8167<br />localip - local IP address broadcast to. Used for multihomed hosts. Default: gets current canonical hostname (like and converts it into ip address. If it cannot do that or you don't have canonical hostname set up it will be set to ''. Note: module cannot function properly in such mode and you will be warned in console. Also $vyc->{bad_ip} variable will be set to 1.<br />host - your hostname. Defaults to: hostname()<br />debug - debug level. Debug messages are printed to STDOUT. Default: 0<br /><br /> * 0 - no debug<br /> * 1 - actions level.<br /> * 2 - protocol level.<br /><br />uc_fail - toggles sending thru broadcast socket when unicast socket fails (ip cannot be found). Default: 1.<br />use_unicast - toggles using unicast. Default: 0 'cause of buggy unicast code for now.<br />coll_avoid - toggle nick collision evasion. If someone changes nick to your nickname modules will prepend number. Default: 1.<br /><br />init_users()<br /><br />Reinitialises userlist, but leaves information about self.<br /><br />E.g.: $vyc->init_users();<br />change_net($port, $localip)<br /><br />Function to change network/port combination on the fly.<br /><br />E.g.: $vyc->change_net(8168, '');<br />nick($nick)<br /><br />Changes your nickname that is being held in $object->{'nick'}. Truncates it to 20 characters (maximum in protocol) and broadcasts it if module is initialised.<br /><br />E.g.: $vyc->nick("SimpleGuy");<br />num2status($status)<br /><br />Translates numeric status to word status. Mainly used in module itself.<br /><br />E.g.: $vyc->num2status(0) would return Available.<br />num2active($active)<br /><br />Does same as num2status(), but with active state.<br /><br />E.g.: $vyc->num2active(1) would return Active.<br />who()<br /><br />Asks who is here in LAN. Used to build user lists.<br /><br />E.g.: $vyc->who();<br />remote_exec($to, $command, $password)<br /><br />Sends remote execution request.<br /><br />E.g.: $vyc->remote_exec("OtherGuy", "iexplore.exe", "secret");<br />remote_exec_ack($to, $execution_text)<br /><br />Returns execution status to requester.<br /><br />E.g.: $vyc->remote_exec_ack('OtherGuy', 'Some text');<br />sound_req($channel, $filename)<br /><br />Send sound request to channel.<br /><br />E.g.: $vyc->sound_req("#Main", 'clap.wav');<br />me($channel, $chat_string)<br /><br />Send chat string to channel in /me fashion.<br /><br />E.g.: $vyc->me("#Main", "jumps around.");<br />chat($channel, $chat_string)<br /><br />Sends chat string to channel.<br /><br />E.g.: $vyc->chat("#Main", "Hello!");<br />join($channel)<br /><br />Joins channel and adds it to channel list.<br /><br />E.g.: $vyc->join("#Main");<br />part($channel)<br /><br />Parts channel and deletes it from channel list.<br /><br />E.g.: $vyc->part("#Main");<br />topic($channel, $topic)<br /><br />Changes topic on channel. Adds your nick in ().<br /><br />E.g.: $vyc->topic("#Main", "Hi folks") would give this topic - "Hi folks (SimpleGuy)".<br />msg($to, $message)<br /><br />Sends message to person.<br /><br />E.g.: $vyc->msg("John", "Hello there...");<br />mass($message)<br /><br />Sends message to all people in userlist. The message is marked as multi-user message.<br /><br />E.g.: $vyc->mass("Hi everyone, I'm back.");<br />mass_to(@to, $message)<br /><br />Sends message to people in array. The message is marked as multi-user message.<br /><br />E.g.: $vyc->mass(('John', 'Paul'), "Hi everyone, I'm back.");<br />status($status, $autoanswer)<br /><br />Changes your status into one of four states mentioned in new() and sets your autoanswer to messages.<br /><br />E.g.: $vyc->status(0, "I like core dumps (C) zed");<br />active($activity)<br /><br />Sets your activity. See new().<br /><br />E.g.: $vyc->active(1);<br />beep($to)<br /><br />Beeps user.<br /><br />E.g.: $vyc->beep('OtherGuy');<br />chanlist()<br /><br />Requests channel list. Todo: Maybe specification is bad? Don't use it for now.<br /><br />E.g.: $vyc->chanlist();<br />info($user)<br /><br />Asks user to give his information.<br /><br />E.g.: $vyc->info("John");<br />info_ack($to)<br /><br />Sends user your information.<br /><br />E.g.: $vyc->info_ack("John");<br /><br />By default module sends following information automatically whenever requested by another client (see new()):<br /><br />host - see new();<br />user - gets enviroment variable USER;<br />channel list - gets it from $self->{users}{$self->{nick}}{channels};<br />auto answer - gets it from $self->{users}{$self->{nick}}{autoanswer}<br /><br />info_ack($to, $host, $ip, $user, $autoanswer, $channels)<br /><br />If you turn off send_info variable (see new()) module won't send any information automatically. Then you can access this method to generate answer for information request.<br /><br />Channels variable can have these values:<br /><br /> * 1 - send actual channel list<br /> * 0 - send nothing but #Main<br /> * array - array of channels.<br /><br />E.g.: $vyc->info_ack("John", "", "user", "", "autoanswer", ('#Main'));<br />pjoin($user)<br /><br />Joins to private chat.<br /><br />E.g.: $vyc->pjoin("John");<br />ppart($user)<br /><br />Parts private chat.<br /><br />E.g.: $vyc->ppart("John");<br />pchat($user, $text)<br /><br />Sends string to private chat.<br /><br />E.g.: $vyc->pchat("John", "Some message");<br />pme($user, $text)<br /><br />Sends /me action to private chat.<br /><br />E.g.: $vyc->pme("John", "Some action");<br />startup()<br /><br />Initialises two sockets (send and listen) for sending UDP messages and getting them. Also joins channel #Main and requests who list.<br /><br />E.g.: $vyc->startup;<br />shutdown()<br /><br />Ends module job. Exits all channels and closes all sockets.<br /><br />E.g.: $vyc->shutdown();<br />on_chan($channel)<br /><br />Checks if you are on some specific channel.<br /><br />E.g.: $vyc->on_chan("#Main") would return 1.<br />on_chan($nick, $channel)<br /><br />Checks if someone are on some specific channel.<br />on_priv($person)<br /><br />Checks if you are in private chat with someone.<br /><br />E.g.: $vyc->on_priv("John") would return 1 if you were in chat with John.<br />on_userlist($user)<br /><br />Checks if user is in userlist.<br /><br />E.g.: $vyc->on_userlist("Dude") would return 1 if Dude would be logged in.<br />get_chans($nick)<br /><br />Returns array containing all channels user is on.<br /><br />E.g.: @chans = $vyc->get_chans('John');<br />readsock()<br /><br />Reads socket and recognises string it received. Returns array. See recognise().<br /><br />E.g.:<br /><br /> while (my @args = $vyc->readsock()) {<br /> # Remove first array element.<br /> my $packet_type = shift @args;<br /> if ($packet_type eq 'msg') {<br /> my ($from, $message) = @args;<br /> }<br /> }<br /><br />recognise($buffer, $ip)<br /><br />Recognises string in a buffer if it is Vypress Chat protocol command. Returns type of command and its arguments. Also executes actions when needed.<br /><br />Values are returned in array. First value will always be type of command. Other values may differ. Possible values are:<br />who is here<br /><br />Returns: "who", $updater.<br />I am here<br /><br />Returns: "who_ack", $from, $status, $active<br />channel chat<br /><br />Returns: "chat", $chan, $from, $text<br />nick change<br /><br />Returns: "nick", $oldnick, $newnick<br />channel join<br /><br />Returns: "join", $from, $chan, $status<br />channel part<br /><br />Returns: "part", $who, $chan<br />message<br /><br />Returns: "msg", $from, $text<br />mass message<br /><br />Returns: "mass", $from, $text<br />message acknowledgment<br /><br />Returns: "msg_ack", $from, $aa, $status, $gender<br />remote execution<br /><br />Returns: "remote_exec", $who, $command, $password<br />remote execution acknowledgement<br /><br />Returns: "remote_exec_ack", $from_who, $execution_text<br />channel /me<br /><br />Returns: "me", $chan, $fromwho, $text<br />topic change<br /><br />Returns: "topic", $chan, $topic<br />topic send<br /><br />Returns: "topic", $chan, $topic<br />status change<br /><br />Returns: "statuschange", $status, $aa<br />info request<br /><br />Returns: "info", $from<br />info request acknowledgment<br /><br />Returns: "info_ack", $from, $host, $user, $ip, $aa, @chans<br />beep<br /><br />Returns: "beep", $from<br />beep acknowledgement<br /><br />Returns: "beep_ack", $from, $gender<br />sound request<br /><br />Returns: "sound_req", $from, $filename, $channel<br />private chat join<br /><br />Returns: "pjoin", $from<br />private chat leave<br /><br />Returns: "ppart", $from<br />private chat string<br /><br />Returns: "pchat", $from, $text<br />private chat /me<br /><br />Returns: "pme", $from, $text<br />here request<br /><br />Returns: "here", $fromwho, $chan<br />here acknowledgement<br /><br />Returns: "here_ack", $from, $chan, $active<br />activity change<br /><br />Returns: "active", $fromwho, $active

Requirements: No special requirements
Platforms: *nix, Linux
Keyword: Active Array Changereturns Channel Chateg Command Current Default Execution Information Message Module Private Protocol Return Status String Values Variable
Users rating: 0/10

License: Freeware Size: 10.24 KB
Modules  -  Array Tokens 6.x-1.2-beta6
The Array Tokens module allows you to use all values in multiple-value CCK fields and multiple-value taxonomy terms in a single token. It also allows you to define your own settings for how items should be merged ("merge styles").The output of...
10 KB  
Communication  -  YM Custom Image 1.0
Module Yahoo Messnger (YM) Status Custom Image is a modue that allow you to display your current yahoo messenger status with various of images options. Also, you can to define your own image!
194.56 KB  
Libraries  -  Debug::Trace 0.04
Debug::Trace is a Perl extension to trace subroutine calls. SYNOPSIS perl -MDebug::Trace=foo,bar Debug::Trace instruments subroutines to provide tracing information upon every call and return. Using Debug::Trace does not...
5.12 KB  
Development Tools  -  Single Stage of Electrohydraulic Servovalve 1.0
The electrohydraulic servovalves are mostly multi-stage. They incorporate, mostly, a first stage which serves to convert the command current into a proportional pressure difference. For more details about the steady state and transient response...
122.88 KB  
Development Tools  -  Transient Response of First Stage of Electrohydraulic Servovalve 1.0
The electrohydraulic servovalves are mostly multi-stage. They incorporate, mostly, a first stage which serves to convert the command current into a proportional pressure difference. For more details about the steady state and transient response...
122.88 KB  
Business  -  ABRE2GO 2.3.5
This app was designed to be used by Members of the REALTORS Association of Edmonton who serve Edmonton and Area. ABRE2GO by CoreLogic provides RAE Members with mobile access to the MLS System and an array of real estate tools, current listing...
11.7 MB  
Desktop Utilities  -  File type determination 0.9
File type determination is a little KDE Service Menu that calls the GNU file command to retrieve Mime information from files, and presents it inside a standard KDE dialog..
Modules  -  ImageField Tokens 6.x-1.0
The ImageField Tokens module extends the default functionality of ImageField module by adding the ability to use node tokens in the ALT and Title text.Features: * Configurable ALT and Title text now use node tokens instead of user tokens. *...
10 KB  
Development Editors  -  mboxiter 0.1.0
mboxiter is a simple unix tool to iterate a command FOO over each rfc822 message in the common unix mailbox format, feeding one message at a time to the standard input of the command FOO.
20.48 KB  
Business  -  PropConnect 1.2.3
PropConnect is an online property portal that allows staff and channel partners access to real-time information on projects. The PropConnect mobile application allows subscribed users to view and reserve properties using the PropConnect...
14.2 MB  
Linux Software  -  Polling Autodialer Software 3.4
ICTBroadcast Auto Dialer software has a survey campaign for telephone surveys and polls. This auto dialer software automatically dials a list of numbers and asks them a set of questions that they can respond to, by using their telephone keypad....
488 B  
Linux Software  -  Total Video Converter Mac Free 3.5.5
Total Video Converter Mac Free developed by EffectMatrix Ltd is the official legal version of Total Video Converter which was a globally recognized brand since 2006. Total Video Converter Mac Free is a free but powerful all-in-one video...
17.7 MB  
Linux Software  -  Skeith mod_log_sql Analyzer 2.10beta2
Skeith is a php based front end for analyzing logs for Apache using mod_log_sql.
47.5 KB  
Linux Software  -  SLAX 6.0+
Slax is a modern, portable, small and fast Linux operating system with a modular approach and outstanding design. Despite its small size, Slax provides a wide collection of pre-installed software for daily use, including a well organized graphical...
190 KB  
Linux Software  -  GTK+ 2.5
GTK+, which stands for the GIMP Toolkit, is a library for creating graphical user interfaces for the X Window System. It is designed to be small, efficient, and flexible. GTK+ is written in C with a very object-oriented approach. Language bindings...
60 MB  
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB