Files
HeroesStone_PRC8/_module/nss/xx_travel_chat.nss
Jaysyn904 1eefc84201 Initial Commit
Initial Commit.
2025-09-14 15:40:46 -04:00

24 lines
589 B
Plaintext

// Travel Builder
// Example of an OnPlayerChat script for Travel system menu
// Author : Proleric
// Modified : 13-Mar-2007
// The example conversation xx_menu contains one option that offers a travel
// shortcut menu to the PC. You can add other chat menu options that are
// specific to your module to that conversation.
void main()
{
object oPC = GetPCChatSpeaker();
string sChat = GetPCChatMessage();
if (GetStringLowerCase(sChat) == "menu")
{
AssignCommand(oPC, ActionStartConversation(oPC, "xx_travel_menu", FALSE, FALSE));
SetPCChatMessage();
}
}