IceChat Forums

IceChat 7 => IceChat 7 Scripts => Topic started by: Fevix on January 24, 2011, 11:36:00 PM

Title: Requesting random script
Post by: Fevix on January 24, 2011, 11:36:00 PM
I need a script that does the following:
When I type "/addquote X" it adds a new line to a .ini file with text X
when someone (including myself) types !quote it selects a random line from the .ini file and displays it as if I had typed /echo X

I've looked around and couldn't find one that did this and was this simple (closest I've found requires you to have a category, which I don't really need, and looking at the script, it seems too integrated to remove easily)