if message is "XYZ" then do next step (not working)?

Shani shani.runrev at gmail.com
Mon May 3 13:14:02 EDT 2010


Hi, 

I receive a message through String that "XYZ reached at goal".

When I try this 

But this command not work where as the second command work 

1.                                        if pResult is "XYZ reached at
goal" then 

                                              click at the loc of btn
"StartGoal"

                                               end if 

 

 

This command works.

2.                                                     if pResult is empty
then 

                                                          click at the loc
of btn "StartGame"

                                                          end if

 

 

pResut in which I use for displaying the string.

 

 Regards,

SHANI




More information about the use-livecode mailing list