Jump to content
  • 0

scropt


blocx

Question

hi all.another code problem im sorry what is wrong in this function ? t

function SUB1()

local gg = gg
gg.setRanges(gg.REGION_C_ANONYMOUS)
gg.prompt({"💸 ENTER CURRENT MONEY 💸", " 💰 ENTER CURRENT COINS 💰 :"}, arg)
	if not a then
		return funcValue()
	else
		local notInput, value, group = nil, "", ""
		for _, __ in next, a do
			if __ == "" then
				a[_] = "! IMPUT CODE !"
				notInput = true
			else
				value = value..group..__
				group = ";"
			end
		end
		if notInput then
			return funcValue(a)
		end
		return value
	end
end

thanks

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

Bro this code is understandable, and the value returned by the prompt need to be saved in a variable

local value = gg.prompt

 

Advice: when you share a long piece of code, juste upload it trough a file cause in this code block is unreadable on mobile

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.