MOO-cows Mailing List Archive

[Prev][Next][Index][Thread]

Re: Means of gathering data



Michael Moore wrote:
>Here is a dump of the Generic Tape Recorder I wrote for logging interviews
>on my MOO:

(snip)

>@chmod #1875:start rx
>@program #1875:start
>if (player.wizard)
>  if (this.on)
>    player:tell_with_subs("%T %<is> already recording.");
>  else
>    this.on = 1;
>    $you:say_action(this.start_msg);
>  endif
>else
>  return E_PERM;
>endif
>.

Please note that this verb, and many others in this dump, are insecure.
They are +x and check whether the 'player' is a wizard - not a good
combination!

-------------------------------------------------------------
Gustavo Glusman               Founder/administrator of BioMOO
-- Gustavo@bioinformatics.weizmann.ac.il
-- http://bioinformatics.weizmann.ac.il/Gustavo
-- BioMOO: telnet bioinformatics.weizmann.ac.il 8888
           WWW:   http://bioinfo.weizmann.ac.il/BioMOO




Follow-Ups: References:

Home | Subject Index | Thread Index