Difference between revisions of "Manual:DIL Manual/string in extraptr"

From DikuMUD Wiki
Jump to navigation Jump to search
(XML import)
 
(XML import)
 
Line 1: Line 1:
 +
<span id="esine"></span>
 +
string in extraptr
 +
    Argument 1: A string to find.
 +
    Argument 2: An extra description list to search.
 +
    Return: Extraptr to first entry with string matching .names or
 +
            null if none. (names must be exact letter by letter
 +
            match, although case is ignored).
 +
 +
'''Example:'''
  
 +
<nowiki>
  
 +
  dilbegin foo();
 +
  code
 +
dilend</nowiki>
 
<span id="esine"></span>
 
<span id="esine"></span>
 
  string in extraptr
 
  string in extraptr
Line 15: Line 28:
 
   dilbegin foo();
 
   dilbegin foo();
 
   code
 
   code
  {
+
dilend</nowiki>
    if ("Rabbit Stew Complete" in activator.quests) {
 
      exec("say wow!, you helped Mary get her stew!", self);
 
      exec("app ", self);
 
    }
 
    pause;
 
  }
 
  dilend</nowiki>
 

Latest revision as of 22:30, 4 December 2025

string in extraptr
   Argument 1: A string to find.
   Argument 2: An extra description list to search.
   Return: Extraptr to first entry with string matching .names or
           null if none. (names must be exact letter by letter
           match, although case is ignored).
Example:

   dilbegin foo();
   code
dilend

string in extraptr
   Argument 1: A string to find.
   Argument 2: An extra description list to search.
   Return: Extraptr to first entry with string matching .names or
           null if none. (names must be exact letter by letter
           match, although case is ignored).
Example:

   dilbegin foo();
   code
dilend