ID:161897
 
Is there a simple way to convert an icon's File Name to a useable text string for associated lists?
You shouldn't need to. For example, this works:

var/list/L = list('turf.dmi'="turf", 'mob.dmi'="mob")

client/Click(atom/A)
if(L.Find(A.icon))
world << L[A.icon]
else
world << "NONE FOUND"
In response to Garthor
hmm, perhaps.