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.

TCL Script Help Please....

Old posts that have not been replied to for several years.
Locked
x
xolite

TCL Script Help Please....

Post by xolite »

Hey All,

I have searched the forums in hoping i could find a script that would come close to what i need ( or code example ):

What i am trying to do is :

Check this url Every 5 Minutes :
http://www.neopets.com/objects.phtml

If that url has "Maintaince" on it ( or a line of text i can search for

putserv "PRIVMSG $chan : Sorry Neopets.com Is Down For Maintance"

and will repeat it every definable time, ( i.e 15 minutes ) until it does not say the string ( Maintaince ) it would then "Yah Neopets is Back Online! - Click Here To Play - http://www.neopets.com/"

And recycle , as well i am sure i might beable to figure out !status <-- and it would manual check the site heh.

If your a Neopets fan, you can see why i would like a script that does something of this sort, ( the text out put if it was random would be funky ), i do not know what the cost is to have someone help me or write it, or if someone knows of a script that will check text on a page, i will make do with what i can for the channel, i have looked and looked and i figured i would post to see if i could find someone to lend a hand :)

Thank you all in advance.
Xolite
g
greenbear
Owner
Posts: 733
Joined: Mon Sep 24, 2001 8:00 pm
Location: Norway

Post by greenbear »

You could use egghttp.tcl found on www.tclscript.com/ to get the information from the webpage.

Just search this forum for numerous examples on how to use the script.
Locked