But since I cant really script, I cant find out what i do wrong here ....
I started with this script, that gives on touch:
________________
default
{
touch(integer param)
{
llGiveInventory(llDetectedKey(0), "NOTECARD"
;}
}
_____________
And this works fine.
But since I want this to happen at rez, i figured this would work:
______________
default
{
on_rez(integer param)
{
llGiveInventory(llDetectedKey(0), "NOTECARD"
;}
}
_____________
But it didnt.... So I tried to read the scripting guide, and it seems it needs (integer start_param) instead, but:
_________
default
{
on_rez(integer start_param)
{
llGiveInventory(llDetectedKey(0), "NOTECARD"
;}
}
__________
... doesnt work either....
So, now I am kinda lost. Anyone knows why its not working?
