SitePoint Sponsor |
|
User Tag List
Results 1 to 4 of 4
Thread: Help Me with simple script
-
Nov 10, 2004, 17:13 #1
- Join Date
- Nov 2004
- Location
- rochester hillz
- Posts
- 4
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Help Me with simple script
Help ME with script
hello im looking for a javascript, pretty simple but im nothing for making scripts, i just create and design web sites. Well i need a script that does this.
Searchs web site<http://eternal-lands.solexine.fr/~radu/online_players.htm> for a name. and if it finds the name it puts up this image http://www.freewebs.com/shadowtactics/Online1.jpg, if it does not find a match it displays this http://www.freewebs.com/shadowtactics/offline.jpg.
Eternal lands is an mmorpg i play with alot of my friends and have been wanting an online/offline status page for a while. That is simply all i ask a sample page of what im asking for here -->http://www.iostr.com/scoguild/online.php, please help me im no good at scripting.
-
Nov 10, 2004, 18:42 #2
- Join Date
- Nov 2004
- Location
- Midlands, UK
- Posts
- 93
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
if all members have ICQ then you can set the site to say if there online.
Code like that can be found on there site.
other than that you could make a small .php file which allows each individual to set there online/offline status.
-
Nov 10, 2004, 20:39 #3
- Join Date
- Nov 2004
- Location
- rochester hillz
- Posts
- 4
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
but this does not help me, thnx tho
-
Nov 11, 2004, 11:35 #4
- Join Date
- Jul 2004
- Location
- Melbourne, VIC, Australia
- Posts
- 221
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
basicly using that page your pattern is simple, you get a list of everything between <a href> and </a> that meaning you would get the players name, now a simple thread has already been talking about this topic so i'll direct you there and hopefully you can figure it out..the regex would change a little bit but nothing too major
http://www.sitepoint.com/forums/showthread.php?t=207489
if you get lost then post again and im sure we can all help you out
Bookmarks