egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

LastXDCC.tcl catch XDCC announce from Iroffer bots

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
Globulus
Voice


Joined: 20 Mar 2009
Posts: 8

PostPosted: Fri Jun 04, 2010 9:29 am    Post subject: LastXDCC.tcl catch XDCC announce from Iroffer bots Reply with quote

Hi all,

new script avalaible here will be in TCL Archive when approved.
[Update] Now in TCL Archive: Click Here

I hope this will help some people, works fine since one month for me.


Code:

#                                                                       #
# This script will look on the chan for iroffer bot announce and keep it#
# in memory. When asked bot can reshow them on the chan or privately.   #
# Script check automatically if old announce ID have been change or not #
# By example if your bot is alphabet ordered and you have a new release #
# #ID 100 but 200 releases in total on bot all releases 100+            #
# change their ID so old bot announce can't be good but the script      #
# change it so !last will show good informations                        #
#                                                                       #
# Script tested with Iroffer 3.20 to 3.21Beta19                        #
#                                                                       #
# I'm not a coder so script can be not clean and bugged                 #
# If you provide a reproductible issue I can fix it if possible         #
# globulus.thora[you know the sign]gmail.com                            #
#                                                                       #
#
Back to top
View user's profile Send private message
alphaz
Voice


Joined: 26 Jun 2010
Posts: 3

PostPosted: Sat Jun 26, 2010 3:36 pm    Post subject: gLXbotslist special characters Reply with quote

eggdrop crash when there's nicks like "MP3P-\]AMC[\-0XX" in gLXbotlist

i tried with
Code:
 set gLXbotslist "JavieR MP3P|Stuck|IYA"

and it worked!..

I think it is because the special characters like "[] / \"

---------------------------------------------------------------------------------------

other cuestion..
Code:
bind pubm - "* /msg *XDCC SEND*" pub:recordcheck

will this recognize the beginning of xdcc announcement or every pack should contain that regexp?
im asking because i announced for example:
Code:

** To request a file, type - /MSG JavieR XDCC SEND #x
#1 1x [8.2M] the_roots-freestyle-(rapcity_0914)-xvid-2006-indica.avi
#2 4x [98.2M] the_roots-freestyle-(rapcity_0914)-xvid-2006-indica.avi
#3 7x [12.2M] the_roots-freestyle-(rapcity_0914)-xvid-2006-indica.mp3
Total Offered: 100.23 MB Total Transferred: 205.04 MB


and this is what i get:
Code:

 14:33  @Sidekick        •  === Last 3 XDCC BOT announces on ##prueba ===
 14:33  @Sidekick        • ** To request a file, type - /MSG JavieR XDCC SEND #x
 14:33  @Sidekick        • ** To request a file, type - /MSG JavieR XDCC SEND #x
 14:33  @Sidekick        • ** To request a file, type - /MSG JavieR XDCC SEND #x


Do i did something wrong?
Back to top
View user's profile Send private message
Globulus
Voice


Joined: 20 Mar 2009
Posts: 8

PostPosted: Sun Jun 27, 2010 1:05 pm    Post subject: Reply with quote

First, for nicks you can do the following:
put each name (even normal) between { and } and add \ before each special chars.
So in your case will be:
{MP3P-\\\]AMC\[\\-0XX}

Will be specified in next release.


I'm not sure to understand your second problem, normally when a bot add a new release he announce something like this:

Code:
[added] [HorribleSubs] Uraboku - 12 [480p].mkv - /MSG A|FanserviceBot XDCC SEND 486


Script catch specific lines with "* /msg *XDCC SEND*" on it and after this check if bot is in the list if yes he record the announce.

Which command do you use on iroffer to announce following lines?
Quote:
** To request a file, type - /MSG JavieR XDCC SEND #x
#1 1x [8.2M] the_roots-freestyle-(rapcity_0914)-xvid-2006-indica.avi
#2 4x [98.2M] the_roots-freestyle-(rapcity_0914)-xvid-2006-indica.avi
#3 7x [12.2M] the_roots-freestyle-(rapcity_0914)-xvid-2006-indica.mp3
Total Offered: 100.23 MB Total Transferred: 205.04 MB
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber