@verb #84:"view_or_edit" this none this rxdo #789 @program #84:"view_or_edit" this none this "There are three modes for verbs:" " www.moo.ca/123:verbname?view" " www.moo.ca/123:verbname?edit" " www.moo.ca/123:verbname" "In the latter case, this verb is called to determine if the verb should be presented in view mode (0) or edit mode(1)." "" {object, vnum} = args "At the moment, the determination is made such that verbs you own are shown in edit mode, whereas those you don't are shown in view mode." if (player.user == verb_info(object, vnum)[1]) return 1 endif "Minor exception: an empty verb you control is editable too." if (!verb_code(object, vnum) && player.user:controls(verb_info(object, vnum)[1])) return 1 endif return 0 "Last modified by Dax (#789) on Wed Nov 20 18:59:41 2002 MST." .