Tum 0 Posted March 6, 2011 Report Share Posted March 6, 2011 Hi guys, Could someone please just explain how i can add various different numbers to a list, without using a file ? If i have the numbers 234, 456, 6789, 4321, 9802, 4562, 5678, 9845, 34567, 432 And then wanted to add to a list am trying to do it like this add to list then in the content i put all the numbers seperated by commas But this is just putting the whole numbers as a whole in 1 list position, so when it selects the position it doesnt select 234 for the first number, it has all the numbers there seperated by commas still. Obviously am doing something wrong. Quote Link to post Share on other sites
Enigma 78 Posted March 6, 2011 Report Share Posted March 6, 2011 http://i.imgur.com/FSUcO.png That works but for some reason when i let a statmonitor count the items in %numbers it will be 1, while there are 3 in the file Quote Link to post Share on other sites
Tum 0 Posted March 6, 2011 Author Report Share Posted March 6, 2011 That seems a long winded way to add a simple list of numbers to a list ! Quote Link to post Share on other sites
UBotBuddy 331 Posted March 6, 2011 Report Share Posted March 6, 2011 This is a shorten version. http://screencast.com/t/lErwcvMEdL But I do not think it adds to the list count numbers. Quote Link to post Share on other sites
Tum 0 Posted March 6, 2011 Author Report Share Posted March 6, 2011 Okay i have just figured it out now. Got a little rusty from not using ubot. You use "add to list", then use the variable constant "list from text", and add the list there, and select the character you seperate the list with. Quote Link to post Share on other sites
Enigma 78 Posted March 6, 2011 Report Share Posted March 6, 2011 This is a shorten version. http://screencast.com/t/lErwcvMEdL But I do not think it adds to the list count numbers. I tried that but without the $newline.Then my mind switched to Set Anyway great solution Botbuddy Adding a statmonitor with $listtotal of %numbers should show the total items in the list.For some reason it did not worked on that file. Quote Link to post Share on other sites
DarkAngel 10 Posted March 7, 2011 Report Share Posted March 7, 2011 Okay i have just figured it out now. Got a little rusty from not using ubot. You use "add to list", then use the variable constant "list from text", and add the list there, and select the character you seperate the list with. That should work fine too. Quote Link to post Share on other sites
Praney Behl 314 Posted March 7, 2011 Report Share Posted March 7, 2011 Here you go Tum, A quick working example attached to the post: Tun_addtolist_Praney.ubot Praney 1 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.