Is there a way to make the script detect if I'm at or over basement level 500? I want to call another script for power leveling after getting the telescope part, so that I reach 30 without wasting meat on the basement.
I already state that I'm very inexperienced, so please explain things so that I understand and possibly apply on my own in later scripts
The code I have right now, it's the part I want to change:
	
	
	
		
				
			I already state that I'm very inexperienced, so please explain things so that I understand and possibly apply on my own in later scripts
The code I have right now, it's the part I want to change:
		Code:
	
	else if (my_name() == "HasteBro")
{
	if (my_level () >= 13 && my_inebriety () <=19)
	{
		if (my_level () <= 19)
		{
			print ("Welcome Haste Bro. Starting Personalized Farming Routine", "blue");
			cli_execute("call 0 - HasteBro farming.txt");
		}
		else
		{
			print ("Welcome Haste Bro. You're ready to face the Basement. Calling AutoBasement.ash", "blue");
			cli_execute ("call 1 - HASTEBRO Consumption.txt");
			cli_execute("call autobasement.ash");
		}
	}
	else
	{
		print ("Welcome Haste Bro. You can start you daily activities.", "blue");
	}
}