This shows you the differences between the selected revision and the current version of the page.
| topics:group_invitor_with_touch 2008/09/02 14:48 | topics:group_invitor_with_touch 2008/12/03 14:53 current | ||
|---|---|---|---|
| Line 18: | Line 18: | ||
| the link is the UUID of the group :-) \\ | the link is the UUID of the group :-) \\ | ||
| You´ll find the group UUID contained in the link of the group (behind the = )\\ | You´ll find the group UUID contained in the link of the group (behind the = )\\ | ||
| + | |||
| + | |||
| ===== Sample-Script ===== | ===== Sample-Script ===== | ||
| <code> | <code> | ||
| + | string botKey = ""; // UUID Bots | ||
| + | string groupKey =""; // UUID Group | ||
| + | |||
| default | default | ||
| { | { | ||
| touch_start(integer count) | touch_start(integer count) | ||
| { | { | ||
| - | key who = llDetectedKey(0); | + | string MSG = "invite " + (string)llDetectedKey(0) + " " + groupKey; |
| - | string botname = " >>> HERE <<< "; | + | llInstantMessage(botKey, MSG); |
| - | string groupName =" >>> HERE <<< "; | + | |
| - | string name = llDetectedName(0); | + | |
| - | string MSG = "invite " + (string)who + " " + (string)groupName; | + | |
| - | llOwnerSay("debug: " + MSG + " " + name); | + | |
| - | llInstantMessage(botname, MSG); | + | |
| } | } | ||
| } | } | ||