PDA

View Full Version : New Command: fileexists


R0bin
02-04-2004, 09:40 PM
This should be added

fileexists(filename) = true or false



if (fileexists(nintendosucks.mid)) {
play nintendosucks.mid;
} else {
play http://www.nintendoh8rs.com/nintendosucks.mid;
}



playing it from the website should download it to your harddrive.

HOWEVER, things like web radio and asx files should not be downloaded.

Mykel
02-05-2004, 02:37 AM
Agreed, but couldn't you just upload it to your server and have it play?

haunter
02-05-2004, 02:40 AM
Originally posted by Mykel
Agreed, but couldn't you just upload it to your server and have it play?

No.

R0bin
02-05-2004, 05:04 AM
yeah, because if you upload something, it becomes property of graal online.

WHICH IS BAD IF YOU UPLOAD SOMETHING COPYRIGHTED.

Alexander
02-05-2004, 08:43 AM
uh that command already exists

Duwul
02-05-2004, 03:38 PM
Really? =o

R0bin
02-05-2004, 04:04 PM
Originally posted by Alexander
uh that command already exists

omg?

Alexander
02-06-2004, 06:22 AM
Originally posted by R0bin


omg?

err I'm confused but yea >.< R0bin quit confusing me

that existed for a looooooong time, i think, bad memory :D

R0bin
02-06-2004, 06:18 PM
um... did it? i know it is in php.. i think.. damn this confusion, im going to try it in editor see if it works, then on rc serverside

Ok it works serverside.

Bleh, i didnt know. But it should also be made to work clientside :)

WanDaMan
02-06-2004, 11:11 PM
That's wierd, lol.
Nifty command!

Duwul
02-07-2004, 01:08 AM
I think it's a function. =o