Maybe you were looking for...

How can I toggle/cycle through settings?

I want to be able to cycle through names, scripts or source commands. By cycling i mean switching to another name, script or command after i press a button. P