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 :)
p
pektek
Halfop
Posts: 75
Joined: Sat Jul 01, 2023 4:51 pm
Location: TURKEY
Contact:

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

Post by pektek »

If your environment is running on Unreal, I can thoroughly test the script and provide a fully functional, error-free version for you. If this is what you are looking for, please share additional details so I can test and publish it according to your exact requirements. The reason I am asking is that some users operate on different environments, such as Dalnet and others, and when this is not specified, it may lead to errors or compatibility issues
User avatar
CrazyCat
Revered One
Posts: 1374
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

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

Post by CrazyCat »

Eggdrop script must not (in 99% of cases) be ircd dependant. IRC is a protocol, eggdrop is an IRC client, nothing else.

If you go to any IRC network, you don't mind about the ircd running, you just mind about connecting and chat. Eggdrop does the same, the only little differences between networks must not block any script (unless your eggdrop acts as a service).

And you already talk about UnrealIrcd 3.2... officialy died on 24/12/2015...
Post Reply