Hello, on the line llMessageLinked(LINK_SET, 0, "TEXT", "fw_data"), I would like "TEXT" to be extracted from a notcard in the object's content.
For example: A notcard with the content "TEST PHRASE", would assign "TEST PHRASE" to "TEXT". I don't understand much about programming, I've read something about llGetNotecardLine, but I didn't understand almost anything. Can anybody help me? It's something simple
default {
state_entry() {
// Reset the FURWARE text script.
llMessageLinked(LINK_SET, 0, "", "fw_reset");
}
link_message(integer sender, integer num, string str, key id) {
// The text script sends "fw_ready" when it has initialized itself.
if (id == "fw_ready") {
// Here you can try out your commands.
llMessageLinked(LINK_SET, 0, "TEXT", "fw_data");
llMessageLinked(LINK_SET, 0, "c=black; a=left", "fw_conf");
}
}
}