diff options
author | David Walter Seikel | 2014-05-16 10:37:13 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-05-16 10:37:13 +1000 |
commit | 33d14b8dff91a3f6fcd0e9cc99482251178d42e6 (patch) | |
tree | 4a93904286cd5f5b517b0ecee2237ec317c80f24 /media | |
parent | Fake llKey2Name(), since there's only one user we know about at the moment. (diff) | |
download | SledjHamr-33d14b8dff91a3f6fcd0e9cc99482251178d42e6.zip SledjHamr-33d14b8dff91a3f6fcd0e9cc99482251178d42e6.tar.gz SledjHamr-33d14b8dff91a3f6fcd0e9cc99482251178d42e6.tar.bz2 SledjHamr-33d14b8dff91a3f6fcd0e9cc99482251178d42e6.tar.xz |
Slightly better faked llDialog(), plus remove newlines from the callers, since that's not handled yet.
Diffstat (limited to 'media')
-rw-r--r-- | media/Test sim/objects/onefang%27s%20test%20bed.5cb927d5-1304-4f1a-9947-308251ef2df0/~menu.lsl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/media/Test sim/objects/onefang%27s%20test%20bed.5cb927d5-1304-4f1a-9947-308251ef2df0/~menu.lsl b/media/Test sim/objects/onefang%27s%20test%20bed.5cb927d5-1304-4f1a-9947-308251ef2df0/~menu.lsl index e4d5f0e..e733e96 100644 --- a/media/Test sim/objects/onefang%27s%20test%20bed.5cb927d5-1304-4f1a-9947-308251ef2df0/~menu.lsl +++ b/media/Test sim/objects/onefang%27s%20test%20bed.5cb927d5-1304-4f1a-9947-308251ef2df0/~menu.lsl | |||
@@ -119,11 +119,11 @@ setup_pose() { | |||
119 | 119 | ||
120 | 120 | ||
121 | unauth(string button, string who) { | 121 | unauth(string button, string who) { |
122 | llDialog(user0, "\n" + button + " button allowed only for " + who, ["OK"], -1); | 122 | llDialog(user0, button + " button allowed only for " + who, ["OK"], -1); |
123 | } | 123 | } |
124 | 124 | ||
125 | continMenu(string str) { | 125 | continMenu(string str) { |
126 | llDialog(user0, "\n"+str+llKey2Name(user)+" is using the menu, continue?", ["Yes","Cancel"], ch - 1); | 126 | llDialog(user0, str+llKey2Name(user)+" is using the menu, continue?", ["Yes","Cancel"], ch - 1); |
127 | } | 127 | } |
128 | 128 | ||
129 | mainMenu() { | 129 | mainMenu() { |
@@ -172,7 +172,7 @@ doMenu(integer inhibit_showing) { | |||
172 | + llList2List(buttons1, -9, -7) | 172 | + llList2List(buttons1, -9, -7) |
173 | + llList2List(buttons1, -12, -10); | 173 | + llList2List(buttons1, -12, -10); |
174 | } | 174 | } |
175 | llDialog(user, Version + "\n\n" + llList2String(menus,menu), buttons1, ch - 1); | 175 | llDialog(user, Version + ":- " + llList2String(menus,menu), buttons1, ch - 1); |
176 | llResetTime(); | 176 | llResetTime(); |
177 | } | 177 | } |
178 | 178 | ||