BeBot - An Anarchy Online and Age Of Conan chat automaton
Archive => Age of Conan Archive => BeBot Hyborian modules => Topic started by: kardsen on July 11, 2008, 01:16:39 am
-
5 files. each one contains a different set of quote styles..
!trek for a random Star Trek Quote.
!mquote for a random movie quote
!rquote for a random quote
!homer for a homer simpson quotes
!love for some humorous adult themed responces
All of the above updated using Temar's memory friendly code example given on the !trek.phps below
Thanks Temar, Vrykalas, Creation (ragebot), Chaly (ragebot).. and anyone else I may have forgotten.
The only original by me is the trek.phps and that list was stolen from a quotes site :)
TO INSTALL
download modules you want to add.
rename them from .phps to .php
Install them to ./customer/modules/ folder
-
This made my day thank you sir.
Glintz
-
glad you like it :)
-
I have Improved the Coding of this, this is more memory Friendly as you have all the quotes inside a function and cache
mine has it inside a function only
-
Thanks guys I am using all of these. For some reason just with homer quotes the bot displays squares where there is punctuation using this char . If you search and replace them all with ' it goes away though. This may just be on my bot but I have only seen it with the Homer.php. It was the same when I modified the ragebot homer to run on bebot using the !chuck module as a model.
Thanks for all your hard work on this my guild and I love them.
Glintz
-
yer the issue was prob because like with alot of these module its all just copied from webpages :p
-
Here is the one i modified from chuck if you want to copy the txt i think its the same quotes.
Glintz
-
hmm, my homer works fine.
Strange.
-
I've had the same bug come up in files - a solution I use is to replace single quotes in the text with ' (note: only do this with text that is supposed to display a single quote mark eg: <a href='text://xxxx'>It's good day</a>
-
i know im a noob but please tell me anyone in what folder do the *.phps files go. thanks in avance
-
rename it to *.php and put it in the proper folder.. phps is just for the web server will not think it needs to run it basically.. phps = PHP Source
-
Found the problem in homer.phps.
was used should have been '
Changed in current Homer.phps file.