Giving out notecards

Author Information
John R. Bourne
Institution(s) or Organization(s) Where EP Occurred: 
Sloan Consortium
Effective Practice Abstract/Summary
Abstract/Summary of Effective Practice: 

This EP is about how to hand out notecards in SL to a class. The idea is to set up things in a world with different notecards. Students wander by and take the cards which have text on them telling them what to do.l

Description of the Effective Practice
Description of the Effective Practice: 

Giving out Notecards A simple way of preparing for class is to create a set of notecards to hand out. You may drag cards to the body of each avatar to provide the avatars with card. A simpler way would be to use a distribution point (e.g. a kiosk that gives out a note card each time it is touched. – see appendix for a script that will do this). You could provide a set of pedestals in-world (e.g., #1, #2 – or with names) that you tell students to take one of each. This would be equivalent to your handing papers to each student or asking them to pick up the papers themselves. // From the book: // // Scripting Recipes for Second Life // by Jeff Heaton (Encog Dod in SL) // ISBN: 160439000X // Copyright 2007 by Heaton Research, Inc. // // This script may be freely copied and modified so long as this header // remains unmodified. // // For more information about this book visit the following web site: // // Just put the script below in any object and it should give out a note card to any visiting avatar. You set the title of the notecard in your inventory in the variable notecard below as a string. In this example the string is “Welcome Notecard”. If you want to create a notecard to give out- just create a new note card in your inventory and rename it to the name you put in the notecard giver. string notecard = "Welcome Notecard"; integer freq = 1; integer maxList = 100; list given; default { state_entry() { llSensorRepeat("", "",AGENT, 20, PI, freq); llSetText("", <1.0, 1.0, 1.0>, 1.0); } sensor(integer num_detected) { integer i; key detected; for(i=0;i