If you are long in IF games, you should have very familiar about banner1 on top or below of the main window. In TADS we could always create more that kind of banner easily. Easy for me to say it now, though you might surprised how I was stressed for weeks just to know how to create a banner and a text inside it. Thus, this tutorial is going to help you not to pass days and weeks just to figure how it works.

For example, you want to create a help banner that should pop up whenever you call on the function. The second banner which is the help banner that we are going to make is actually an object. So first of all you should create an object, then put the code like this:

helpLine: object

displayBanner(helpText) {
bannerID = bannerCreate(nil, BannerLast, nil, BannerTypeText,
BannerAlignBottom, 10, BannerSizePercent, BannerStyleBorder |
BannerStyleVScroll);if (bannerID == nil)
displayText('Error creating banner window.');
displayBannerHelp(helpText);}

displayText(message) {
gTranscript.flushForInput();}

displayBannerHelp(helpText) {
bannerClear(bannerID);
local lst = bannerGetInfo(bannerID);
if (lst[2] != 35) setBannerColor();
displayBannerText(helpText);}

displayBannerText(text) {
bannerSay(bannerID, text);
bannerSizeToContents(bannerID);
bannerFlush(bannerID);}

bannerID = '';


After that you could always call the function on your in game:

helpline.displayBanner('help text insert here')