Jump to content

Quest Instant Text


Recommended Posts

  • Honorable Member
do
	local isFast = true
	local __say = say
	function _G.say(str, ...)
		if table.getn(arg) > 0 then
			if isFast then
				raw_script("[DELAY value;1]"..string.format(str, unpack(arg)).."[/DELAY][ENTER]")
			else
				__say(string.format(str, unpack(arg)))
			end
		else
			if isFast then
				raw_script("[DELAY value;1]"..str.."[/DELAY][ENTER]")
			else
				__say(str)
			end
		end
	end

	-- string.tolower function fix for hungarian keyboard
	os.setlocale("fr_FR.ISO8859-1","ctype")
end

 

Link to comment
Share on other sites

  • Active Member
36 minutes ago, ZenkoKXO. said:

All your code is just a delay penger, same as the already created function (setdelay()) so don't be disrespectful.

Are you sure?

I am using DELAY too in some quests and it's instant...

Example: say("[DELAY value; 1]some text here[/DELAY]")

Link to comment
Share on other sites

  • 7 years later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / 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.