Newcomers
This is a forum for newcomers to the Personality Forge. Many questions can be answered by reading the Book of AI and the FAQ under the "My Bots" link in the upper corner.
		
		
			Posts 7,885 - 7,896 of 8,137		
		
		
		
					
		
			
				
				
	
		
			
			
			
		
				
									
			
		
			
				
				
	
		
			
			
			
		
				
									
			
		
			
		
			
		
			
		
			
				
				
	
		
			
			
			
		
				
									
			
		
			
				
				
	
		
			
			
			
		
				
									
			
		
			
				
				
	
		
			
			
			
		
				
									
			
		
			
				
				
	
		
			
			
			
		
				
									
			
		
			
		
			
				
				
	
		
			
			
			
		
				
									
			
		
			
		
		
	
	
			Posts 7,885 - 7,896 of 8,137		
		
		
	
	
	
	
				Many questions are answered in the FAQ.
			
			
				Maryguise				
4 years ago
		4 years ago
			Use AIScript. default "no" as "requirement", in the KP that's required to unlock the other one, have rem "yes" as only "requirement", and in the unlocked one have if (mem-requirement) is "yes"		
	
				Warrior25				
4 years ago
		4 years ago
			Unable to have more than one thing in the AIscript even if I use comma then space or enter, the AI script inizialitation doesn't allow more than one.		
	
				Warrior25				
4 years ago
		4 years ago
			ERROR: The following AIScript statement is incorrectly formatted or not valid for Keyphrases: "(mem-requirement) is "yes"". Please correct this and try again.
Also I don't understand? What keyphrase would be the locked one? There should be a locked one then the one that unlocks it and then the unlocked one? Plus how would I get them to activate each other without using seeks
	Also I don't understand? What keyphrase would be the locked one? There should be a locked one then the one that unlocks it and then the unlocked one? Plus how would I get them to activate each other without using seeks
				Maryguise				
4 years ago
		4 years ago
			You missed the if statement on that one you just posted. if (mem-requirement) is "yes". So something like this (with an actual use for once, though matching with it again will cause an error):
[in init] def "chestStatus" as "closed"
open chest [0,0]
[tab] Chest opened <?PF once; rem "chestStatus" as only "open" ?>
look in chest [0,0]
[tab] The chest is locked! <?PF if (mem-chestStatus) is "closed" ?>
[tab] The chest contains nothing - someone's already emptied it! <?PF if (mem-chestStatus) is "open" ?>
The formatting is for working offline, with the tabs and <?PF ?> tags
	[in init] def "chestStatus" as "closed"
open chest [0,0]
[tab] Chest opened <?PF once; rem "chestStatus" as only "open" ?>
look in chest [0,0]
[tab] The chest is locked! <?PF if (mem-chestStatus) is "closed" ?>
[tab] The chest contains nothing - someone's already emptied it! <?PF if (mem-chestStatus) is "open" ?>
The formatting is for working offline, with the tabs and <?PF ?> tags
				Warrior25				
4 years ago
		4 years ago
			ERROR: The following AIScript statement is incorrectly formatted or not valid for Keyphrases: ""if (mem-requirement) is "yes"". Please correct this and try again.
Yeah didn't work either I tried it with a seek? Idk what to do
	Yeah didn't work either I tried it with a seek? Idk what to do
				Maryguise				
4 years ago
		4 years ago
			Have you tried moving the AIScript to the response and having another response with if (mem-requirement) is not "yes"? Not done much with AIScript on KP/Seek (It looks like you have a hanging quote at the start, too, which might be your issue? The errors are a pain sometimes, but there's five quotes there, which doesn't add up).		
	
				DarwinBlack				
4 years ago
		4 years ago
			How does Conversational AI help to improve the CX? Please share your thoughts about this topic.		
	» More new posts: Doghead's Cosmic Bar