here's the code: local WinMessage:string = "{Time}" local WinText:string = string.gsub(WinMessage,"{Time}",Time) print(WinText)
so it should print time right? (ex:05:38:00)
but it does nothing
and btw there is more code
here's the code: local WinMessage:string = "{Time}" local WinText:string = string.gsub(WinMessage,"{Time}",Time) print(WinText)
so it should print time right? (ex:05:38:00)
but it does nothing
and btw there is more code
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
Can you provide the full code; it's a little bit confusing to understand with that snippet.
Please provide what the variable Time means so that we can understand. Also, when defining what an a variable is, do Variable: string, rather than Variable:string