PtokaX forum

Archive => Archived 5.0 boards => Request for scripts => Topic started by: Penguin on 11 June, 2005, 17:14:41

Title: Talking Bot
Post by: Penguin on 11 June, 2005, 17:14:41
Hi guys,

Can you somebody help me with make this script?

I want make the TalkingBot ->  like this (http://board.univ-angers.fr/thread.php?threadid=4628&boardid=12&sid=a09af811251309819bd4a43ab12a9f49&page=1#5)  

But with these 2 things:

1. the command to add phrase into script (for ex. +addphrase hello="Hi [USER]"

2. and give all bot's phrases from .lua file to individual .txt files, so you can add phrases with command

 It is possible to do?

  THX in advance for answer!

    Penguin

UPDATE:
Hey guys, plase help me -> I think that, this script is good idea with add phrases with command!
But I don't know how can I make LOAD and SAVE functions from/to the file ;( :(
Title:
Post by: Dessamator on 12 June, 2005, 09:55:41
see the lua 5 howto section, ull find what u need there