Hello Community,
I have an idea for a reward point system for our radio bot and need help implementing TCL.
Objective:
Create a system that:
Awards points for the !request (+1) and !report (+2) commands
Monitors user levels (Bronze → Diamond)
Displays rankings using !top10 and !mypoints
Saves data persistently
=== RADIO REWARDS SYSTEM DOCUMENTATION ===
=== 1. SYSTEM PURPOSE ===
An Eggdrop IRC bot system that:
- Rewards listeners for song requests (!request) and technical reports (!report)
- Tracks user points and levels (Bronze to Diamond)
- Displays public rankings to encourage participation
- Provides engagement metrics for radio staff
=== 2. AVAILABLE COMMANDS ===
- !request <song> → +1 point
Example: !request The Beatles - Let It Be
- !report <issue> → +2 points
Example: !report Audio cutting out during news segments
- !mypoints → Shows your current points and level
- !top10 → Displays the leaderboard
=== 3. REAL-WORLD EXAMPLES ===
- Song Request:
<User123> !request Pink Floyd - Wish You Were Here
<BOT> User123: "Pink Floyd - Wish You Were Here" added to queue (+1 point)
<BOT> User123: You now have 8 points (Bronze). Next level: Silver at 10 points
- Technical Report:
<TechUser> !report Left channel audio missing during interviews
<BOT> TechUser: Technical report received (+2 points)
<BOT> TechUser: Total points: 15 (Silver). Current rank: #12
- Points Check:
<User456> !mypoints
<BOT> User456: Current points: 45 (Gold) | Rank: #4/75 users
<BOT> User456: Need 5 more points for Platinum level
- Leaderboard:
<User789> !top10
<BOT> Current Leaderboard:
1. MusicMaster - 110 pts (Diamond)
2. RadioFan99 - 85 pts (Platinum)
3. DJExpert - 60 pts (Gold)
4. User456 - 45 pts (Gold)
- Level Up Notification:
<BOT> Congratulations SarahJones! You've reached Platinum Level (50 points)
0 "Bronze"
10 "Silver"
25 "Gold"
50 "Platinum"
100 "Diamond"
I hope my bad English is understood :)