Ok, have attached a bot that contains a sub that returns true or false (1 or 0) if a string (the haystack) contains another string (needle). Have included the run sub call and an alert to display what the sub returns true or false. Should be straight forward to modify it to work it into your bot, if you're having trouble though, just gimme a shout. contains_bot.ubot