Bot Designer customer: “So sorry to bother you I just have a question about your code…
- User
Bot Designer customer: “So sorry to bother you I just have a question about your code you have listed for your leveling system. Should the totalXp always be logging as zero? When I eval it always says zero and I have been using this code for a while with no issues but now it is resetting users xp down when they send messages and this code has not been changed in forever it just started happening. I have gone through it multiple times but I can not find a reason this would be logging incorrectly or making a user's xp go down of all things. again sorry to bother and thank you in advance.”
Write a reply that I say: “Hey there, no need to apologize at all my friend, it’s great to see you again! I apologize for forgetting to reply back after being busy in life hehe.
Hmm, that’s very strange. The variable totalXp isn’t supposed to clear other users’ total XPs. When did this happen? Are you sure this code didn’t change at all or just a little? The official code I posted should be like this example: {message link}.
If you’re using $resetUserVar for the variable totalXp, remove that variable from that function and see if it doesn’t continue taking them down from other users.
Let me know what’s up. 🙂”
- Assistant
Hey there, no need to apologize at all my friend, it’s great to see you again! I apologize for forgetting to reply back after being busy in life hehe.
Hmm, that’s very strange. The variable totalXp isn’t supposed to clear other users’ total XPs. When did this happen? Are you sure this code didn’t change at all or just a little? The official code I posted should be like this example: {message link}.
If you’re using
$resetUserVarfor the variable totalXp, remove that variable from that function and see if it doesn’t continue taking them down from other users.Let me know what’s up. 🙂
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.