caspa Posted June 4, 2018 Group: Members Topic Count: 194 Topics Per Day: 0.04 Content Count: 499 Reputation: 3 Joined: 03/11/12 Last Seen: September 18, 2023 Share Posted June 4, 2018 does anybody have a working click the pub event? the one modified that has OnMinute and not the one that has the Set .Repeat and Set .AM something? Quote Link to comment Share on other sites More sharing options...
0 AnnieRuru Posted June 4, 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 4, 2018 (edited) prontera,155,185,5 script Click-The-Pub 1_F_MARIA,{ end; OnWhisperGlobal: if ( getgmlevel() >= 99 ) goto OnMinute00; end; OnMinute00: delwaitingroom; waitingroom "Click ME", 2, strnpcinfo(0)+"::OnWinner", 1; end; OnWinner: warpwaitingpc "prontera", 155, 182, 1; attachrid $@warpwaitingpc; if ( !checkweight( 501,1 ) ) { dispbottom "LOL you don't have enought space to get a reward"; end; } getitem 501, 1; announce "Click the Pub: Winner is "+ strcharinfo(0) +" !!", bc_all; delwaitingroom; end; } Edited June 4, 2018 by AnnieRuru 1 Quote Link to comment Share on other sites More sharing options...
1 AnnieRuru Posted June 4, 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 4, 2018 @caspa , too simple ... prontera,155,185,5 script Click-The-Pub 1_F_MARIA,{ end; //OnInit: bindatcmd "test", strnpcinfo(0)+"::OnMinute00"; end; OnMinute00: delwaitingroom; waitingroom "Click ME", 2, strnpcinfo(0)+"::OnWinner", 1; end; OnWinner: getwaitingroomusers; attachrid .@waitingroom_users; if ( !checkweight( 501,1 ) ) { dispbottom "LOL you don't have enought space to get a reward"; kickwaitingroomall; end; } getitem 501, 1; announce "Click the Pub: Winner is "+ strcharinfo(0) +" !!", bc_all; delwaitingroom; end; } btw I remember you said you are using eamod ... I don't think your server has *getwaitingroomusers ? 1 Quote Link to comment Share on other sites More sharing options...
0 AnnieRuru Posted June 4, 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 4, 2018 what is this "CTP" or "click the pub" event means the 1st player who join the chat room that shows on top of npc wins ? Quote Link to comment Share on other sites More sharing options...
0 caspa Posted June 4, 2018 Group: Members Topic Count: 194 Topics Per Day: 0.04 Content Count: 499 Reputation: 3 Joined: 03/11/12 Last Seen: September 18, 2023 Author Share Posted June 4, 2018 2 hours ago, AnnieRuru said: what is this "CTP" or "click the pub" event means the 1st player who join the chat room that shows on top of npc wins ? yes ms annieruru... its a simple event which start every OnMinute** .... first player to click the PUB wins the prize... the game reset then start again on the specified OnMinute..... Quote Link to comment Share on other sites More sharing options...
0 caspa Posted June 4, 2018 Group: Members Topic Count: 194 Topics Per Day: 0.04 Content Count: 499 Reputation: 3 Joined: 03/11/12 Last Seen: September 18, 2023 Author Share Posted June 4, 2018 15 minutes ago, AnnieRuru said: @caspa , too simple ... prontera,155,185,5 script Click-The-Pub 1_F_MARIA,{ end; //OnInit: bindatcmd "test", strnpcinfo(0)+"::OnMinute00"; end; OnMinute00: delwaitingroom; waitingroom "Click ME", 2, strnpcinfo(0)+"::OnWinner", 1; end; OnWinner: getwaitingroomusers; attachrid .@waitingroom_users; if ( !checkweight( 501,1 ) ) { dispbottom "LOL you don't have enought space to get a reward"; kickwaitingroomall; end; } getitem 501, 1; announce "Click the Pub: Winner is "+ strcharinfo(0) +" !!", bc_all; delwaitingroom; end; } btw I remember you said you are using eamod ... I don't think your server has *getwaitingroomusers ? thank you so much for the reply ms annie.. hahaha yes i'm using eamod and yeah.. i dont have the getwatingroomuser and the bindatcmd.... is there any way to convert both of them? Quote Link to comment Share on other sites More sharing options...
0 caspa Posted June 4, 2018 Group: Members Topic Count: 194 Topics Per Day: 0.04 Content Count: 499 Reputation: 3 Joined: 03/11/12 Last Seen: September 18, 2023 Author Share Posted June 4, 2018 26 minutes ago, AnnieRuru said: prontera,155,185,5 script Click-The-Pub 1_F_MARIA,{ end; OnWhisperGlobal: if ( getgmlevel() >= 99 ) goto OnMinute00; end; OnMinute00: delwaitingroom; waitingroom "Click ME", 2, strnpcinfo(0)+"::OnWinner", 1; end; OnWinner: warpwaitingpc "prontera", 155, 182, 1; attachrid $@warpwaitingpc; if ( !checkweight( 501,1 ) ) { dispbottom "LOL you don't have enought space to get a reward"; end; } getitem 501, 1; announce "Click the Pub: Winner is "+ strcharinfo(0) +" !!", bc_all; delwaitingroom; end; } as usual... perfect script... thank you ms. annie... Quote Link to comment Share on other sites More sharing options...
Question
caspa
does anybody have a working click the pub event? the one modified that has OnMinute and not the one that has the Set .Repeat and Set .AM something?
Link to comment
Share on other sites
6 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.