Jump to content
UBot Underground

List Box change name to number [SOLVED]


Recommended Posts

I have a List Box UI that shows categories.

 

example:

 

Apples

Bananas

Peachy

 

The url for the site requires the name to be translated into a number.

So in this case for the category Bananas the number is 2.

 

So i tried to do the following:

 

IF => #CATEGORIES = BANANAS // Determine whether the category Bananas is selected

THEN => Set #CATEGORIES 2 // If Bananas is selected the #CATEGORIES is set to 2 in the further script

 

So i want to determine which category is selected and "translate" the category into a number by Set.

This does not work.

 

Anyone have an idea?

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