The following function published interface allows the creation of bones via MAXScript.
Interface: BoneSys