Alrighty, this is how you make a macro to have your elder titles switch on your character periodically
First off, the basic command for all of this is /setcurrentskilltitle
To have your title switch you are going to want something like this:
/setcurrentskilltitle combat_unarmed_master which will make your title Teras Kasi Master, if you had mastered it pre-NGE
the different titles are as follows:
Combat profs
combat_brawler_master
combat_polearm_master
combat_unarmed_master
combat_1hsword_master
combat_2hsword_master
combat_marksman_master
combat_pistol_master
combat_carbine_master
combat_rifleman_master
combat_bountyhunter_master
combat_commando_master
combat_smuggler_master
Crafting Profs
crafting_artisan_master
crafting_chef_master
crafting_armorsmith_master*
crafting_weaponsmith_master*
crafting_architect_master*
crafting_merchant_master*
Social Profs
social_politician_master
social_entertainer_master
social_dancer_master*
social_musician_master*
Science (medic) profs
science_medic_master
science_doctor_master
science_combatmedic_master*
Outdoors Profs
outdoors_scout_master
outdoors_ranger_master
outdoors_squadleader_master
* = unsure on title
So now, say that you want three titles, Elder Commando, Elder Bounty Hunter, and Elder Smuggler, each one switching to another every 10 seconds.. you would make this macro:
Title: TitleSwitch
/setcurrentskilltitle combat_commando_master
/pause 10
/setcurrentskilltitle combat_bountyhunter_master
/pause 10
/setcurrentskilltitle combat_smuggler_master
/pause 10
/macro TitleSwitch
Enjoy

and let me know if you find any missing titles and/or faulty ones
In response to dirtnose: I can confirm that this has not been nerfed as of fifteen minutes ago. As i said above, some of these titles may not work, and have yet to be discovered.