//ITEMNAME would be the name of the channel used when the two players were wearing the object (HELD ITEM)//
if ((obj = get_obj_wear(victim, arg1)) != NULL)
{
if ( IS_SET(obj->extra_flags, OBJEXTRA_ITEMNAME ))
{
i=channel_exact_lookup(OBJEXTRA_ITEMNAME);
if(i>-1){
return i;
}
for(i=0; !IS_NULLSTR(channels[i].name); i++){
if(!str_prefix(channel_name, channels[i].name)){
return i;
}
I know it's a mess, I feel like I'm finally stepping out into some creativity here and it's frustrating
-chan