PapaZola Posted January 13, 2012 Posted January 13, 2012 anyone can make script like poll vote npc gm can add question example like this -should we make no delay? and gm can add 2 answer -Yes -No gm also can reset the question after finish the vote thx Quote
llchrisll Posted January 18, 2012 Posted January 18, 2012 (edited) Here try this, Vote NPC v1.0!!! Features: Config has been made as dynamically as possible. Delay, Max Answers, Max Votes at once, Max letters per Vote, Max letters per Answers can be set too. Settings Overview: set .votes,3; // Max Votes at the same time, Maximum 128!!! set .vote_q_max,15; // Maxium letters for the question set .vote_a,2; // Max Answers possible set .vote_a_max,5; // Maxium letters for the answers set .vote_delay,86400; // Delay in seconds, default 1 day (86400 Seconds) set .vote_limit,1; // Each player can only once per Vote: 1 = On / 0 = Off set .gm,60; // GM Access Level I hope I was able to satisfy you . I will also release this script as public, so that you know, I kinda liked the idea^^. Regards, Chris Edited January 18, 2012 by llchrisll 1 Quote
Santino Posted August 16, 2012 Posted August 16, 2012 sir, in this script , the gm access level is not well-functioning i think? i set it to 60, and login a normal player account, and I can delete the votes lol, what's wrong in this one ? Quote
Emistry Posted August 16, 2012 Posted August 16, 2012 how you load the script ? are you using rAthena ? if you are not using rAthena, you have to restart or @reloadscript because, by default rAthena will load the OnInit part even though you load the npc using @loadnpc Quote
Santino Posted August 16, 2012 Posted August 16, 2012 Yap. I am using rAthena. It loads the OnInit by default, indeed. now i know. lol =) thx for the tip. Quote
Question
PapaZola
anyone can make script like poll vote npc
gm can add question example like this
-should we make no delay?
and gm can add 2 answer
-Yes
-No
gm also can reset the question after finish the vote
thx
4 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.