Manage variables in an advanced MetaBot

Manage the variables created in "Create local variable in a MetaBot."

Prerequisites

Verify that you have the following access and permissions:

Complete the Add Logic and variables to an advanced MetaBot before starting this task.

Procedure

  1. Open the LOGIC created in Add Logic and variables to an advanced MetaBot.
  2. Click Get Bitcoin Price in USD.
    Tip: Adjust the columns inside under Actions List so that the Class and list methods are visible.
  3. Expand the MyApp4Lib.dll in the DLL pane.
    VisibleBotMethods contains a list of all the methods included in the MyApp4Lib.dll.
    Tip: If MyApp4Lib.dll is not visible, click Next or Previous to see other DLLs in the MetaBot.
  4. Expand MyApp4Lib.dll and MyApp4Lib, and then select VisibleBotMethods.
  5. In the Class pane, click String GetPriceOfBitcoin(String Currency).
    A dialog with the title Get Bitcoin Price in USD pops up.
  6. Click in the Value field.
  7. Press F2.
  8. Select Currency from the list of variables.
  9. Click Insert.
  10. Select the check box next to Assign output to variable.
  11. Select Price from the drop-down list.
  12. Click Add.
  13. Click Save in the Client menu banner.

Next steps

Combine all the steps to make the MetaBot work, go to Assemble an advanced MetaBot.