Here is the code for that part of the device:
CODE
state banonly // ban someone from your parcel
{
state_entry()
{
llListen(0,"","","");
llSetTimerEvent(30);
llInstantMessage(toucher,"Say the name of the person you want to ban now, spelling and capitilization must match the person's name exactally.");
}
listen(integer channel, string name, key id, string message)
{
{
llAddToLandBanList(message, 0);
llInstantMessage(toucher,message+" has been added to the ban list");
state default;
}
}
timer()
{
state menureset;
}
}
Here is the chat when I use it:
Object: Say the name of the person you want to ban now, spelling and capitilization must match the person's name exactally.
You: Calista Amarula
Object: Calista Amarula has been added to the ban list
Only, it doesn't add the person to the list at all, it just returns to the default state.
I bug reported when I first noticed it but there has been an update since then and it still doesn't seem to be working.
So, did I screw up the code or is this borked?
Oh, yes I DO own the land that the object is on.

