I want to implement a voting system on my mud, but I don't know WHERE to begin! Here is what I want it to do in a nutshell.
--KEY--
-> = does action
"" = does command
-------
Player A -> "candidate council1"
Player B -> "vote player A council1"
Player 1 votes = 1 for Position council1
------------------------------------------------
In essence, I want a person to be able to first toggle a flag that marks them as a candidate (versus they meet min. req.) - then other players can vote on him, for that certain position. But I also have to have another check, Player A and Player B both must be in the same "Kingdom" (which I suppose I could setup using a flag in char_data, and compare against that). Basically there will be several kingdoms and they should be able to vote for 4 council member positions within their own kingdom only. And I want an imm command to "make the voting" time ready.. I could do this by cedit'ng the levels of the commands above to 65 until I declare it voting time.?! ..
Any ideas, help, info, sites, would be GREATLY appreciated thanks a lot. I think I can handle it, I just need a starting point.
Xyrex
--KEY--
-> = does action
"" = does command
-------
Player A -> "candidate council1"
Player B -> "vote player A council1"
Player 1 votes = 1 for Position council1
------------------------------------------------
In essence, I want a person to be able to first toggle a flag that marks them as a candidate (versus they meet min. req.) - then other players can vote on him, for that certain position. But I also have to have another check, Player A and Player B both must be in the same "Kingdom" (which I suppose I could setup using a flag in char_data, and compare against that). Basically there will be several kingdoms and they should be able to vote for 4 council member positions within their own kingdom only. And I want an imm command to "make the voting" time ready.. I could do this by cedit'ng the levels of the commands above to 65 until I declare it voting time.?! ..
Any ideas, help, info, sites, would be GREATLY appreciated thanks a lot. I think I can handle it, I just need a starting point.
Xyrex