sp_base_idle()
sp_base_idle - This doesn't seem to work for anything but brain 1. Although brain 16 would be the only other logical brain (besides 3 or 4 perhaps?) it should work on. Shame.
A double shame is that there are two sprite parameters just for brain 16 sprites that aren't bound to any scripting functions. The first is "action" which is 1 when the sprite is sitting around doing nothing, and 2 while its walking. The other is "move_wait" which is the game tick when it'll start walking again.
Good idea. It'd be fairly trivial to bind them, and the rest of the time they could be used for arbitrary sprite data like "gold" often is.