Famous Posted December 11, 2012 Group: Members Topic Count: 145 Topics Per Day: 0.03 Content Count: 455 Reputation: 3 Joined: 06/19/12 Last Seen: February 26, 2018 Share Posted December 11, 2012 I would like to request for this script will give automatic prize to the winner Custom Battle Ground_goddameit+TrojanWorm.txt Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted December 11, 2012 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 December 11, 2012 it seems his script using both waitingroom2bg and waitingroom2bg_single command, if using array can become very complicated think the easiest way is add in my getbgusers command which can be found here http://rathena.org/board/topic/72571-battleground-system-without-waitingroom/ then change if(.point[1]>.point[2]) { Announce "[battle Ground]:Team A Win!",0; }else if(.point[2]>.point[1]) { Announce "[battle Ground]:Team B Win!",0; }else { Announce "[battle Ground]:Draw!",0; } into if(.point[1]>.point[2]) { Announce "[battle Ground]:Team A Win!",0; getbgusers $@bg_id_a; for ( .@i = 0; .@i < $@arenamembersnum; .@i++ ) getitem 501, 1, $@arenamembers[.@i]; }else if(.point[2]>.point[1]) { Announce "[battle Ground]:Team B Win!",0; getbgusers $@bg_id_b; for ( .@i = 0; .@i < $@arenamembersnum; .@i++ ) getitem 501, 1, $@arenamembers[.@i]; }else { Announce "[battle Ground]:Draw!",0; } Quote Link to comment Share on other sites More sharing options...
Famous Posted December 15, 2012 Group: Members Topic Count: 145 Topics Per Day: 0.03 Content Count: 455 Reputation: 3 Joined: 06/19/12 Last Seen: February 26, 2018 Author Share Posted December 15, 2012 Thanks AnnieRuru I will try to Patch that Quote Link to comment Share on other sites More sharing options...
Question
Famous
I would like to request for this script will give automatic prize to the winner
Custom Battle Ground_goddameit+TrojanWorm.txt
Link to comment
Share on other sites
2 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.