LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-16-2010, 05:27 PM   #1
RetroXYZ
LQ Newbie
 
Registered: Mar 2010
Posts: 1

Rep: Reputation: 0
Pidgin Plug-in Pseudo-bot


I'm trying to find the simplest way to create a Pidgin plugin to act as a sort of bot. Basically, I want to be able to run:
my-program 'message_sent_or_received'
Whenever I get a message, or send one.

(replacing ' with \', to avoid breaking the quotes and all of the security issues that might occur)

And then, Pidgin would send the output of this command that would normally go in a terminal back to the client. For example, if someone (or me) entered "!hello-world," then, the program would get the string of "hello-world" and output "Hello, World!" This is basically my idea of a makeshift IRC-like bot that would be relatively easy to do.

I would assume that there would be some sort of plug-in for this; it's relatively simple in concept, and I would be able to program the parsing part, however, I don't know where I would start on the plug-in part of this, or if one is already available.

Also, to clarify, I'm not asking for people to make something for me. Rather, I'm asking on how I might go about programming it, and/or if there's something that's already made that I should look at.

Last edited by RetroXYZ; 03-16-2010 at 05:38 PM.
 
Old 04-06-2010, 01:37 AM   #2
Mr-Bisquit
Member
 
Registered: Feb 2009
Distribution: FreeBSD, OpenBSD, NetBSD, Debian, Fedora
Posts: 770
Blog Entries: 52

Rep: Reputation: 68
There should be dev files for libpurple and an irc channel.
 
  


Reply

Tags
bot, pidgin



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Pidgin Plug-in For Embedding Videos Into Conversations LXer Syndicated Linux News 0 11-12-2009 06:20 PM
Problem with Pidgin when chatting with someone else using Pidgin on Ubuntu trainee Slackware 1 06-10-2009 04:52 AM
Pidgin Bot. Dante Linux - Software 2 01-02-2009 04:20 AM
Regarding Pseudo tty, Pseudo terminals ? mqureshi Programming 0 07-30-2005 10:51 AM
Plug-ins, Plug-ins, Plug-ins, those damn Plug-ins!! GRRRR!! Ausar Linux - Newbie 1 06-09-2004 03:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration