I'm using this code to try to let users select an icon:
name = ""
world << "Clicked on [myPanel]"
usr.icon = icon
usr.icon_state = icon_state
availableIcons -= src
if(global.game && !mob.icon) statpanel("Icon Selector", availableIcons)
The icons show up beautifully, but clicking on an icon in the statpanel doesn't seem to produce any result. What am I doing wrong?