Toribash
Original Post
Basic example...
Go to the data folder then to scripts.

Make a new text file called "first_script.lua".

Add this:

function test()
		run_cmd("echo Stop clicking us! It hurts!")
end
add_hook("player_select","clicky",test)
Save. Open up Toribash and go to the "scripts" section in the menu and choose "first_script"

Click uke and tori!

Edit: made this injury type counter...

function test()
			player_info = get_player_info(1)
			run_cmd("echo injury: " .. player_info.injury)
end
add_hook("enter_freeze", "clicky", test)
An idea here, is someone could make some if statements, and if your score is X - display a message.
don't unban, he has hard coded userid bypasses everywhere.
Re: Basic example...
Originally Posted by sorrow
What we need now is people from garys mod all of them are prety epic at lua.

True that ^_^
don't unban, he has hard coded userid bypasses everywhere.
Originally Posted by sorrow View Post
What we need now is people from garys mod all of them are prety epic at lua.

I play garry's mod. I've also attempted to edit scripts. You can expect some pretty epic things from me as soon as I get off my lazy ass to do it. I could do pretty much anything if I would just like....ya know...DO IT. I have no motivation. If you have an idea for me to make let me know in PM or something. I might start a custom lua scripts for toricredits type thing someday.
Forum Posting Leader of UkeDemon 4th Dan Black Belt
<C0XY> i wrote a artical for the torinews... im proud
<m0om> <O >
* Cevius[Work] has kicked Cevius[Work] from #toribash (<O>==============================O))))))) [BANLAZORED])
<m0om> <O>