Toribash
Original Post
Can someone please help with basic hello world script
hi, i just want it to say something when i start a game and it doesnt work, can u tell me whats wrong?

local function Hello()
local a = "Medp's going to win!!!!!!!"
centerprint("",a,"",100)
end
add_hook("new_game","mygroup",Hello)
use .. to join strings.
I'm also fairly certain that "centertprint" doesn't work anymore.

ex:
local function Hello()
local a = "Medp's going to win!!!!!!!"
echo(a .. "!",100)
end
add_hook("new_game","mygroup",Hello)
:D