73
edits
(→Echo: arguments -> args) |
(→Insert Email: the Contact noun type: args -> arguments | text -> html) |
||
Line 496: | Line 496: | ||
<pre> | <pre> | ||
CmdUtils.CreateCommand({ | CmdUtils.CreateCommand({ | ||
name: "insert email", | |||
arguments: {modifier: noun_type_contact}, | arguments: {modifier: noun_type_contact}, | ||
preview: "Inserts someone's email address by name.", | preview: "Inserts someone's email address by name.", | ||
execute: function( | execute: function(args) { | ||
CmdUtils.setSelection( | CmdUtils.setSelection(args.modifier.html); | ||
} | }, | ||
}); | }); | ||
</pre> | </pre> |
edits