Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   New Command: fileexists (https://forums.graalonline.com/forums/showthread.php?t=50863)

R0bin 02-04-2004 09:40 PM

New Command: fileexists
 
This should be added

fileexists(filename) = true or false

NPC Code:

NPC Code:

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

Quote:

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

Quote:

Originally posted by Alexander
uh that command already exists
omg?

Alexander 02-06-2004 06:22 AM

Quote:

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


All times are GMT +2. The time now is 01:05 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.