ID:2378852
 
(See the best response by Flick.)
Code:
var/X = input("Please select a sound file.","Choose an audio file.") as sound


Problem description:

https://i.imgur.com/yNpUe6q.png

With the above code, you get a window to select a file that looks like that which is fine, but this window has no cancel button.

So if you cant find the appropriate file you're looking for, there's no way to close the window without selecting a random file, which then uploads it to the server and eats up needless server bandwidth, is to reconnect to the server.

Is there an alternative way of doing this which would allow someone to change their mind once the window is open?
Best response
IceFire2050 wrote:
Code:
> var/X = input("Please select a sound file.","Choose an audio file.") as null|sound
>

Im pretty sure that would do it.