View/Edit #12:@mailo*ptions @mail-o*ptions @edito*ptions @edit-o*ptions @displayo*ptions @display-o*ptions @visual-o*ptions @visualo*ptions @general-o*ptions @generalo*ptions @build-o*ptions @buildo*ptions @builder-o*ptions @buildero*ptions

Switch to edit mode.

Name(s): @mailo*ptions @mail-o*ptions @edito*ptions @edit-o*ptions @displayo*ptions @display-o*ptions @visual-o*ptions @visualo*ptions @general-o*ptions @generalo*ptions @build-o*ptions @buildo*ptions @builder-o*ptions @buildero*ptions
1:  "@<what>-option <option> [is] <value>   sets <option> to <value>"
2:  "@<what>-option <option>=<value>        sets <option> to <value>"
3:  "@<what>-option +<option>     sets <option>   (usually equiv. to <option>=1"
4:  "@<what>-option -<option>     resets <option> (equiv. to <option>=0)"
5:  "@<what>-option !<option>     resets <option> (equiv. to <option>=0)"
6:  "@<what>-option <option>      displays value of <option>"
7:  set_task_perms(player)
8:  what = {"mail", "edit", "display", "visual", "general", "builder"}[index("medvgb", verb[2])]
9:  options = what + "_options"
10: option_pkg = #0.(options)
11: set_option = "set_" + what + "_option"
12: if (!args)
13:   player:notify({"Current " + what + " options:", "", @option_pkg:show(this.(options), option_pkg.names)})
14:   return
15: elseif (typeof(presult = option_pkg:parse(args)) == $STR)
16:   player:notify(presult)
17:   return
18: else
19:   if (length(presult) > 1)
20:     if (typeof(sresult = this:(set_option)(@presult)) == $STR)
21:       player:notify(sresult)
22:       return
23:     elseif (!sresult)
24:       player:notify("No change.")
25:       return
26:     endif
27:   endif
28:   player:notify(option_pkg:show(this.(options), presult[1]))
29: endif
30: "Last modified by Dax (#789) on Tue May  3 13:43:06 2005 MDT."

Verb arguments: any any any
Verb perms: Readable NOT-Debug
Verb owned by: Slacker (#55)

You are not logged in.

[home | help | who | search | setup | code]