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 

patch for imdb.tcl version 20030014

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive
View previous topic :: View next topic  
Author Message
codemonkey
Guest





PostPosted: Wed Sep 03, 2003 3:16 pm    Post subject: patch for imdb.tcl version 20030014 Reply with quote

try and apply the following patch
----------8<-------------------------------------------------------8<--------------24c24
< set imdburl "http://www.imdb.com"
---
> set imdburl "http://us.imdb.com/title/"
163,164c163,165
< #putserv "NOTICE $nick : $oldpage(meta)"
< set newurl [string range $location 9 [expr [string length $location] - 12]]
---
> #putserv "NOTICE $nick : $oldpage(meta)"
> regexp {([0-9]+)} $location all num
> set newurl "${imdburl}tt${num}/"
----------8<-------------------------------------------------------8<--------------
eg. patch -p0 imdb.tcl patch.diff

will hopefully work =)
Back to top
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive 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