[REQUEST] Quotation Database - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4) +---- Forum: Scripting (/forumdisplay.php?fid=39) +----- Thread: [REQUEST] Quotation Database (/showthread.php?tid=88199) [REQUEST] Quotation Database by Untitled.of.AH on 01-08-2009 at 10:26 PM
I am sure all of you scriptwriters are more than aware of the infamous /quote script that is used widely on mIRC. RE: [REQUEST] Quotation Database by Chris4 on 01-08-2009 at 10:58 PM
Pleaser read What scripts can't do. I doubt that's possible I'm afraid . Haven't seen any scripts that connect to a database or anything like that. RE: [REQUEST] Quotation Database by NiteMare on 01-08-2009 at 11:00 PM
quote:you could always connect to a PHP script and have that access the database RE: RE: [REQUEST] Quotation Database by Untitled.of.AH on 01-08-2009 at 11:02 PM
quote: I was trying to say something like that. It could even be a .txt file or something. What I meant by database, was basically the quotes would be written to a small text file, and then the script could access it to do whatever the command was. RE: [REQUEST] Quotation Database by vaccination on 01-09-2009 at 09:31 AM
It'd be more than possible, it doesn't have to be a hosted on a server guys, all you'd have to do is save the quotes to a file in the script folder, only problem with txt file I believe is it'll be messy and hard to distinguish between quotes and stuff, could probably make some sort of xml schema to work with it though. RE: [REQUEST] Quotation Database by Spunky on 01-09-2009 at 01:56 PM
A .ini file would work just as well... quote: You search the file for the relevant numer, split at the next = sign and then split that at the next \n character. Adding quotes would be just as easy. Find last line, find the number, increment it and append quote to a new line. EDIT: We'll see how busy I am... We could add a call to a php script and have a global quote file RE: RE: [REQUEST] Quotation Database by Untitled.of.AH on 01-10-2009 at 01:35 AM
quote: Trust the motivation of a man with a pimpin' avatar. Work just gets done that way RE: [REQUEST] Quotation Database by MeEtc on 01-10-2009 at 02:11 AM Sounds like something I'd actually try doing. I can definitly host the quotes database (Spunky is using my server aready anyway ) RE: RE: [REQUEST] Quotation Database by Untitled.of.AH on 01-10-2009 at 09:08 PM
quote: Sounds good, I'll troll this post until it's done Thanks for the hard work in advance, guys. I'd give you money if my pimp didn't take it all. |