Verb Troubles

how to delete custom verbs?

I've used the talk to; talk; speak to; speak and then added an extra option of my own before realising i could have just made a new one(talk to; talk; speak to; speak; ask #object# for a story), and now when ever i try talking to any character it says talk to; talk; speak to; speak; ask #object# for a story even tho i gave them the normal built in verb for talking to.


I am not sure.

  1. But at character object, at verbs tab, click to highlight the verb you want to delete, up there is a + and - button, simply press the - button to delete.
  2. Go to Verbs object, highlight the verb you want to delete, up there is a - button, click that to delete all of that verbs from all objects that you have.
  3. Perhaps you are talking about command? Go to commands object, inside it, find the speak command, delete ask #object# for a story from that command.

Well, this is a pretty old post, but I should probably add an answer so that it can help anyone else searching for the same thing.

In the desktop editor, you can find verb definitions in the 'Verbs' group on the sidebar (I believe it's somewhere near the bottom, but could be wrong). On the web editor, it is not possible to edit or delete verbs.

If you are using the web editor, you would need to find the name of the verb (which may not always be what you expect).
You could temporarily add a script like this to get a list of all the verbs:

foreach (verb, AllCommands()) {
  if (DoesInherit (verb, "defaultverb")) {
    msg ("Verb: " + verb.name + " (property: "+ verb.property +" / pattern:" + verb.pattern + ")")
  }
}

Then if you want to modify a verb (for example changing the response for objects that don't have that verb), you can use the name shown in that list, and add a line to your start script like:

lick.defaulttext = "You can't bring yourself to lick it"

and if you want to remove an unwanted verb that's causing problems, you could do something like:

destroy ("speakto")

(Note that destroy requires quotes around the name of the object to destroy)


This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums