DragonPrime - LoGD Resource Community
Welcome Guest
  • Good afternoon, Guest.
    Please log in, or register.
  • September 18, 2018, 03:11:06 PM
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 2246 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
Please take the time to read the FAQ and browse the DragonPedia

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