DragonPrime - LoGD Resource Community
Welcome Guest
  • Good morning, Guest.
    Please log in, or register.
  • November 16, 2018, 11:08:25 AM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1]   Go Down
  Print  
Author Topic: Huts with chatty inhabitants  (Read 2286 times)
0 Members and 1 Guest are viewing this topic.
lonnyl
Guest
« on: June 14, 2004, 05:40:21 AM »

Here is the hut code I use on Oak Street.....
Note.... this file contains the talk and find functions... it needs to have the trading mod installed or you need to edit the find function to fit your needs....
Also the talk function should be edited to fit your realm.... the first array in it is key words/phrases and the second is AI responses... these are tied together as in the 1st keyword in array1 matches the response in array2.... mess this up and your character will make no sense whatsoever.....

http://www.pqcomp.com/modules/mydownloads/visit.php?cid=4&lid=55

-EDIT-
Forgot about the talklog.... I have been logging what people say to help  build new responses.... comment this out or create the table with the following command.

CREATE TABLE `talklog` (
  `talk` text NOT NULL
) TYPE=MyISAM;

« Last Edit: January 30, 2005, 07:00:51 AM by lonnyl » Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Version 1.1.2 is the current supported version and is available for download.

Support Us
No funds raised yet this year
Your help is greatly appreciated!
Recent Topics
DragonPrime LoGD
Who's Online
52 Guests, 0 Users
Home Forums News Downloads Login Register Advanced Search