im really new to scripting as well, i only have messed with some. i kinda build this one from scratch and used some of the advice in the previous post. but im still getting syntax errors what am i doing wrong?
default
{
state_entry()
{
key owner = llGetOwner();
llWhisper(0,"Cloaking ready"

;
llListen(0,"",owner,""

;
}
listen( integer channel, string name, key id, string message )
{
if(llGetInventoryType(cloak) == 0)
{
llSetStatus(STATUS_PHANTOM, FALSE);
llWhisper(0,"Cloaking"

;
llSetTexture (cloak, ALL_SIDES);
else llSay(0,message + " is not a texture in my inventory!"

;
}
if(llGetInventoryType(uncloak) == 0)
{
llSetStatus(STATUS_PHANTOM, TRUE);
llWhisper(0,"Uncloaking"

;
llSetTexture (uncloak, ALL_SIDES);
else llSay(0,message + " is not a texture in my inventory!"

;
}
}
}
thanks for the help in advance
i went back and tried it with the else if approach that worked out