ID:273884
 
I'm using flist() to get a list of all the icons in my graphics folder, and I want to qiuckly change them all at the push of a button via icon() or new/icon()

How can I do this? If I try passing the file name into icon() or icon() in double quotes it won't work, and if I use file() it won't work either.
This has worked for me:
var/icon/i = icon(file("file/path.dmi"))
world << i
In response to DivineTraveller
Ah, I had to include the path.