[DGD]restriction for wizards
Lord Lerkista
lerkista at planetatierra.net
Sun Apr 29 04:39:40 CEST 2001
On Saturday, April 28, 2001, at 10:29 PM, Erwin Harte wrote:
> On Sat, Apr 28, 2001 at 09:26:19PM -0500, Lord Lerkista wrote:
>>> this_player()->move_object("X#/room/some.c");
>>
>> Oops this is:
>>
>> move_object(this_player(),"/room/some.c");
>
> And what is wrong with that? That should work because otherwise your
> mortals cannot walk around in your mud.
i will use something like:
if(sscanf(object_name(previous_object()),"/players/%s/%s",who,file)==2){
if(sscanf(dest,"/players/%s/%s",who2,file2)==2&&who!=who2){
return 1;}
if(sscanf(dest,"/room/rlyeh/%s",file2)!=1){
return 1;}
}
so i will declare what files can't access!! =)
this in living works well and allow the mortals walks around!! =)
List config page: http://list.imaginary.com/mailman/listinfo/dgd
More information about the DGD
mailing list