nyuuzyou/wikis huggingface dataset:
VFS: understanding the Index file layout

On this page you can find a short description of the index file layout including some basic nice to knows. Up until client verion 1.13.2 the VFS was used to store all asset types, but textures have been split off as a direct file store in the cache directory. The VFS continues to be in use, however, and is used to store many non-texture assets.<BR>
<BR>
The index-file contains 34-byte long records which contain the following fields (listed in order):<BR>
Location (4 Bytes): The location within the cache file counted in bytes from start of file.<BR>
Length (4 Bytes): The reserved amount of space in the cache file for this item, counted in bytes (multiples of 1024 as 1024 is the block size)<BR>
Accesstime (4 Bytes): Timestamp of last access, is updated when file is read from cache and is set on intial addition in the cache. Counted in seconds since 1/1/1970 (commonly known as unix time or POSIX time)<BR>
UUID (16 Bytes): The unique ID of the asset<BR>
Filetype (2 Bytes): The asset type, mostly 0 (textures)<BR>
Size (4 Bytes): The size, counted in bytes, of the data currently stored for this asset. This can be significantly lower than the Length<BR>
<BR>
Loading the world with a blank cache and subsequent analysis of the index file shows that the caching system is very inefficient. Due to its implementation files can not be stored fragmented hence the expected required amount of space is immediately reserved in the cache. Yet most files are not download in their entirety. Just a few minutes after login a clean cache will have over 50MB of cache reserved which means small caches are totally pointless as it'll start removing items shortly after you start the client.<BR>
<BR>
<FONT COLOR=RED>NOTE:</FONT>As said above, as of 1.13.3 the system changes radically for textures and the newly implemented texture cache is a lot more efficient.
VTeam General Notices

OUTDATED INFORMATION (see the VTeam Blog)
1) Welcome to the Apprentice Mentors group! 
Attending an orientation session is necessary to be moved into the Second Life Mentor group. 
Please go to the following wiki page for a list of orientation sessions: 
https://wiki.secondlife.com/wiki/Second_Life_Volunteer_Orientation 
If you do not see one that works with your schedule please check again in a few days. 
More will be added. Thank You! - The VTeam
2) Reminder: Apprentices will not be able to take on any of the roles in the Second Life Mentor 
group until they have taken an orientation session and been moved to Second Life Mentors. If you 
have applied for a role such as Linguist, Scribe, Buddy or Coach, please apply again after you are moved! 
Thank You! - The VTeam 
3) Reminder: Apprentices who have not taken an orientation session by (Date) will be removed from group.
Please go to the following page to see orientation session dates and attend one. https://wiki.secondlife.com/wiki/Second_Life_Volunteer_Orientation - Thank You - The VTeam
4) Hello Mentors! This is a friendly reminder to check http://vteamblog.com for important updates, reminders, 
and communications. Thank You! The VTeam
VTeam General Notices/de

Veraltete Informationen (finden sie im VTeam Blog)
1) Willkommen in der "Apprentice Mentor" (Anwärter) Gruppe! Um in die "Second Life Mentor" Gruppe aufgenommen werden zu können, ist die Teilnahem an einer Schulung ("orientation session") Vorausetzung. Eine Liste der Schulungstermine findet Ihr im wiki unter diesem Link: https://wiki.secondlife.com/wiki/Second_Life_Volunteer_Orientation Wenn Ihr keinen Termin finden könnt, der in Eure Zeitplanung passt, schaut bitte in einigen Tagen wieder nach, es werden ständig neue Termine hinzugefügt. Danke! - Euer VTeam
2) Zur Erinnerung: Anwärter können keine der speziellen Rollen in der "Second Life Mentor" Gruppe annehmen, solange Sie nicht an der Schulung teilgenommen haben und in die "Second Life Mentor" Gruppe übernommen worden sind. Wenn Ihr Euch für eine dieser Rollen beworben habt, z.B. als Linguist, wiki-Autor ("Scribe"), Buddy oder Coach, wartet bitte bis Ihr in die Mentor-Gruppe übernommen worden seid und bewerbt Euch erneut!
Danke! - Euer VTeam
3) Noch eine Erinnerung: Anwärter die bis zu einem bestimmten Zeitpunk nicht an der Schulung (siehe 1) teilgenommen haben, werden wieder aus der Gruppe entfernt.
Eine Liste der Schulungstermine findet Ihr im wiki unter diesem Link: https://wiki.secondlife.com/wiki/Second_Life_Volunteer_Orientation 
Danke! - Euer VTeam
4) Hallo Mitglieder der Mentor-Gruppe! Dies ist eine freundliche Erinnerung, dass Ihr bitte regelmäßig auf http://vteamblog.com nach wichtigen Neuerungen, Erinnerungen und Mitteilungen schaut. Danke! - Euer VTeam
VTeam General Notices/es

INFORMACION ANTICUADA (ver el VTeam Blog)
1) ¡Bienvenido al grupo de los Mentores Aprendices! Es necesario atender a una sesión de orientación para poder acceder al Grupo Second Life Mentor. Por favor vaya a la siguiente página wiki para obtener la lista de las sesiones de orientación: 
https://wiki.secondlife.com/wiki/Second_Life_Volunteer_Orientation Si usted no ve una que se ajuste a su agenda por favor compruébelo de nuevo en unos días. Continuamente se añaden más. ¡Gracias! - The VTeam
2) Recordatorio: Los Aprendices no podrán asumir ningún otro rol en el grupo Second Life Mentor hasta que no hayan recibido la Sesión de Orientación y hayan sido trasladados al grupo Second Life Mentor. Si usted se inscribió para roles como Linguist, Scribe, Buddy o Coach, por favor inscríbase de nuevo tras ser trasladado! ¡Gracias! - The VTeam
3)Recordatorio: Los Aprendices que no hayan asistido a la Sesión de Orientación para la (fecha) serán eliminados del grupo. Por favor vaya a la siguiente página para ver las fechas de las sesiones de orientación y asista a una. 
https://wiki.secondlife.com/wiki/Second_Life_Volunteer_Orientation ¡Gracias! - The VTeam
4)¡Hola Mentores! Este es un recordatorio amistoso para que chequeen http://vteamblog.com para saber si hay actualizaciones, recordatorios y comunicaciones importantes. ¡Gracias! - The VTeam
VTeam General Notices/fr

L'information désuète (voir le VTeam Blog)
1) Bienvenue au groupe Second Life Apprentice Mentor! Assister à une séance d'orientation est nécessaire d'être déplacé vers le Second Life Mentor groupe. S’il vous plaît aller à la page suivante wiki pour une liste de sessions d'orientation: https://wiki.secondlife.com/wiki/Second_Life_Volunteer_Orientation Si vous ne voyez pas un qui fonctionne avec votre horaire s’il vous plaît vérifiez de nouveau dans quelques jours. Plus d'informations seront ajoutées. Merci! -- Le VTeam
2) Rappel: Les apprentis ne sera pas en mesure de prendre sur l'un des rôles dans le groupe Mentor Second Life jusqu'à ce qu'ils aient pris une séance d'orientation et été transféré à Second Life mentors. Si vous avez postulé pour un rôle, tels que Linguiste, Scribe, Buddy ou Coach, s’il vous plaît appliquer de nouveau après vous êtes déménagé! Merci! -- Le VTeam
3) Rappel: Les apprentis qui n'ont pas pris une séance d'orientation par (Date) sera retirée de groupe. S’il vous plaît aller à la page suivante pour voir les dates de session d'orientation et d'assister à un. https://wiki.secondlife.com/wiki/Second_Life_Volunteer_Orientation - Merci - Le VTeam
4) Bonjour les Mentors ! Ceci est un rappel amical pour vérifier http://vteamblog.com pour des mises à jour importantes, des rappels, et de la communication. Merci! Le VTeam
VTeam General Notices/it

Date informazioni superate (vedere il VTeam Blog)
1) Benvenuto nel gruppo di Mentori Apprendisti (Apprentice Mentors)! 
Per essere spostati nel gruppo dei mentori (Second Life Mentor), è necessario frequentare una sessione di orientamento. 
Visita la seguente pagina wiki per avere una lista delle sessioni di orientamento disponibili: 
https://wiki.secondlife.com/wiki/Second_Life_Volunteer_Orientation 
Se nessuna si adatta ai tuoi orari, prova a ricontrollare dopo qualche giorno. 
Vengono sempre aggiunte delle nuove sessioni. Grazie! - Il VTeam
2) Promemoria: Gli Apprendisti non sono in grado di assumere alcun ruolo nel gruppo Second Life Mentor fino a quando non abbiano frequentato una sessione di orientamento e siano stati spostati nel gruppo dei Mentori. Se hai già fatto domanda per un ruolo di Linguista, Scriba, Buddy o Istruttore, per favore ripeti la richiesta dopo che sarai stato spostato! 
Grazie! - Il VTeam 
3) Promemoria: Gli Apprendisti che non abbiano frequentato una sessione di orientamento entro (Data) verranno rimossi dal gruppo.
Per favore, visita la seguente pagina wiki per conoscere le date delle sessioni e frequentane una. https://wiki.secondlife.com/wiki/Second_Life_Volunteer_Orientation - Grazie - Il VTeam
4) Salve Mentori! Questo è un amichevole appunto per ricordarvi di controllare http://vteamblog.com per conoscere le comunicazioni e gli aggiornamenti più importanti. Grazie! Il VTeam
VTeam General Notices/ja

時代遅れの情報 (詳細については、 VTeam Blog)
1) 見習いメンターグループへようこそ! メンターグループに参加するにはオリエンテーションセッションに出席することが必要です。下記のリンクからオリエンテーションセッションの日程を御覧下さい。 https://wiki.secondlife.com/wiki/Second_Life_Volunteer_Orientation あなたのスケジュールと合わない場合、数日たってからもう一度確認してみてください。追加された日程を御覧下さい。よろしくおねがいします! - The VTeam
2) 注意：見習いはオリエンテーションセッションが終わるまでは、Second Life メンターグループの役割のいずれも割り当てられることはありません。通訳、翻訳、支援者やコーチの役割のいずれかを申請した人はメンターグループに移動した後、再度申請して下さい。よろしくおねがいします！ - The VTeam
3) 注意：(一定期間内に)オリエンテーションセッションを受けなかった見習いはグループより除外されます。下記のリンクから都合の良い日程を選んでオリエンテーションセッションに期間内に参加して下さい。 https://wiki.secondlife.com/wiki/Second_Life_Volunteer_Orientation - よろしくおねがいします - The VTeam
4) こんにちは、メンター! 念のために、重要なアップデート、注意事項、そしてコミュニケーションのために http://vteamblog.com をチェックすることを心がけてください。よろしくおねがいします! The VTeam
VTeam General Notices/nl

1) Welkom bij de Apprentice Mentors groep!
Het is nodig om deel te nemen aan een oriëntatie sessie om lid te worden van de Second Life Mentor groep. Ga naar de volgende wiki pagina voor een lijst van alle oriëntatie bijeenkomsten:
https://wiki.secondlife.com/wiki/Second_Life_Volunteer_Orientation 
Indien er geen bijeenkomst is gepland die past binnen je agenda, controleer dan over een aantal dagen nog een keer. 
Er worden geregeld nieuwe data toegevoegd. 
Bedankt! - Het VTeam
2) Herinnering: Apprentices zijn niet in staat om enige rol van de Second Life Mentor groep aan te nemen totdat ze hebben deelgenomen aan een oriëntatie sessie en lid zijn gemaakt van de groep Second Life Mentors. Indien je reeds hebt verzocht om een rol als Linguist, Scribe, Buddy of Coach, stuur dan een nieuw verzoek in, nádat je lid bent geworden van de groep Second Life Mentors. 
Bedankt! - Het VTeam
3) Herinnering: Apprentices die niet voor (Datum) hebben deelgenomen aan een oriëntatie sessie, zullen worden verwijderd van de groep. 
Ga naar de volgende pagina om te bekijken op welke tijdstippen oriëntatie sessies worden georganiseerd en zorg dat je er een bijwoont. 
https://wiki.secondlife.com/wiki/Second_Life_Volunteer_Orientation 
Bedankt! - Het VTeam
4) Hallo Mentors! Dit is een vriendelijke herinnering om de website http://vteamblog.com te controleren op belangrijke wijzigingen, herinneringen en 
berichten. 
Bedankt! - Het VTeam
VTeam General Notices/pt

1) Bem Vindo ao grupo de Mentors Aprendizes! Comparecer a uma sessão de orientação é necessário para ser transferido ao grupo de Mentores do Second Life. Por favor, visite o link a seguir para uma lista das sessões de orientação: https://wiki.secondlife.com/wiki/Second_Life_Volunteer_Orientation Se você não encontrar nenhuma que se encaixe na sua agenda, por favor verifique novamente em alguns dias. Mais serão adicionadas. Obrigado! - O VTeam
2) Lembrete: Aprendizes não estão aptos a fazer parte de nenhum cargo dos Mentors do Second Life até que tenham comparecido a sessão e sido movidos ao grupo de Mentores do Second Life. Se você tiver se cadastrado para algum cargo como Linguista, Escrevente, Buddy ou Coach, por favor se cadastre novamente quando for movido! Obrigado! - O VTeam
3) Lembrete: Aprendizes que não comparecerem a sessão de orientação até (data) serão removidos do grupo. Por favor visite a pagina a seguir para ver as datas das sessões de orientação e comparecer a uma. Https://wiki.secondlife.com/wiki/Second_Life_Volunteer_Orientation - Obrigado - O VTeam.
4) Olá Mentores! Este é um lembrete amigável para visitarem http://vteamblog.com para atualizações importantes, lembretes e comunicados. Obrigado! O VTeam
Category:Ajuda Portal
VWRAP Charter

Working Group Name:
  Virtual Worlds Region Agent Protocol (VWRAP)
Per this message from the responsible Area Director, the VWRAP working group has concluded:
 The Virtual World Region Agent Protocol (VWRAP) working group in the Applications 
 Area has concluded. The IESG contact person is Peter Saint-Andre.
 
 The mailing list will remain active.
 
 The VWRAP working group was chartered to produce a comprehensive
 application protocol defining the interactions between virtual agents
 (avatars) and collaborative, three-dimensional virtual environments
 (virtual worlds). Unfortunately, the technology and market landscape
 changed significantly after the working group was chartered, and the
 working group lost several key participants, resulting in a lack of
 energy to complete the chartered deliverables. Although the remaining
 participants have discussed the possibility of focusing on a smaller
 scope (interoperability among virtual world technologies instead of a
 comprehensive virtual worlds protocol), those discussions remain
 preliminary at this time. Nevertheless, the mailing list will remain
 open to encourage further exploration of these topics.
 
 - Peter Saint-Andre, Responsible Area Director
VWRAP mailing list.
Valley Sim Cluster

Valley is a Sim Cluster and is one visible structure close to the large continents. It has the temporary name A040 given by Second Life Geography group. Coordinates are 931-939/908-920, that places it into Grid Sector I9, inside Little Pacific Ocean. More exactly, Valley is placed 100 sims West to Jeogeot.
== Shape ==
Valley is a compact sim cluster, a special type that is rare. Many sims are placed in mathematical disposition, so they are in contact at their corners. A few sims are connected. There are many infohubs throughout the sim clusters.
== Geography ==
The general landscape includes Water, but doesn't look like a tropical beach paradise. In fact, there are a lot of forests. Land is not flat. There are a lot of slopes, hills or mountains all around and also ocean floor is not smooth.
Skyboxes exist.
== Land Status ==
The sim cluster is opened to public. It looks like a single estate owns the land.
Maturity ratings vary and includes both moderate and adult.
== See Also ==
Second Life Geography
List Of Microcontinents And Sim Clusters
Oceans
Valley of Felix Meritis

Welcome at the Valley of Felix Meritis!
Here you'll find the right peace and relief to escape all sex and shopping in Second Life. Under the protection of the monastery all people are welcome.
As a resident of the Valley you become a settler.
==About the homes==
All homes at the Valley of Felix Meritis have blinds and lockable doors. To blind the windows there is a ball in every room. You have multiple options.
The doors are lockable. After you paid the rent Man Monnett will contact you and explain how the locks work.
You can rent for 4 to 8 weeks.
Every homes has a maximum use of prims. It says at the box how many prims you can use in your home. A prim is a box, circle, sphere etc. All objects are made out of prims. To know how many prims an object contains - simply ... right mouse click on object, <edit>, Select <more> on the 'general' tab it says the amount of primitives (prims). You will be automatically warned when you use over your prim limit.
To place objects in your home you have to be a member of the Felix Meritis group and have this membership active.
==Rules at the Monastery of Felix Meritis==
As being a humble inhabitant of the monastery and valley you are expected to be friendly, open minded, and respectful to all opinions on live, sexuality, and religion other than your own. Violation of this rule will lead to an immediate ban.
At Felix Meritis you don't need a lot of stuff. There's no room for TV's, pools, tubs, cars, helicopters or any other huge constructions. You are not allowed to produce any sound or have objects which produce sound like wind chimes.
As a tenant you are required to keep your stuff inside your house. If your house has a deck, you are allowed to use a deck chair and table outside.
The monastery and valley is not a market place. You are not allowed to advertise in any way your goods. If you'd like to sell anything, let me know.
Man Monnett
==Backery House==
Rooms: 1
Size: 8x10m
Price per week: 400 L$
Prims: 100
==Farmer House ("The Shack")==
Rooms: 1
Price per week: 350 L$
Prims: 75
==Sheep Farmer House==
Rooms: 2
Size: 10x10m, 10x10
Price per week: 400 L$
Prims: 100
==Mill House==
Price per week: 400 L$
Rooms: 2
Size: 20x19x12.5
Prims: 100
Blinds and doors: yes
Furniture: yes (can be taken out gives you 100 prims extra)
==Antibes Home==
Price per week: 450 L$
Prims: 100
==Valley View House ("The Lodge")==
Price per week: 400 L$
Prims: 120
Category:Felix Meritis
Vampire Microcontinent

This is a Microcontinent placed at Coordinates 945-947/1391-1394, Grid Sector I13, Northern Ocean. It might be also called Bloodlines Microcontinent or Liquid Designs Microcontinent. It has the temporary name A002, that means it is the second structure found on the map by the Second Life Geography team.
== Structure & Geography ==
This microcontinent is formed of 10 sims, linked together and with the posibility to travel from one sim to another.
From a strict Geographic point of view, land diversity is incredible. There is a very high diversity, from plains to mountains, from sharp passages to mountain roads. Sky is set to different hours and textures. Ground textures also vary up to high limits. Landscapes vary from green forests to haunted places.
Skyboxes are also present.
== Land Status ==
There are roads and waterways of Protected Land and also some residents allow their land to be passed. Land With Restricted Access exists. Land is owned by a single estate.
== Bloodlines Information ==
The Bloodlines game allows you to enter the dark world of the undead. If you get others' blood, the curse will make you need more blood. There are three ways to take your needed blood or lumen: by sending bite requests (this might be considered harass and can end to no good), by buying blood or lumen (requires money) or by creating more and more accounts to drink their blood and lumens. An interesting fact is that bite requests are a lot lower now (November 2013) then they were an year ago.
Also, if you don't want to play the game, beware of other people who wants to animate you. Beware of unwanted gifts.
To find out if somebody is a Bloodline member, use this link: Bloodlines search and type resident name in search.
It is not clear how many avatars have decided to play Bloodlines, but sure they are an important group. One unofficial estimation is that they are 20% of the total of active residents. More then half of them, however, decided not to lose humanity.
== See Also ==
Second Life Geography
List Of Microcontinents And Sim Clusters
Oceans
Bloodlines official site
VariText/Sample metrics

Here are some sample font metrics notecard for VariText.
__TOC__
==Sample metrics notecard==
<nowiki>#To speed up loading, kindly keep all the comments in the beginning of the notecard.
[DejaVu Serif]
aw = 16, 20, 23, 42, 32, 48, 45, 14, 20, 20, 25, 42, 16, 17, 16, 17, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 17, 17, 42, 42, 42, 27, 50, 36, 37, 38, 40, 
37, 35, 40, 44, 20, 20, 37, 33, 51, 44, 41, 34, 41, 38, 34, 33, 42, 36, 51, 36, 33, 35, 20, 17, 20, 42, 25, 25, 30, 32, 28, 32, 30, 19, 32, 32, 16, 16, 
30, 16, 47, 32, 30, 32, 32, 24, 26, 20, 32, 28, 43, 28, 28, 26, 32, 17, 32, 42, 16, 16, 16, 16, 16
bump = -0.01
tex = f7b11f98-e9bd-8f00-8bee-c091e15cddfd
[Droid Serif]
aw=13, 17, 20, 28, 28, 45, 37, 11, 17, 17, 25, 28, 13, 16, 14, 14, 28, 28, 28,28, 28, 28, 28, 28, 28, 28, 14, 13, 28, 28, 28, 25, 46, 35, 33, 31, 36, 31,
30, 36, 40, 18, 18, 35, 31, 47, 38, 37, 30, 37, 33, 27, 31, 36, 34, 52, 33, 31, 30, 18, 14, 18, 28, 23, 29, 28, 31, 25, 31, 27, 18, 27, 32, 16, 15, 29,
16, 47, 32, 29, 31, 31, 24, 23, 18, 32, 29, 43, 29, 28, 26, 21, 28, 21, 28, 13, 13, 13, 13, 13
tex = fcef4dd7-8bd9-9472-cc93-4b66569d4500
bump = -0.01
[Ubuntu]
aw = 12, 14, 21, 34, 28, 43, 34, 12, 16, 16, 24, 28, 13, 15, 13, 19, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 13, 13, 28, 28, 28, 20, 48, 33, 32, 31, 36, 
29, 27, 34, 35, 14, 25, 32, 26, 44, 37, 39, 31, 39, 32, 27, 28, 35, 33, 47, 32, 30, 29, 17, 19, 17, 28, 25, 19, 26, 30, 23, 30, 28, 20, 29, 29, 13, 13, 
26, 14, 43, 29, 30, 30, 30, 20, 23, 20, 29, 25, 39, 26, 25, 24, 17, 14, 17, 28, 12, 12, 12, 12, 12
bump = -0.01
tex = fb5adb79-1c8e-3809-6a7b-1d91a3850681
[Nekotoba2]
aw = 15, 12, 17, 39, 28, 37, 25, 10, 14, 14, 19, 35, 12, 21, 21, 23, 27, 13, 26, 27, 30, 29, 25, 25, 27, 24, 13, 12, 22, 31, 23, 17, 41, 31, 27, 30, 33, 
30, 26, 35, 24, 12, 18, 26, 28, 43, 32, 37, 27, 35, 24, 34, 34, 31, 38, 40, 34, 31, 36, 19, 25, 19, 22, 35, 25, 24, 24, 22, 25, 24, 23, 23, 21, 10, 14, 
22, 11, 28, 25, 22, 21, 25, 22, 22, 25, 22, 24, 30, 22, 27, 26, 15, 11, 16, 30, 15, 15, 15, 15, 15
tex= 6eacc704-8dde-b048-6fbc-65e7bc4ba6d1
bump=0
[DejaVu Sans]
aw=16, 20, 23, 42, 32, 48, 39, 14, 20, 20, 25, 42, 16, 18, 16, 17, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 17, 17, 42, 42, 42, 27, 50, 34, 34, 35, 39, 32, 
29, 39, 38, 15, 15, 33, 28, 43, 37, 39, 30, 39, 35, 32, 31, 37, 34, 49, 34, 31, 34, 20, 17, 20, 42, 25, 25, 31, 32, 27, 32, 31, 18, 32, 32, 14, 14, 29, 
14, 49, 32, 31, 32, 32, 21, 26, 20, 32, 30, 41, 30, 30, 26, 32, 17, 32, 42, 16, 16, 16, 16, 16
bump = -0.01
tex = cacd0302-70a8-c707-3afe-aa259be8488d
[eurofurence]
aw= 10, 9, 16, 33, 20, 33, 26, 8, 10, 10, 24, 24, 8, 15, 7, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 7, 9, 24, 24, 24, 18, 30, 32, 23, 29, 31, 23, 22, 30,
28, 9, 12, 25, 23, 36, 31, 33, 23, 33, 23, 20, 23, 26, 32, 46, 27, 26, 27, 17, 24, 17, 18, 24, 8, 19, 25, 21, 26, 23, 18, 21, 21, 9, 9, 20, 11, 33, 21, 
24, 26, 26, 16, 16, 18, 20, 24, 37, 21, 21, 21, 15, 9, 15, 18, 10, 10, 10, 10, 10
tex = 46fbd064-b9d6-01a2-fa68-653c77890c91
</nowiki>
==Share your own fonts==
<nowiki>
</nowiki>
Variables Example

===Variables Example===
This is an example to show the basic use of variables. --Eyana Yohkoh 19:24, 27 August 2007 (PDT)
// this script will add 1 to x every other time it is touched.
integer x = 8; // this makes an integer set to the value of eight when the script starts
integer y = FALSE; // you can set integers to TRUE or FALSE too
 // in this example, y is going to be used to see if the last time the object
 // was clicked 1 was added to x.
 // basically by setting y to TRUE and FALSE the script will be able to add one
 // to x every other time
default
{
 state_entry() // we'll just have the script say the value of x when it loads
 {
 llSay( 0, "x has a value of: " + (string)x );
 }
 
 touch_start(integer total_number)
 {
 if ( y == FALSE ) // first time clicked y would be false so that's when 1 
 // should be added to x 
 {
 x = x + 1; // adding one to x here
 llSay( 0, "1 added to x. x is now: " + (string)x ); 
 // this will make the object say the value of x.
 y = TRUE; // since this started with y being FALSE, now it's time
 // to make it TRUE so the next time it's clicked it does
 // something different.
 }
 
 else if ( y == TRUE ) // do this stuff is y is TRUE
 { // object says this
 llSay( 0, "nothing added to x this time. x is still: " + (string)x );
 y = FALSE; // since nothing was added this time then set y back to FALSE
 // so something gets added next time.
 }
 }
}
Category:LSL Examples