Now, I don't know if this is a bug or something but I find it quite strange (you need to be away to test it) :
/scon 1 echo -ta Bug ? > $duration($!awaytime)
But if you put $!awaytime in %x and then do $duration(%x), it all works out well !
Have I mist out something here or can't mIRC evaluate the $duration($!awaytime) all in once ?
Make out your own tests and tell me what you find lol