Im trying to make a java bot that connects to an IRC, and then when a user types a command, it “rolls dice” but it seems to not be working
cannot find symbol variable IntRoll
illegal start of type
cannot find symbol variable OpRoll
illegal start of type
cannot find symbol variable Op
cannot find symbol variable IntRoll
illegal start of type
cannot find symbol variable OpRoll
illegal start of type
cannot find symbol variable Op
cannot find symbol variable Op
cannot find symbol variable generator
int cannot be dereferenced
cannot return a value from method whose result type is void
int cannot be dereferenced
cannot return a value from method whose result type is void
cannot return a value from method whose result type is void
cannot return a value from method whose result type is void
cannot find symbol variable generator
cannot find symbol variable InRoll
cannot return a value from method whose result type is void
cannot find symbol variable InRoll
cannot return a value from method whose result type is void
cannot return a value from method whose result type is void
here are the two files,
http://pastebin.com/c47RqRsd
http://pastebin.com/v4Y42uF4
Problems with
roll:InRoll.InRoll == someNumber.void.InRoll, so you cannot use it in youronMessagemethod.Problems with
Dice4Cash:IntRollfield nor anOpRollfield.I highly suggest you walk your way through some Java tutorials and learn the language.
Getting Started.
Learning the Java Language.