WhiteHatBox
Share Page
Following(0)
Partner(s)
mokote

question about spintax and randomization

ReplyThanks 2016/05/27 09:10:00 0 0

hello,

I can't figure out how to use spinnable text. for now i use variable string type to store my text, but they are static.

second question: how to setup random "control operate"?

for example. I have 3 buttons on page and in every bot run I want to click in it randomly.


Regards

Danksta
2016/05/28 04:13:44

Make a table with 1,2 and 3.

Make a string and then variable operate, then choose randomly any one of those 3 from it. After that make 3 "if" statements, if string==1, then control operate 1, if string==2, control operate 2 and so on.


mokote
2016/05/30 10:00:05

thanks for your help.

Why I need to use table? I used variable string with random number processing way. May it cause problems or It's just another way to achieve my goal? then I used as you told "if" statements.


Can you help me with spinnable text?


regards

Aprilcaicai
2016/05/31 05:18:52

Variable operate:

If the Initial value for str2 is: {aaaa|bbbb|cccc}

value str1 got will be: aaaa or bbbb or cccc

<< < 1> >>
VerifyCode
Advanced Option