funcs.h
funcs.h · 409 B
From the archive i3-server.tgz
Download the archive « Back to the archive contents
// This file written completely by Tim Johnson (Tim@TimMUD)
static mapping muds_on_this_fd(int fd){
return filter_mapping(connected_muds,"value_equals",this_object(),fd);
}
int value_equals(string a,int b, int c){ return b==c; }
static mapping muds_not_on_this_fd(int fd){
return filter_mapping(connected_muds,"value_equals",this_object(),fd);
}
int value_not_equals(string a,int b, int c){ return b!=c; }