Talk:Console/Don't Starve Together Commands/@comment-104.236.57.54-20160109040554/@comment-79.21.199.23-20160109041909

You have to do

c_spawn("prefab", amount)

where "prefab" is your prefab (note, the quotation marks are mandatory) and amount is your integer number (1,2,3... ecc).