Almost all my scripts are self-made but I've been having trouble making this. I would greatly appreciate it if someone can be able to make an NPC that has the following functions:
- NPC will accept 1 ticket for 1 entry (with multiple ticket/entry function)
- Record the character name for the entry (via variable or SQL)
- Randomly pick a winner at the end of every week (with global broadcast)
- Reset all entries 1 day after the NPC picks a winner
That's pretty much it. I'm still in the learning process of scripting so can someone please make one for me and sorta explain the functions of how the codes work.
Question
Pseudo
Almost all my scripts are self-made but I've been having trouble making this. I would greatly appreciate it if someone can be able to make an NPC that has the following functions:
- NPC will accept 1 ticket for 1 entry (with multiple ticket/entry function)
- Record the character name for the entry (via variable or SQL)
- Randomly pick a winner at the end of every week (with global broadcast)
- Reset all entries 1 day after the NPC picks a winner
That's pretty much it. I'm still in the learning process of scripting so can someone please make one for me and sorta explain the functions of how the codes work.
Thank you!
Link to comment
Share on other sites
7 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.