completed issue #86 LMSOURCE Notecard Feature Enhancement

amended requested changes
This commit is contained in:
Synsational Difference 2018-03-02 00:43:16 -08:00 committed by Sei-Lisa
parent df6de8f556
commit 94309edba5

View file

@ -32,6 +32,7 @@ key notecard_query;
list MENU_LIST;
list DATA_LIST;
integer MTYPE;
integer LMSOURCE = 0; //lmsource self = 0, lmsource linkset = 1
integer notecard_line;
integer current_menu = -1;
integer menu_page;
@ -555,7 +556,7 @@ default
link_message(integer sender, integer num, string msg, key id)
{
if (sender == llGetLinkNumber())
if (sender == llGetLinkNumber() || LMSOURCE == 1)
{
if (num == 90005) // send menu to id
{
@ -627,6 +628,10 @@ default
{
MTYPE = (integer)part0;
}
else if (command == "LMSOURCE")
{
LMSOURCE = (integer)part0;
}
notecard_query = llGetNotecardLine(notecard_name, ++notecard_line);
}
}