Tads 3 player input

Is there a simple why for game to ask for players name?

1 Like

Something like this…

modify libGlobal
   playersName = nil
;

// within some function or method...
"What is your name? \b> ";
local str = inputManager.getInputLine(nil,nil);
"Okay, hello <<str>>!";
libGlobal.playersName = str;
2 Likes

Thank you. I can code a mean room…lol thats about it.

2 Likes