This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

LastXDCC.tcl catch XDCC announce from Iroffer bots

Support & discussion of released scripts, and announcements of new releases.
Post Reply
G
Globulus
Voice
Posts: 8
Joined: Fri Mar 20, 2009 12:54 pm

LastXDCC.tcl catch XDCC announce from Iroffer bots

Post by Globulus »

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: Select all

#                                                                       #
# 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                            #
#                                                                       #
#
a
alphaz
Voice
Posts: 3
Joined: Sat Jun 26, 2010 2:56 pm

gLXbotslist special characters

Post by alphaz »

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

i tried with

Code: Select all

 set gLXbotslist "JavieR MP3P|Stuck|IYA"
and it worked!..

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

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

other cuestion..

Code: Select all

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: Select all

** 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: Select all

 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?
G
Globulus
Voice
Posts: 8
Joined: Fri Mar 20, 2009 12:54 pm

Post by Globulus »

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: Select all

[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?
** 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
Post Reply