Otts 4 Posted September 15, 2013 Report Share Posted September 15, 2013 Hi, i want to spin text, when you put in what you want span in the ui text box It will randomly spin it Can anyone help me? Quote Link to post Share on other sites
Gogetta 263 Posted September 15, 2013 Report Share Posted September 15, 2013 There is a spin function included in ubot. More info: http://wiki.ubotstudio.com/wiki/Spin ui block text("Spin this!", #spin) set(#write_spin, $spin(#spin), "Global") load html(#write_spin) Quote Link to post Share on other sites
Otts 4 Posted September 15, 2013 Author Report Share Posted September 15, 2013 There is a spin function included in ubot. More info: http://wiki.ubotstudio.com/wiki/Spin ui block text("Spin this!", #spin) set(#write_spin, $spin(#spin), "Global") load html(#write_spin) why does it load a html page? I want it to click "Comment" and then comment what has been span! but it doesnt :/ Quote Link to post Share on other sites
Otts 4 Posted September 15, 2013 Author Report Share Posted September 15, 2013 There is a spin function included in ubot. More info: http://wiki.ubotstudio.com/wiki/Spin ui block text("Spin this!", #spin) set(#write_spin, $spin(#spin), "Global") load html(#write_spin) It always writes the first comment then it will loop and do "{hello|hi|howdy}" as a comment Quote Link to post Share on other sites
Gogetta 263 Posted September 15, 2013 Report Share Posted September 15, 2013 The load html was used just for an example. You can remove that from the code and use the #write_spin variable. 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.