VoteCast by MegaT
-----------------

This script allows you to cast a vote in up to 3 channels
simultaneously with up to 4 options. You may specify the
duration of the vote, and a command to be executed for each
outcome.

######################################################

This script requires mIRC 5.9 or above.

To load the script, place this readme and the script
votecast.mrc into the root mIRC directory.
Open mIRC and type:

/load -rs votecast.mrc

######################################################

Example Vote
------------
The 'Available Channels' listbox displays all the open channel
windows. I select #votes and press 'Add', then I select #mIRC
and press 'Add'. I decide I don't want to cast the vote in
#mIRC, so I select #mIRC in the 'Vote Channels' listbox and
press 'Del'.

I enter the duration of my vote, in seconds, into the
duration editbox. I then make a question. I type the
question "Who shall I kick from #votes?" into the question box.

Now I need to make some answers. I type "Bob" into the
'options' combo box and press the + button, and it appears in
the options list. I then add two more options "Jim" and "Sidney"
in the same way.

The "Resultant Commands" editboxes correspond to the 4 options.
I can fill in a command here which will be executed if the
adjacent option is the most popular choice of the voters. So,
in my case, I can enter "kick #votes Bob" into the first command
box, "kick #votes Jim" into the second, and "kick #votes Sidney"
into the third. I leave the fourth blank as there is no
corresponding option.

I am now ready to cast the vote. I check everything I have chosen
and press 'Vote'.

Note: There is an alias included in the script to message all of
the voting channels. You can therefore use this alias in your
resultant commands if you wish. The alias:

vc.msg [text]


######################################################

Enjoy the script.
/MegaT
Report bugs to me at megat@megat.co.uk.
Check out my other scripts at www.megat.co.uk/leet