My objective is, if I type "points" it will show me the content of the variable but if I add an int after it, it will change the value of the variable
This is what I have right now:
func add_message(text):
chatLog.bbcode_text += '
'
chatLog.bbcode_text += text
func text_entered(text):
if text == "points":
chatLog.bbcode_text = ''
add_message("Current value of [color=yellow]Points: [/color]" + str("[color=fuchsia]" + str(points) + "[/color]"))
inputField.text = ''
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…