• Create Account

### #ActualServant of the Lord

Posted 07 February 2014 - 01:24 PM

My guess is it isn't compiling properly because of a syntax error. Specifically, the second comma from the end is not supposed to be there.

public override void OnTradeMessage(string message)
{
message = message.ToLower();

if (message == "raffle")
{
Bot.log.Success("User wants to do a raffle!");
}
//try
//{
//{
//Console.WriteLine(line);
//}
//}

} //<---- UNNECESSARY/EXTRA CURLY BRACKET

}


### #2Servant of the Lord

Posted 02 February 2014 - 06:25 PM

My guess is it isn't compiling properly because of a syntax error. Specifically, the second comma from the end is not supposed to be there.

public override void OnTradeMessage(string message)
{
message = message.ToLower();

if (message == "raffle")
{
Bot.log.Success("User wants to do a raffle!");
}
//try
//{
//{
//Console.WriteLine(line);
//}
//}

} //<---- UNNECESSARY/EXTRA SEMICOLON

}


### #1Servant of the Lord

Posted 02 February 2014 - 06:24 PM

My guess is it isn't compiling properly because of a syntax error. Specifically:

public override void OnTradeMessage(string message)
{
message = message.ToLower();

if (message == "raffle")
{
Bot.log.Success("User wants to do a raffle!");
}
//try
//{