#include<stdio.h>
#include<string.h>
#include<time.h>
#include<stdlib.h>
#include<SC.h> //whatever you use to call the main header/s
#define MainOrg = "TEST SQUADON BEST SQUADRON!"
void Loop(int i);
int _Loop(int i);
void Spam(void);
int main(int argc, char *argv)
{ srand(time(NULL)); int i, r = rand(); string temp; printf("Welcome to your TEST ship pilot!\n\nPlease drink a MountainDew for verification."); scanf("%s", &temp); if (temp != "drink") { printf("Verification failed!\n\nGoodbye..."); Ship.GetCurrentShip.Eject(); } else { printf("What is your favorite color?"); scanf("%s", &temp); if (strlen(temp) > 0) { Ship.GetCurrentShip.Eject() } else { printf("Welcome aboard pilot, initializing alcohol analyzer..."); Loop(rand); }} return 0;}
void Loop(int i)
{ int k; for (k = 0; k < i; i++) { _Loop(k); Spam(); }}
int _Loop(int i)
{ Loop(++i); }
void Spam(void)
{ printf("%s", MainOrg); }
----------------------------------
I mainly program in C# right now and forgot the len() was python and strlen() is for non-array's (i.e. only strings). :<