RichardNeedsHelp Posted February 7, 2009 Share Posted February 7, 2009 Hello.... I need help making it that.... if a phrase contains certain letters, then it displays a message box......... I know how too make a message box I know how to do an IF statement But Idk how to detect if the phrase they put CONTAINS CERTAIN letters in them. Link to comment Share on other sites More sharing options...
James Posted February 7, 2009 Share Posted February 7, 2009 Wow. The help file knows all. *bows to helpfile* Look up, MsgBox and If. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
BrettF Posted February 7, 2009 Share Posted February 7, 2009 Post your code. I want to see this knowledge you state you have... Cheers, Brett Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
RichardNeedsHelp Posted February 7, 2009 Author Share Posted February 7, 2009 Post your code. I want to see this knowledge you state you have... Cheers,BrettLol.I'm not going to post my code, I'm planning on selling it to people soon.I need to know how to detect if a phrase has certain letters in them. HELP Link to comment Share on other sites More sharing options...
BrettF Posted February 7, 2009 Share Posted February 7, 2009 Well I ask because WE CANNOT READ MINDS. We don't know what your doing wrong. So how about you post a script that replicates your problem. And I LOL at selling something that is made in AutoIt. Make sure you donate to Jon! Cheers, Brett Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
Authenticity Posted February 7, 2009 Share Posted February 7, 2009 Like $Pos = StringInStr($sStory, $sParse);? Link to comment Share on other sites More sharing options...
James Posted February 7, 2009 Share Posted February 7, 2009 No.As your name impiles, Richard does need help! If you're going to sell it, I think we deserve payment too.Dim $sFind = "help" Dim $sLink = "RichardNeedsHelp" If StringInStr($sLink, $sFind, 0) Then MsgBox(0, "Match!", "I found a match!") Else MsgBox(0, "No Match!", "I didn't find a match!") EndIFI wan't 70% of however much you earn as surely if you can't write an if statement then the code wont be too long. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now