Would you like to send a notecard , a LM or a private IM to avatars who visited your shop, home , game room ... ?
This script works with "collision" : it means that every avatar that walk onto the prim where you place the script will be recorded in a ".dst" file that later can be used with Pikkubot commands .
The original script can be found at http://pikkubot.de/dokuwiki/doku.php?id=howtos:how_do_you_use_lists&s=avatar
but it work "on touch".
My script works with a collision : no more need to touch an object!
There is also another version that works on "sensor". Please check related items.
INSTRUCTIONS:
_______________
1) Create a so called "list" in your PC.
You can do this in 2 ways:
a) Send a Instant message to your bot "createlist listname" (without brackets)
b) From bot interface enter the command : "createlist listname"(without brackets) (listname is any name you like for your list)
2) Make a prim.
3) From your opened inventory drag and drop this script into the content tab.
4) Edit the script to match your needs.
c) key botname = "WRITE HERE UUID OF YOUR BOT"
d) string listName ="WRITE HERE NAME OF THE LIST";
5) You can check the list in Pikkubot user interface : Top menu - Directories - List. The .dst file is a list of recorded UUID.
Pikkubot commands that can be used with List
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
massim[!] [IM-textfile] [av-list]
Sends IMs to avatars in given list. Use the ”!” to actually start the delivery, otherwise the command is executed in demo-mode.
massinvite[!] [group] [avatar-list]
Sends group-invites to avatars in given list. Use the ”!” to actually start the delivery, otherwise the command is executed in demo-mode.
removefromlist [list-name] [av-uuid]
Removes the given Avatar from given list (see also "addtolist").
addtolist [list-name] [av-uuid]
Adds the given Avatar to given list. (see ”createlist”, ”removefromlist”)
masscheck [avatar-list]
Checks if the given Avatar or Key exists in SL
masseject[!] [group] [avatar-list]
Sends group-ejects to given avatars. Use the ”!” to actually start the delivery, otherwise the command is executed in demo-mode.
massgive[!] [object-uuid] [avatar-list]
Gives the given object to all avatars in list. Use the ”!” to actually start the delivery, otherwise the command is executed in demo-mode.
massim[!] [IM-textfile] [av-list]
Sends IMs to avatars in given list. Use the ”!” to actually start the delivery, otherwise the command is executed in demo-mode.
massinvite[!] [group] [avatar-list]
Sends group-invites to avatars in given list. Use the ”!” to actually start the delivery, otherwise the command is executed in demo-mode.
