ok so basically what im wanting to do is setup functions and call on them later...
this is kind of what i want
void mainmenu(){
//what i want in there...
//if statements etc
}
void etc()
{
//whatever goes here}
int main() // and then have them get called on here
{
void mainmenu();
void etc();// and then is there a way where i can do it where as i go through my script and have if statements etc it dosnt keep showing it, like after i have a if statement and then have another one, when they do the second if statement the first would stop showing up
}
what im doing this for is basically information, just a simple interactive information script where it has a menu, you select what you want, it moves to the next menu and etc etc
i know how to do everything BUT do the functions as stated up ^^ and also make it so when you move from say, the main menu to etc, it stops showing the main menu and starts it at etc.
thanks for the help please post etc... xD