Everyone who has never used our Bots before, can test each one for 2 days without any limitation.
The trial is given automatically when you login on the Bot, but in some cases it wouldn't work (security reasons).
If this happens, send me a private message and i will be checking the failed trials manually and adding it for those who didn't get it.
We are looking for resellers who may accept payment methods different from ours, including classictibia's cash, realesta's cash, mastercores' cash, etc. Interested? Click here at anytime.



Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Random Label
#1
Lightbulb 
I would like to know if there is the possibility of creating an action, where for example, I have 4 labels, rota1, rota2, rota3 and rota4. When he arrives at this Action he will select one of these 4 routes via a random label.
Reply

#2
Hello.

Yeah, use gotolabel() with random.
gotolabel(string/number label) [void]: Make the next waypoint the string/number to be defined as parameter "label".
random(number first number, number second number) [number]: Gives a random value between first and second number.

gotolabel('rota' .. tostring(random(1, 4))
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016