This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

I need help with the reward point system for the radio bot (TCL)

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
O
ORATEGOD
Halfop
Posts: 43
Joined: Mon Jun 08, 2020 5:50 pm

I need help with the reward point system for the radio bot (TCL)

Post by ORATEGOD »

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 :)
Post Reply