completed issue #86 LMSOURCE Notecard Feature Enhancement
amended requested changes
This commit is contained in:
parent
df6de8f556
commit
94309edba5
1 changed files with 6 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue