Jump to content
Sign in to follow this  
RichardNeedsHelp

Help please!

Recommended Posts

RichardNeedsHelp

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.

Share this post


Link to post
Share on other sites
BrettF
RichardNeedsHelp

Post your code. I want to see this knowledge you state you have... :)

Cheers,

Brett

Lol.

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

Share this post


Link to post
Share on other sites
BrettF

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

Share this post


Link to post
Share on other sites
Authenticity

Like $Pos = StringInStr($sStory, $sParse);?

Share this post


Link to post
Share on other sites
James

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!")
EndIF

I 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.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.