QUOTE(GKusnick @ Feb 27 2008, 02:00 PM)

skapi.cospell holds information about spells in effect on your character, including spell duration and time remaining.
For spells affecting your equipment, there is no easy way to find out how much time is left. The server doesn't provide that info until the spells actually expire. If you really need to do this, you'll need to keep track of when you last cast spell X on item Y, and do the timing calculation yourself.
Thx alot. For the Items spells, im gonna autobuff those when the timer is expired for creature/lifespells. For me that works great, cause i toss all spells in a buffround.