input$ and text collide?

Blitz3D Forums/Blitz3D Beginners Area/input$ and text collide?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I'm making a program designed to create conversations, so each don't have to be individually coded, saving a lot of time, I hope. This involves multiple inputs asking you what you want the npc to say, and then input a set of responses, etc. I want the responses and npc prompts to be posted real-time. But, for some reason, the text containing the responses and promps will NOT appear until all inputs have been completed. Also, I want to be able to type within the inputs "\quit" or "\endconv" and have a check, searching each input for those or other commands. How can I fix the text/input bug, and what command is used for searching a variable (hopefully the Input$? that way i can put the check in a function, saving a lot of time, not having to check each individual variable)

Here's some sample code.

launcher$=""
funcname$=""
npc1$=""
r1$=""
r2$=""
r3$=""
npc2$=""
quit=0
Graphics3D 1280,1024,32,1
SetBuffer BackBuffer()

Function check()
If Input$="quit" Then quit=1
End Function

While Not quit=1
RenderWorld

;createconv
launcher$=Input$("WELCOME TO THE SW:WRH CONVERSATION CREATOR. FOLLOW GIVEN INSTRUCTIONS. TYPE 'quit' AT ANY TIME TO QUIT WITHOUT SAVING YOUR CONVERSATION. HIT ENTER TO CONTINUE")
funcname$=Input$("What would you like the Function name For this conversation To be? ")
check
npc1$=Input$("What would the first thing the NPC says be? ")
Text 1000,0,"npc1= " + npc1
check
r1$=Input$("What do you want response1 to be? ")
Text 1000, 15,"r1= " + r1
check
r2$=Input$("What do you want response2 to be? ")
Text 1000, 30,"r2= " + r2
check
r3$=Input$("What do you want response3 to be? ")
Text 1000, 45,"r2= " + r3
check


Flip


Wend

End