Jump to content
UBot Underground

[SOLVED] ui drop down


Recommended Posts

I have a ui drop down, with 3 values in it, corresponding variable: #search.

 

I want to run an if command, if value 1 then run this define, if value 2 then run this define, if value 3 then run this define.

 

I'm just not sure what condition to run commands, what do I need to put in there to pull the #search variable with the right value?

 

Thanks,

 

Richard

Link to post
Share on other sites

I ran an If Condition for each variable, so for mine I have 3 If statements.

 

In the If Statement, I use $contains, for the text I put in the variable that it goes with, and in the Text to search for, I put in the value.

 

For example, my values are Google, Yahoo, Bing. So in the first If command, I have $contains, Text #search, Text to search for, Google.

 

In the Then, I run the define statement I setup for Google. In the Else part, I left it blank.

 

Richard

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...