| View previous topic :: View next topic |
| Author |
Message |
Globulus Voice
Joined: 20 Mar 2009 Posts: 8
|
Posted: Fri Jun 04, 2010 9:29 am Post subject: LastXDCC.tcl catch XDCC announce from Iroffer bots |
|
|
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 |
|
 |
alphaz Voice
Joined: 26 Jun 2010 Posts: 3
|
Posted: Sat Jun 26, 2010 3:36 pm Post subject: gLXbotslist special characters |
|
|
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 |
|
 |
Globulus Voice
Joined: 20 Mar 2009 Posts: 8
|
Posted: Sun Jun 27, 2010 1:05 pm Post subject: |
|
|
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 |
|
 |
|