how do you properly use the or statement in this situation, i cant seem to find my way through it
I am checking to see if the Text in the Combobox matches what it needs to match in order for the script to work. Its a failsafe
The below code works for checking the text of one of the Options but i have multiple Options that could be a possibility i need to check for. for example if the text is not 'Man' 'Woman' 'Spider' 'Vampire' 'Billy Bob' then i want to display the message to pick a valid Npc
Simba Code:if(not(Comboboxes[0].Text = 'Man')) then
begin
ShowMessage('Please choose a valid NPC.');
Exit;
end;
thanks



Botted to max
Reply With Quote





