Toribash
Original Post
A little LUA script for those who like weird things...
The topic title may be long, but it's true...

This script simply sets the turn and matchframes to a random number.

To use it, press "q", it should say 2 numbers down at the bottom. Then press "n" for the new game, which should have the frames take effect.

This is the script:
function random_frames(key)
	if (key == string.byte("q")) then
		number1 = math.random(1,70)
		number2 = math.random(1,70)
		number3 = math.random(1,70)
		number4 = math.random(1,70)
		number5 = math.random(1,70)
		number6 = math.random(1,70)
		number7 = math.random(1,70)
		number8 = math.random(1,70)
		number9 = math.random(1,70)
		number10 = math.random(1,70)
		numbersum = number1 + number2 + number3 + number4 + number5 + number6 + number7 + number8 + number9 + number10
		run_cmd("set matchframes " .. numbersum)
		run_cmd("set turnframes " .. number1 .. " " .. number2 .. " " .. number3 .. " " .. number4 .. " " .. number5 .. " " .. number6 .. " " .. number7 .. " " .. number8 .. " " .. number9 .. " " .. number10)
		return 1
	else
		return 0
	end
end

add_hook("key_down", "randomizer", random_frames)
Squad Squad Squad lead?
The standardization of Toribash Squad roles may have gone too far!
Re: A little LUA script for those who like weird things...
I was trying to make a script: Non-frac Judo, with instagib every 4 turns.

...I gave up.
<ducky> The game.
<siku> ducky: i didnt know this was 2005 and 4chan
<siku> sorry, i hate the game and you should shut the fuck up about that retarded bullshit
<siku> you should link us to awesome and edgy motivational pics next or maybe pedobear
<siku> inb4 rep needs toriprime or vip lmao rofl that /b/ is grate
<siku> is this the part where you educate me on memes, further showcasing your amazing 4chan findings
<siku> word x is a meme lmao rofl
<+veb> someone make ducky smod
Re: A little LUA script for those who like weird things...
Originally Posted by LonelyDucky
I was trying to make a script: Non-frac Judo, with instagib every 4 turns.

...I gave up.

lol ducky, no worries, some have talents photoshopping, others coding... others... do a little bit of everything :P
Re: A little LUA script for those who like weird things...
Originally Posted by LonelyDucky
I was trying to make a script: Non-frac Judo, with instagib every 4 turns.

...I gave up.

...You can't change instagib during the match, apparently.

I'm working on a new HUD for toribash. Running the game with -nohud and adding the hud in Draw2D should work. (After that, advance all my programs to beta, rinse and repeat)
Re: A little LUA script for those who like weird things...
Ooooo...

This is so awesome...

This script against random uke is an awesome random buffet.

I love it
"Splint Chesthair" - Is my real name.