RPG Starter

by Falacy
An Open Source Demo/Game with everything you'll need to get started on your very own BYOND Game!
ID:292232
 
Is there any way to get list from http://hassanjalil.angelfire.com/subscription.txt and then put it in Html like this
Yes
In response to Falacy
can you show me how
In response to Hassanjalil
Just use copytext to split the sub list into its parts, then loop through them and create the HTML
In response to Falacy
but how shell i make sure that the name stays one place
In response to Hassanjalil
and is it possible to create a list storing all subscriber keys and expiry date
In response to Hassanjalil
Hassanjalil wrote:
and is it possible to create a list storing all subscriber keys and expiry date

That's what I just told you to do
In response to Falacy
mob
proc
TXTtoHTML()
var/http[]=world.Export("http://www.angelfire.com/getenks/Subscribers.txt")
var/F=http["CONTENT"]
var/key
var/date
if(F)
var/FX=html_encode(file2text(F))
key=copytext(FX,1,findtext(FX,"/"))
date=copytext(FX,findtext(FX,"/")+1)
SUBLIST[key]=date
for(var/M in SUBLIST)
usr<<"[M]=[SUBLIST[M]]"

verb
Test()
usr.TXTtoHTML()
this is the code i used and this is the list i am getting
BOF=01-01-00
Get Games/01-01-99
Getenks/01-01-99
Quixotic/04-12-99
Falacy/01-01-99
ShadowXLX2/01-01-99
Ajith/01-01-99
SSJ Sreehari/08-10-99
Vysakh_vegeta/01-01-99
SSJ Jais/01-01-99
95faridbang95/10-11-99
Redteks/12-11-99
Tugastef/01-01-99
Hassanjalil/01-01-99
KakarottSSJ3/18-03-99
Silent Assain/01-05-99
EOF/01-01-99
In response to Hassanjalil
You could just use params2list and list2params, that would return the right type of lists you're looking for.
In response to El Wookie
Only if he changed the format of his text file
In response to Falacy
Which doesn't look like much of a problem, unless that's just a preview of his list.
In response to El Wookie
what do you mean with preview
In response to Hassanjalil
Not the real thing is what he means.
In response to Mner2
thats the way i design my subscription and that is the real thing