Bealad00 3 Posted December 11, 2014 Report Share Posted December 11, 2014 Hello, Here is what i am trying to do exactly.1. I want to grab list of usernames from column 0 of a text file. (Done)2. List all usernames in a dropdown menu (Done)3. When i select "x" username from dropdown menu and run the bot i want the bot to load all items that are in the same row of which the "X" username is located on. ( Not Sure How to Do this ) I would really appreciate if someone can help me out with this. Thanks in Advance. Quote Link to post Share on other sites
HaHaItsJake 25 Posted December 11, 2014 Report Share Posted December 11, 2014 Hello, All you would need to do is add a "IF" and if that drop down is selected, set the row # to the row # and pull all information from $table cell with that row #. So, if X is on row 4, NOTE: Code might not work, typed it on my phone they should.. Vars/Names are lame I know. lol if($comparison(#x, "=", "x")) { then { set(#row, 0, "Global") } else if($comparison(#x, "=", "a")) { set(#row, 1, "Global") } } comment("Keep adding \"Esle If\" to find the row.") OR If you have Large Table Plugin or another table plugin that lets you search the table, plugin command("Bigtable.dll", "Clear all Large Tables") ui drop down("Pick On", "IznP, tAVs, vprz, 6S7T, oWzR", #Item) comment("Adding reqired data to show the command properly. ") add list to list(%test, $list from text("IznP, tAVs, vprz, 6S7T, oWzR", ","), "Delete", "Global") plugin command("Bigtable.dll", "Create Large Table", "test", 5, 1) set(#Row, 0, "Global") loop(5) { plugin command("Bigtable.dll", "Set Large Table cell", "test", #Row, 0, $next list item(%test)) increment(#Row) } comment("MAIN COMMAND POINTING OUT. VVVV") set(#aaaaRow, $plugin function("Bigtable.dll", "Large Table Search", "test", #Item, "Row"), "Global") alert("Row Is: {#aaaaRow}") PLUGIN: http://www.ubotstudio.com/forum/index.php?/topic/16308-free-plugin-large-data/ Let me know if this helps. Regards,HaHaItsJake Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.