You could use a StringBuilder class to create the .quest/script file.

Also, use String.Format("The Best {0} by {1}" , "SKIILLS","David")

Code:
function KilledAllCrabs(Quest, QuestGiver, Player, Script)
'    string.format()
end