Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Trello, sending multiple text?

ap = require(game.ServerScriptService.TrelloAPI)
BaordID = ap:GetBoardD("ECMH Applications")
ListID = ap:GetListID("Pening", BaordID)

while true do
	wait(0.01)
	if script.Parent.Parent.Answers.Seven.Value ~= "" then
		CardID = ap:AddCard("Nurse || "..game.Players.LocalPlayer.Name, 
		"**Why do you want to work at Erik Cassel Memorial Hospital? **"..script.Parent.One.Value.."\n\n"..
		"**Do you have medical experience? If so, what/where? **"..script.Parent.Two.Value.."\n\n"..
		"**What do you do if someone flat lines? **"..script.Parent.Three.Value.."\n\n"..
		"**What rank are you currently in Erik Cassel Memorial Hospital? **"..script.Parent.Four.Value.."\n\n"..
		"**If there is a psych patient running around, what do you do? **"..script.Parent.Five.Value.."\n\n"..
		"**How do you deal with Exploiters ?**"..script.Parent.Six.Value.."\n\n"..
		"**Will you listen to HRs?**"..script.Parent.Seven.Value, ListID)
	end
end

It comes up with blue squiggly lines, https://gyazo.com/8f19ba7b1a06cd2fdd824e649c7ce1f9

Sorry for not saying hi or anything, really tired.

Thanks,

4 comments

0

Suggest adding a button to post the request, instead of sending 60 requests/s to the trello website.

0

Can I use localscripts for trello?

0

You can't send HTTP requests from the client. You can simply send the data over to the server using a remote event.

0

"GetBoardD" should be "GetBoardID"

1 answer

It's because your string spans multiple lines without any indentation.

Try this:

        CardID = ap:AddCard("Nurse || "..game.Players.LocalPlayer.Name,
       	 "**Why do you want to work at Erik Cassel Memorial Hospital? **"..script.Parent.One.Value.."\n\n"..
         "**Do you have medical experience? If so, what/where? **"..script.Parent.Two.Value.."\n\n"..
         "**What do you do if someone flat lines? **"..script.Parent.Three.Value.."\n\n"..
         "**What rank are you currently in Erik Cassel Memorial Hospital? **"..script.Parent.Four.Value.."\n\n"..
         "**If there is a psych patient running around, what do you do? **"..script.Parent.Five.Value.."\n\n"..
         "**How do you deal with Exploiters ?**"..script.Parent.Six.Value.."\n\n"..
         "**Will you listen to HRs?**"..script.Parent.Seven.Value, ListID)

Bit ugly because I used spaces, but it'll get the job done.

If you have any problems, be sure to comment so we can figure it out.

This discussion is preserved as it was. New answers, comments, and votes are closed.