roro6060 Posted June 7, 2018 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 6 Reputation: 0 Joined: 05/22/17 Last Seen: June 30, 2020 Share Posted June 7, 2018 Quote 2012rwc_02,187,204,3 script 自動倒數器 837,{ mes " [小喇叭]"; mes "你要使用自動倒數器嗎?"; next; menu " [我要使用] ",S_mes1, " [取消] ",clos; S_mes1: mes "[自動倒數器]"; announce "The race will begin",bc_all,0xFF0000; end; OnTimer5000: announce "30",15; end; OnTimer15000: announce "20",15; end; OnTimer25000: announce "10",15; end; OnTimer26000: announce "9",15; end; OnTimer27000: announce "8",15; end; OnTimer28000: announce "7",15; end; OnTimer29000: announce "6",15; end; OnTimer30000: announce "5",15; end; OnTimer31000: announce "4",15; end; OnTimer32000: announce "3",15; end; OnTimer33000: announce "2",15; end; OnTimer34000: announce "1",15; end; OnTimer35000: announce "0",15; end; clos: close; end; OnInit: waitingroom "自動倒數器",0; end; } How to write the code makes the system countdown from thirty seconds? now my script only says "the race will begin" Quote Link to comment Share on other sites More sharing options...
0 pajodex Posted June 7, 2018 Group: Members Topic Count: 79 Topics Per Day: 0.03 Content Count: 439 Reputation: 173 Joined: 12/12/17 Last Seen: Monday at 05:33 PM Share Posted June 7, 2018 48 minutes ago, roro6060 said: mes "[自動倒數器]"; announce "The race will begin",bc_all,0xFF0000; end; make to mes "[自動倒數器]"; announce "The race will begin",bc_all,0xFF0000; initnpctimer; // initialize npc timer end; and here 48 minutes ago, roro6060 said: OnTimer35000: announce "0",15; end; to OnTimer35000: stopnpctimer; // stops the timer announce "0",15; end; Quote Link to comment Share on other sites More sharing options...
0 roro6060 Posted June 7, 2018 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 6 Reputation: 0 Joined: 05/22/17 Last Seen: June 30, 2020 Author Share Posted June 7, 2018 It works! Thx!! Quote Link to comment Share on other sites More sharing options...
0 AnnieRuru Posted June 7, 2018 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share Posted June 7, 2018 (edited) why not just use *showdigit ? might need to use addrid because showdigit only attach to 1 player though prontera,155,185,5 script kshdfkfs 1_F_MARIA,{ addrid 1; showdigit ~10, 2; sleep2 10000; showdigit 0, 0; end; } Edited June 7, 2018 by AnnieRuru 1 Quote Link to comment Share on other sites More sharing options...
Question
roro6060
How to write the code makes the system countdown from thirty seconds?
now my script only says "the race will begin"
Link to comment
Share on other sites
3 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.