PalTalk FileBot

Paltalk programs

PalTalk FileBot

Postby autopilot » Fri Aug 17, 2007 6:47 pm


This is a bot to serve files in a paltalk room. The way it works is that when it is running and connected to a room, users can ask for files and it will automaticly send it to them.

Commands & Usage:
!list (optional text)
this will cause bot to whisper back to the user each available file.
Example: !list g
Result: file names that start with g will be returned. Note: wild cards (*) do not work in this version.

!get FileName.ext
This will cause bot to send the requested file to the user that requested it.
Example: !get beautiful liar.mp3
Result: beautiful liar.mp3 would get sent to the user that requested it.


This is the first build of this program so please post back details about any problems that you run into. Also let me know what you think would make the program better. If I see enough intrest, I will add it to the program.

autopilot

Note: This will work with any version of Pal 8 or 9

Edit: This program requires .net2

File removed... see update below
Last edited by autopilot on Thu Aug 23, 2007 11:26 am, edited 2 times in total.
User avatar
autopilot
Forum Moderator
Forum Moderator
 
Posts: 356
Joined: Sat Sep 23, 2006 7:19 pm

Postby The_Nekkid_DJ » Sun Aug 19, 2007 8:06 pm

Let me say, that it would be awesome if this could be built into the musicbot, or at least run with it, to allows admins to downlaod tunes, or also add an upload feature.

It would be nice if you could totally use this with whispers, instead of having to post things in room. Also, if you could limit it to admins (using the same file as the music bot).

Beautiful app....Thank you.

Also, would it be possible to standardize on the command syntax...either !command, or command!. Which ever allows for the best response...since when the room is busy, I know the adminbot (with the entrance message on) tends to lag.

-DJ
The_Nekkid_DJ
imFiles Junior
imFiles Junior
 
Posts: 72
Joined: Mon Dec 04, 2006 11:56 am

Postby autopilot » Sun Aug 19, 2007 9:31 pm

The_Nekkid_DJ wrote:or at least run with it, to allows admins to downlaod tunes, or also add an upload feature.

I will be adding the ability to use an approved user list and will look into making it compatible with the musicbot user list. As far as an upload feature, that may be added, but it will not be something i work on soon.
The_Nekkid_DJ wrote:It would be nice if you could totally use this with whispers, instead of having to post things in room. Also, if you could limit it to admins (using the same file as the music bot).

I will be looking into using whispers for commands.
The_Nekkid_DJ wrote:Beautiful app....Thank you.

thanks... hope that all like it.
The_Nekkid_DJ wrote:Also, would it be possible to standardize on the command syntax...either !command, or command!.

I can look into putting in an option to use !command or command!... my thinking is that using command! you can get more accidental requests... so my program will default to !command... i think that an option is doable though so the end user can change it to fit their needs.

Also coming in the next version will be an added command:
!info filename

next version will also allow wildcards in !list

autopilot
Last edited by autopilot on Sun Aug 19, 2007 9:34 pm, edited 1 time in total.
User avatar
autopilot
Forum Moderator
Forum Moderator
 
Posts: 356
Joined: Sat Sep 23, 2006 7:19 pm

Postby The_Nekkid_DJ » Mon Aug 20, 2007 10:04 am

How will you handle many files available...will it break down based on number of results into many whispers?

-DJ
The_Nekkid_DJ
imFiles Junior
imFiles Junior
 
Posts: 72
Joined: Mon Dec 04, 2006 11:56 am

Postby NinjaCoder » Mon Aug 20, 2007 4:02 pm

interesting proggie there autopilot. would be good if u can hook it up to a server. like a webserver and have it serve the files that way. so ur not serving from ur own pc. know wut i mean? :D
NinjaCoder
 

Postby autopilot » Tue Aug 21, 2007 8:51 am

The_Nekkid_DJ wrote:How will you handle many files available...will it break down based on number of results into many whispers?

In the next version, you will be able to configure how many files are grouped together per whispered response. This must be carefully used though due to the PalTalk limit on the size of posts. If the whispered response is too big, it will not get sent!

But it will also be able to do something like "!list *sweet*" to only return files with sweet in the name.

autopilot
User avatar
autopilot
Forum Moderator
Forum Moderator
 
Posts: 356
Joined: Sat Sep 23, 2006 7:19 pm

Postby autopilot » Tue Aug 21, 2007 8:57 am

NinjaCoder wrote:interesting proggie there autopilot. would be good if u can hook it up to a server. like a webserver and have it serve the files that way. so ur not serving from ur own pc. know wut i mean? :D

This is not something that I plan on doing. First of all, to do something like that, you would have to download the file to a local temp location on your HD then send it to pal. Or you could send just the link to the file and they could follow the link to get the file off the webserver. Either of which I am not going to incorperate into my program.
User avatar
autopilot
Forum Moderator
Forum Moderator
 
Posts: 356
Joined: Sat Sep 23, 2006 7:19 pm

Postby autopilot » Thu Aug 23, 2007 11:39 am

This is FileBot v1.0.1.1

Features added:
1 - Use !Command or Command!
2 - Approved user list (can be configured to use same list as music bot)
3 - Support for whispered commands
4 - Can configure number of file names returned per whisper for the !list command
5 - Can use wildcards with the !list command

Commands added:
!info FileName.ext
Example: !info beautiful liar.mp3
Result: information about file beautiful liar.mp3 would get sent to the user that requested it.

go to File - Setup to configure FileBot options

Please post back any feedback

autopilot
Attachments
FileBot_1_0_1_1.zip
FileBot v1.0.1.1
(63.38 KiB) Downloaded 120 times
Last edited by autopilot on Thu Aug 23, 2007 12:42 pm, edited 3 times in total.
User avatar
autopilot
Forum Moderator
Forum Moderator
 
Posts: 356
Joined: Sat Sep 23, 2006 7:19 pm

Postby The_Nekkid_DJ » Wed Aug 29, 2007 9:11 am

Works well, can I ask a few things?

1. can you put in an option to prevent !list or !list * from dumping a complete list. I have 8000 songs in a folder for the music bot, I am using this so Admins can download a song if needed. If you do !list or !list * it takes up a ton of CPU and floods you with whispers until all 8000 songs are listed even if I set the 8 at a time setting. So if you can do like 8 at a time 20 total...or something like that, or just prevent returning results if no search tem is used....what do you think?

Other than that...I ssee a lot of good use to this, especially if it can be combined in with the Admin bot or Music Bot.

-DJ
The_Nekkid_DJ
imFiles Junior
imFiles Junior
 
Posts: 72
Joined: Mon Dec 04, 2006 11:56 am


Return to Paltalk Programs

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests