Menu

Close

Brynner

Syntax

  • close ;

Description

This command will create a 'close' button in the message window for the
invoking character. This is one of the ways to end a speech from an [NPC].
Once the button is clicked, the NPC script execution will end, and the message
box will disappear. If no window is currently on screen, the script ends right
away.

Examples

[Mes] "[Woman]";
mes "I am finished talking to you, click the close button";
**close** ;
mes "This command will not run at all, cause the script has ended.";

[Category:Script Command]


Related

Wiki: Close2
Wiki: End
Wiki: Mes
Wiki: NPC
Wiki: Next
Wiki: Timers (Scripting)

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.