[SUG] Two changes to the server

Jefferson M. Dubrule (igor@linguist.dartmouth.edu)
Mon, 28 Jul 1997 22:00:27 -0400 (EDT)


Roger Crew mumbled:
> 
> except that I figure if one is going to go to this trouble, one may as
> well instead do the substitutions
> 
>   player                   current_connection()
>   player = X               set_current_connection(X)
> 
> thus removing the current bogosity in which "player" is this weird-ass
> variable that receives special treatment accorded no other variable
> (w.r.t. when one is actually allowed to change it and how this affects
> nested calls).  

Second this!  I was writing a prioritising task scheduler thingy a while
back, and wanted to get the tracebacks going to the right person, so I
ended up having to do this bit of bogosity:

#4712:do_verb_call()
  player = args[5];
  #4712:really_do_verb_call(@args);

-manta
(Wiz, SchoolNet MOO)