Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

update script

Richard Ruff
Registered User
Join date: 2 Oct 2006
Posts: 3
12-11-2006 23:44
Hi All.. I'm trying to post a simple update script I wrote .. but the forum is blocking it. Any idea how to post code?

Richard..
Learjeff Innis
musician & coder
Join date: 27 Nov 2006
Posts: 817
12-12-2006 11:58
Like this, only use square brackets instead of curly braces around "php" and "\php".


CODE

{php}// example code
default
{
state_entry()
{
llSay(0, "Hello");
}
}
{/php}


The result looks like this:

CODE
// example code
default
{
state_entry()
{
llSay(0, "Hello");
}
}
Richard Ruff
Registered User
Join date: 2 Oct 2006
Posts: 3
12-12-2006 20:26
Thanks for the reply, still not working though. Keeps tell me 404..

Richard