mob/verb/Send_File(client/person in world,filez as file)
switch(alert(person,"[usr] is trying to send you [filez]. Do you accept the file?","**File Transfer**","Yes","No"))
alert(usr,"[person] accepted the file","File Accepted")
alert(usr,"[person] declined the file","File Declined")
I can execute this as a command from the client and I get a window that allows me to select the file but when I try to execute it as code :
It doesn't do the same thing. How can I get it to work this way inside my code? Thanks.