This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

someone good with Quizz scripts?

Old posts that have not been replied to for several years.
Locked
w
weizah

someone good with Quizz scripts?

Post by weizah »

Just woundered if anyone here had a QUIZZ script without hints and tips...

plz help me out.. the hint and tips is just way to easy...

past me some urls if u guys knows about someone..


thanx alot..



weiZah / efnet
User avatar
stdragon
Owner
Posts: 959
Joined: Sun Sep 23, 2001 8:00 pm
Contact:

Post by stdragon »

1. Take any quiz script you enjoy.
2. Find the proc that actually prints out the hint. It will probably have an obvious name like, proc give_hint { ... } { ... }
3. Don't delete it! You might screw something up. Instead, just add "return 0" as the first line of the proc.
4. If you don't find a single proc that gives the hint, just go through the code and find the actual putserv "privmsg $chan :Your hint is: $blah", and put a # in front of it (turns it into a comment).
5. Would you be willing to pay $1 or so for this to be done for you? I'm thinking about making a tip jar thing for this forum if people would consider using it hehe.
I
Ian-Highlander
Op
Posts: 165
Joined: Mon Sep 24, 2001 8:00 pm
Location: Ely, Cambridgeshire

Post by Ian-Highlander »

Trivia 2000

I keep promising a new version of this and indeed have done a fair bit of work on it but its gonna be a long time coming coz I'm short of time but this version seems to be pretty popular.

Regards

Ian-Highlander
"Insanity Takes Its Toll, Please Have Exact Change"
w
weizah

hey

Post by weizah »

that trivia script was werry nice.. :> i wounder if it is posible to take out the categories and replace them with one i can make?
Im using it in a private channel, and wants to take the quiz alittle more to my homeplace.. so i wounder.. is it much work to take out all the categories and replace them with one called feks. melbu ??

thanx so much


weiZah
w
weizah

another ting

Post by weizah »

must i type start every time I want the bot to ask a qestion ??
I
Ian-Highlander
Op
Posts: 165
Joined: Mon Sep 24, 2001 8:00 pm
Location: Ely, Cambridgeshire

Post by Ian-Highlander »

The easiest way would be to simply rename your own files accordingly and then change this line:

Code: Select all

putserv "PRIVMSG $chan :Current categories available are:\0034 Geography, Entertainment, History, Art & Literature, Science & Nature, Sport & Leisure"
to show the categories you're using.

You'll then need to change the binds and unbinds throughout the script to reference the correct procedures (I wouldnt recommend changing the names of the procs, just the bind that triggers them)

Code: Select all

bind pub -|- geography set_geog
bind pub -|- entertainment set_ent
bind pub -|- history set_his
bind pub -|- art set_art
bind pub -|- science set_sci
bind pub -|- sport set_sport
and all events of this to the same trigger words:

Code: Select all

unbind pub -|- geography set_geog
unbind pub -|- entertainment set_ent
unbind pub -|- history set_his
unbind pub -|- art set_art
unbind pub -|- science set_sci
unbind pub -|- sport set_sport
I wouldnt recommend you start changing all the variables in the script, but this will do what you want it to without doing that *I THINK* (I havent looked at the ins and outs of doing this properly).

The question files should all be in the format of answer:question and in the current version the script will only pick up ONE WORD answers. (The new version will be a tad more flexible and is taking shape slowly).

Hope this helps.

Regards

Ian-Highlander
"Insanity Takes Its Toll, Please Have Exact Change"
I
Ian-Highlander
Op
Posts: 165
Joined: Mon Sep 24, 2001 8:00 pm
Location: Ely, Cambridgeshire

Post by Ian-Highlander »

Yes, with that version the script is set up for typing !start for each and every question, I wrote this script initially for a channel of people who did not want a constantly running script but wanted to be able to have a laugh with a quiz when they wanted.

The new version I am working on (slowly) will have a lot of added extras, although as I say my primary reason for writing this script was purely for my friends, it has proved a hugely popular script (if a bit basic) and I constantly get emails for updates (sometimes I wish I'd never released it :roll: ).

Hopefully the new version will have a !start <number of questions wanted> command (still working on that) that will ask that number of questions without needing to be re-triggered.

I've also started working on a seperate "Team Version" plug in that will need to be loaded seperately as well as Trivia 2000, but this is a LONG way off completion.

I also hope to have the !score commands fully working soon and am working on a !hint system to go along with the new multi word answers.

All of these I'm hoping to make optional switches, although its proving a tad hard to put this all together, so this wont be out for some time. (Dont hold your breath :wink: )

Regards

Ian-Highlander
"Insanity Takes Its Toll, Please Have Exact Change"
User avatar
Souperman
Halfop
Posts: 69
Joined: Sat Feb 02, 2002 8:00 pm
Location: Cape Town, South Africa
Contact:

Re: someone good with Quizz scripts?

Post by Souperman »

weizah wrote:Just woundered if anyone here had a QUIZZ script without hints and tips...
http://www.eggdrop.za.net/

Hints can be disabled if you want it that way. Just set the relevant setting. New (rewritten from the ground up) version is coming along nicely now.
Quick! Somebody get me a new ink cartridge
Locked