Hey /code/
I'm a total newbie when it comes to programming. I come here to seek some help in Ruby and maybe learn something.
I found a great dicebot for IRC, http://d20.jonnydigital.com/roleplaying-tools/dicebot
It's open source and does everything other than calculate dice rolls the way I need. What it needs to do is calculate the total based around three different methods listed below, whichever is highest - not through calculating the plain sum;
Online example [slightly differs from the above]: http://www.voidstate.com/rpg/cthulhutech/roller.php
The dice functions are contained within dicebox.rb file. If anyone has an idea on how the above needs to be implemented or where I can find some tutorials on the subject, it would be appreciated.
You don't need a specific "tutorial" for that (nevermind the fact that nowadays "tutorial" means "shitty article written by a kid who just learned the stuff he's gonna teach you about").
You just need to learn the basic constructs of your language, and it should be easy to make this modification.
I recommend you try this: http://pine.fm/LearnToProgram/
Many things in this list are also good choices: http://www.ruby-lang.org/en/documentation/
I'll check em' out, thanks for the input.