Example: If you're standing south, and you move north then east, and you still had the stat panel open, your icon wouldn't update in the panel.
mob
Stat()
statpanel("Statistics")
stat(src)
stat("Health:","[usr.health]/[usr.maxhealth]")
stat("Magic:","[usr.mp]/[usr.maxmp]"
I'm not sure if this is good though...