Author Topic: Icequote  (Read 20749 times)

DarkStar

  • Full Member
  • ***
  • Posts: 135
  • Scripts for Praise
    • CorpseCorp
Icequote
« on: December 30, 2007, 09:05:58 PM »
Hello again folks.

I've made a script for Icechat (Requires Icechat 7.61 or later) that is a remade version of my old Quote script for Icechat.

Download: Icequote 1-0.zip (http://2374383.googlepages.com/icequote1-0.zip)

Install instructions:
Quote
Open Icechat and type: //run $scriptdir
Unzip contents of zip file into this directory
In Icechat, open the Icechat editor. ( ctrl + s ) Click Scripts, click File, click Load. select "quote.ice" and open it. repeat steps for file "quote.ics"
Click save (or Save and exit)

Import Quotes
if you used my previous quote script, there is a way to import the quotes into the new script. Once you have loaded the script, type these lines:
Quote
/! ImportQuotes
/reload

Current Problems
When running the index file generator with more then 100-200 quotes, Icechat says it is taking longer then expected to execute. Just keep hitting "Continue" and allow it to run its course. I'm working on a small exe that will make this process much much faster, Probably be available in the next update. UPDATE! This problem has been fixed in the next release of the script.

Bugs
Besides the above mentioned problem, there are currently none known to me. If you find one please post here, send me a private message, or send me an email at 2374383@gmail.com including the following:
* Icechat version
* Operating System
* error reported
* How you found it

Other things that may be of use:
* settings file ( qsettings.ini )
* quote file ( quotes.txt )
* index file ( qindex.ini )
* addquote file ( addquote.txt )

All of these files should be in the scripting directory. ( in Icechat, type //run $scriptdir )

more to add
I plan to add more to this guide, such as how to use certain features, but at the moment I just want to release it. If you have a question I have not addresed please post a message here, send me a PM, send me an email ( 2374383@gmail.com ) or check to see if im online in the icechat support channel ( #icechat (http://irc://irc.quakenet.org/icechat), I go by "Dark`Star"
« Last Edit: January 01, 2008, 02:34:07 PM by DarkStar »
This message brought to you by the Wonderful Wizard of Oz.

Anime Sucks

  • Newbie
  • *
  • Posts: 5
Re: Icequote
« Reply #1 on: December 31, 2007, 09:26:28 AM »
working fine so far.  Took awhile to generate the keywords since I had 505 quotes

Anime Sucks

  • Newbie
  • *
  • Posts: 5
Re: Icequote
« Reply #2 on: December 31, 2007, 10:14:15 AM »
Silly question.  How do you add quotes that are in the approval queue?

DarkStar

  • Full Member
  • ***
  • Posts: 135
  • Scripts for Praise
    • CorpseCorp
Re: Icequote
« Reply #3 on: December 31, 2007, 02:02:01 PM »
Silly question.  How do you add quotes that are in the approval queue?

d'oh. I forgot to add a function to do that. you can do it manually until I add one.

go to the icechat scripts directory ( //run $scriptdir )
open addquote.txt, cut and paste the quotes you want to approve over to quotes.txt, run the keyword gen again.

working fine so far.  Took awhile to generate the keywords since I had 505 quotes

I wrote a small program to generate the keys, its just over 3mb (stand alone exe, script was originally 2kb..lol) and it does 400 quotes in 2 seconds flat. Will upload later.
This message brought to you by the Wonderful Wizard of Oz.

Omni_Bowser

  • Newbie
  • *
  • Posts: 13
Re: Icequote
« Reply #4 on: February 13, 2008, 07:14:12 PM »
Any chance anyone could teach me how to use this script?

TheCellist42

  • Full Member
  • ***
  • Posts: 143
    • TheCellist42.com
Re: Icequote
« Reply #5 on: March 02, 2008, 09:21:46 PM »
How Do You Add Quotes?

(Very Silly Question)


~ Sam
~ Visit my website at http://www.TheCellist42.com

BigRed

  • Guest
Re: Icequote
« Reply #6 on: March 02, 2008, 10:19:26 PM »

d'oh. I forgot to add a function to do that. you can do it manually until I add one.

go to the icechat scripts directory ( //run $scriptdir )
open addquote.txt, cut and paste the quotes you want to approve over to quotes.txt, run the keyword gen again.


Like that ^

Anime Sucks

  • Newbie
  • *
  • Posts: 5
Re: Icequote
« Reply #7 on: November 05, 2008, 04:44:33 PM »
RISE NECROTHREAD!

Okay.... so now I got 2245 quotes in this monkey... and the indexer seems to be b0rked. Right now a lot of the quotes are off by one, and I've noticed over the last couple updates that a lot of keywords go up to a max of 52.

Plus it takes like 1.5 hours of clicking "continue" on the "script is taking too long" button.

TheCellist42

  • Full Member
  • ***
  • Posts: 143
    • TheCellist42.com
Re: Icequote
« Reply #8 on: November 05, 2008, 08:40:27 PM »
Would there be something I could simply remove that would allow anyone to add quotes... all the time? Instead of adding everyone to the AutoAdd list?

~ Sam
~ Visit my website at http://www.TheCellist42.com

Snerf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1961
    • IceChat IRC Client
Re: Icequote
« Reply #9 on: November 14, 2008, 09:47:05 AM »
Ouch, sounds to me, that with that many quotes, the script may need a bit of an overhaul.
And who wants to sit for an hour and a half doing something like that.

I will see if I can come up with something to help that.
The IceChat God

Anime Sucks

  • Newbie
  • *
  • Posts: 5
Re: Icequote
« Reply #10 on: November 23, 2008, 09:47:20 PM »
okay, to expand on the
and I've noticed over the last couple updates that a lot of keywords go up to a max of 52.

a majority of my quotes cap out at 52 per keyword, and when someone tries to access #52 I get an error:
-- Script Engine Error:13:Type mismatch: 'numbers(...)': Line #237 --
-- Script Engine Error:13:Type mismatch: 'numbers(...)': Line #237 --

this is my quote.ice script: http://pastebin.com/f410c96d3

I figured I wouldn't need the .ics since it's that just the menu in the toolbar

if the actual index is needed, or the quote file is needed.. let me know, but I figure whatever is messed up is in the .ice

Anime Sucks

  • Newbie
  • *
  • Posts: 5
Re: Icequote
« Reply #11 on: November 23, 2008, 10:27:25 PM »
okay, had a friend look over the index file to see if it was something in there ( http://pastebin.com/f208a47ce ) and he pointed out that some of the entries look like this:

Code: [Select]
jelly=1199,1199,1200,1200,1201,1272,1283,1285,1285,1286,1290,1311,1341,1342,1368,1469,1469,1514,1612,1628,1674,1683,1683,1762,1762,1762,1777,1869,1876,1879,1879,1901,1937,1965,1965,1965,1965,1969,2003,2003,2003,2004,2004,2005,2028,2032,2036,2036,2047,2047,2052,,2241 that for some reason when it indexes, its getting a null result at the 52 instance or wherever in the lineup that ,, is showing up.

I think the quote script has a heart attack under the sheer amount of quotes that are already in it.

Morio

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 256
Re: Icequote
« Reply #12 on: November 23, 2008, 11:52:30 PM »
that ",," is caused by the limitations of .ini files, the value kan only be 255 characters long, longer than that will cause problems.
"I don't know what World War 3 will be fought with, but I know World War 4 with be fought with sticks and stones." - Albert Einstein

ayashi

  • Newbie
  • *
  • Posts: 17
Re: Icequote
« Reply #13 on: October 23, 2010, 05:13:15 PM »
Bumping in the hopes Darkstar gets around to implementing !removequote and !quotecount capabilities ;)

(the script went viral on my network, but people tend to add garbage quotes that have to be deleted manually.

I also made an alias to 'refresh' the quote script so any accumulated quotes are attributed to the total; granted I probably did it all wrong but I suppose that's why this forum exists ;)

/refresh {
/! indexgen
/! getquotes
}

I sometimes /reload all scripts and will get an error, but rebooting the app solves that much.

Awesome script, can't stress that enough!

Icechat forever,

Ayashi

Snerf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1961
    • IceChat IRC Client
Re: Icequote
« Reply #14 on: October 24, 2010, 07:14:49 PM »
A good way to remove the INI file problem is to just save the index to a text file and make the settings manually. Little more work, but it should fix it.
The IceChat God