Two feature proposals
Status: Beta
Brought to you by:
suls
HattrickIRC 2.0.0-alpha works great (using in "goals"
mode), but two proposals:
- When I'm following four different matches, it's
sometimes hard to know which match bot actually means,
when it just says "home team made goal 0-1".
It would be nice if bot would display match teams in
front of goal text; "Team1-Team2: Team1 made goal"
- It would be nice for bot to display the result of
the match when the match ends, even in "goals" mode.
Now you dont know if the match is ended or not.
Anyway, great bot, Best regards,
Teemu@teemuharju.com
Logged In: NO
this is simple...
i suggest to make only those simple changes:
in
messenger.java
in public void send(Event event) replace with this
bot.sendMessage(ircConfig.getChannel(),event.getMinute()+"°-"+event.getEventText());
to see the minute of the action and in MatchImpl.java
in
public void refresh(Element data)
replace
Event currentEvent = new
EventImpl(currentEventElement,homeTeam.getTeamName()+"
"+homeGoals+":"+awayGoals+" "+awayTeam.getTeamName()+":");
to show teams and goals
PS. a little bug... in this version
getMinute() returns a team object id... you have to fix it ;)