Toribash
Original Post
Random2.lua for multiplayer
Hello.

Do you like starting every multiplayer match with a random opener? Maybe you wanna do a couple of first random moves? Or maybe you wish to randomize your game as much as possible? Well i've just made a little script which will help you do that.

Usage:
download the script
put it into data/script folder
type /ls random2.lua
whenever it's your turn and you wanna do something random:
- just press the randomize button!
- or press 'q'
// edit - doesn't work in singleplayer //edit2 - now works for tori in singleplayer

Also:
Special thanks to AssassinPro for providing me with info on how to make a button and how to get player username.
This is my first script so feel free to post your opinion about it and suggest changes. I may make it more customizable if anyone will want to use it (apart from me).

legal rights


screenshot


code


other versions

Attached Files
random2.lua (1.0 KB, 4 views)
Last edited by 0xdead; Sep 25, 2024 at 09:58 PM. Reason: bugfix, ignoring case sensitivity
script minor update.
- added keybind to 'q' for easier use
- works for tori in singleplayer

also using only random moves happened to beat decapAI_Uke[BOT] once