VoteMapのプラグインっていえばxVotemapですが、これでは出来ないことがあるんですよ。
/1に歩兵マップ、/2に兵器マップとかこんな感じに偏りなくバランスよく設定出来たらなと思いxVotemapで出来ないなら作ればいいじゃん!ってことで。
以下、自作VoteMapについて
/1に歩兵がメイン
/2に兵器マップ
/3には全マップを
以上の三択で/1と/2には無難なマップを選定。下記リストからそれぞれランダムで選択される。/3は/1と/2のマップと被らないように選択
- 投票開始のトリガーはサーバー内での初キル
- 投票方法は投票が開始されてから従来通りにチャットに「/1」「/2」「/3」の遊びたいマップを打ち込む
- 投票はラウンド終了まで有効
マップリスト
- /1
- Zavod 311
- Operation Locker
- Guilin Peaks
- Operation Metro 2014
- Pearl Market
- Propaganda
- Lumpini Garden
- Operation Outbreak
- /2
- Golmud Railway
- Hainan Resort
- Siege of Shanghai
- Dawnbreaker
- Caspian Border 2014
- Firestorm 2014
- Nansha strike
- WaveBreaker
- Operation Mortar
- /3
- /1と/2を含む全マップ
コード
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 |
### ProconRulz - DAs VoteMap ver 1.DLC.4 by DA-xx-V # On Spawn;ServerFirst; Set %ini_server_vote/1[map]% 0;Set %ini_server_vote/2[map]% 0;Set %ini_server_vote/3[map]% 0; Exec mapList.clear; Exec mapList.save; Exec mapList.add %ini_server_map/1% ConquestLarge0 1; Exec mapList.add %ini_server_map/2% ConquestLarge0 1; Exec mapList.add %ini_server_map/3% ConquestLarge0 1; Exec mapList.save; If %ini_server_map/1% == MP_Abandoned;Set %ini_server_/1mapname% Zavod 311; If %ini_server_map/1% == MP_Prison;Set %ini_server_/1mapname% Operation Locker; If %ini_server_map/1% == XP1_003;Set %ini_server_/1mapname% Guilin Peaks; If %ini_server_map/1% == XP0_Metro;Set %ini_server_/1mapname% Operation Metro 2014; If %ini_server_map/1% == XP3_MarketPl;Set %ini_server_/1mapname% Pearl Market; If %ini_server_map/1% == XP3_Prpganda;Set %ini_server_/1mapname% Propaganda; If %ini_server_map/1% == XP3_UrbanGdn;Set %ini_server_/1mapname% Lumpini Garden; If %ini_server_map/1% == XP6_CMP;Set %ini_server_/1mapname% Operation Outbreak; If %ini_server_map/2% == MP_Journey;Set %ini_server_/2mapname% Golmud Railway; If %ini_server_map/2% == MP_Resort;Set %ini_server_/2mapname% Hainan Resort; If %ini_server_map/2% == MP_Siege;Set %ini_server_/2mapname% Siege of Shanghai; If %ini_server_map/2% == MP_Tremors;Set %ini_server_/2mapname% Dawnbreaker; If %ini_server_map/2% == XP0_Caspia;Set %ini_server_/2mapname% Caspian Border 2014; If %ini_server_map/2% == XP0_Firestor;Set %ini_server_/2mapname% Firestorm 2014; If %ini_server_map/2% == XP2_002;Set %ini_server_/2mapname% Nansha strike; If %ini_server_map/2% == XP2_003;Set %ini_server_/2mapname% WaveBreaker; If %ini_server_map/2% == XP2_004;Set %ini_server_/2mapname% Operation Mortar; If %ini_server_map/3% == MP_Abandoned;Set %ini_server_/3mapname% Zavod 311; If %ini_server_map/3% == MP_Damage;Set %ini_server_/3mapname% Lancang Dam; If %ini_server_map/3% == MP_Flooded;Set %ini_server_/3mapname% Flood Zone; If %ini_server_map/3% == MP_Journey;Set %ini_server_/3mapname% Golmud Railway; If %ini_server_map/3% == MP_Naval;Set %ini_server_/3mapname% Paracel Storm; If %ini_server_map/3% == MP_Prison;Set %ini_server_/3mapname% Operation Locker; If %ini_server_map/3% == MP_Resort;Set %ini_server_/3mapname% Hainan Resort; If %ini_server_map/3% == MP_Siege;Set %ini_server_/3mapname% Siege of Shanghai; If %ini_server_map/3% == MP_TheDish;Set %ini_server_/3mapname% Rogue Transmission; If %ini_server_map/3% == MP_Tremors;Set %ini_server_/3mapname% Dawnbreaker; If %ini_server_map/3% == XP1_001;Set %ini_server_/3mapname% Silk Road; If %ini_server_map/3% == XP1_002;Set %ini_server_/3mapname% Altai Range; If %ini_server_map/3% == XP1_003;Set %ini_server_/3mapname% Guilin Peaks; If %ini_server_map/3% == XP1_004;Set %ini_server_/3mapname% Dragon Pass; If %ini_server_map/3% == XP0_Caspia;Set %ini_server_/3mapname% Caspian Border 2014; If %ini_server_map/3% == XP0_Firestor;Set %ini_server_/3mapname% Firestorm 2014; If %ini_server_map/3% == XP0_Metro;Set %ini_server_/3mapname% Operation Metro 2014; If %ini_server_map/3% == XP0_Oman;Set %ini_server_/3mapname% Gulf of Oman 2014; If %ini_server_map/3% == XP2_001;Set %ini_server_/3mapname% Lost Islands; If %ini_server_map/3% == XP2_002;Set %ini_server_/3mapname% Nansha strike; If %ini_server_map/3% == XP2_003;Set %ini_server_/3mapname% WaveBreaker; If %ini_server_map/3% == XP2_004;Set %ini_server_/3mapname% Operation Mortar; If %ini_server_map/3% == XP3_MarketPl;Set %ini_server_/3mapname% Pearl Market; If %ini_server_map/3% == XP3_Prpganda;Set %ini_server_/3mapname% Propaganda; If %ini_server_map/3% == XP3_UrbanGdn;Set %ini_server_/3mapname% Lumpini Garden; If %ini_server_map/3% == XP3_WtrFront;Set %ini_server_/3mapname% Sunken Dragon; If %ini_server_map/3% == XP4_Arctic;Set %ini_server_/3mapname% Operation Whiteout; If %ini_server_map/3% == XP4_SubBase;Set %ini_server_/3mapname% Hammerhead; If %ini_server_map/3% == XP4_Titan;Set %ini_server_/3mapname% Hangar 21; If %ini_server_map/3% == XP4_WalkerFactory;Set %ini_server_/3mapname% Giants of Karelia; If %ini_server_map/3% == XP5_Night_01;Set %ini_server_/3mapname% Zavod:Graveyard Shift; If %ini_server_map/3% == XP6_CMP;Set %ini_server_/3mapname% Operation Outbreak; If %ini_server_map/3% == XP7_Valley;Set %ini_server_/3mapname% Dragon Valley 2015; # On Kill;ServerFirst; Say dasvotemapsdasvotemapsdasvotemapsdasvotema; Say psdasvotemapsdasvotemapsdasvotemapsdasvote; Say mapsdasvotemapsdasvotemapsdasvotemapsdasvo; Say temapsdasvotemapsdasvotemapsdasvotemapsdas; Say votemapsdasvotemapsdasvotemapsdasvotemaps!; Both ####### VOTE NEXT MAP #######; Say - Type /1, /2,... in chat to vote for the next round map.; Say - /1 %ini_server_/1mapname%; Say - /2 %ini_server_/2mapname%; Say - /3 %ini_server_/3mapname%; Set %ini_server_voteon[map]% True; # On Kill; Incr %ini_server_map1%;Incr %ini_server_map2%;Incr %ini_server_map3%; If %ini_server_map1% == 8;Set %ini_server_map1% 0; If %ini_server_map2% == 9;Set %ini_server_map2% 0; If %ini_server_map3% == 33;Set %ini_server_map3% 0; # If %ini_server_map1% == 0;Set %ini_server_map/1% MP_Abandoned; If %ini_server_map1% == 1;Set %ini_server_map/1% MP_Prison; If %ini_server_map1% == 2;Set %ini_server_map/1% XP1_003; If %ini_server_map1% == 3;Set %ini_server_map/1% XP0_Metro; If %ini_server_map1% == 4;Set %ini_server_map/1% XP3_MarketPl; If %ini_server_map1% == 5;Set %ini_server_map/1% XP3_Prpganda; If %ini_server_map1% == 6;Set %ini_server_map/1% XP3_UrbanGdn; If %ini_server_map1% == 7;Set %ini_server_map/1% XP6_CMP; If %ini_server_map2% == 0;Set %ini_server_map/2% MP_Journey; If %ini_server_map2% == 1;Set %ini_server_map/2% MP_Resort; If %ini_server_map2% == 2;Set %ini_server_map/2% MP_Siege; If %ini_server_map2% == 3;Set %ini_server_map/2% MP_Tremors; If %ini_server_map2% == 4;Set %ini_server_map/2% XP0_Caspia; If %ini_server_map2% == 5;Set %ini_server_map/2% XP0_Firestor; If %ini_server_map2% == 6;Set %ini_server_map/2% XP2_002; If %ini_server_map2% == 7;Set %ini_server_map/2% XP2_003; If %ini_server_map2% == 8;Set %ini_server_map/2% XP2_004; If %ini_server_map3% == 0;Set %ini_server_map/3% MP_Abandoned; If %ini_server_map3% == 1;Set %ini_server_map/3% MP_Damage; If %ini_server_map3% == 2;Set %ini_server_map/3% MP_Flooded; If %ini_server_map3% == 3;Set %ini_server_map/3% MP_Journey; If %ini_server_map3% == 4;Set %ini_server_map/3% MP_Naval; If %ini_server_map3% == 5;Set %ini_server_map/3% MP_Prison; If %ini_server_map3% == 6;Set %ini_server_map/3% MP_Resort; If %ini_server_map3% == 7;Set %ini_server_map/3% MP_Siege; If %ini_server_map3% == 8;Set %ini_server_map/3% MP_TheDish; If %ini_server_map3% == 9;Set %ini_server_map/3% MP_Tremors; If %ini_server_map3% == 10;Set %ini_server_map/3% XP1_001; If %ini_server_map3% == 11;Set %ini_server_map/3% XP1_002; If %ini_server_map3% == 12;Set %ini_server_map/3% XP1_003; If %ini_server_map3% == 13;Set %ini_server_map/3% XP1_004; If %ini_server_map3% == 14;Set %ini_server_map/3% XP0_Caspia; If %ini_server_map3% == 15;Set %ini_server_map/3% XP0_Firestor; If %ini_server_map3% == 16;Set %ini_server_map/3% XP0_Metro; If %ini_server_map3% == 16;Set %ini_server_map/3% XP0_Oman; If %ini_server_map3% == 18;Set %ini_server_map/3% XP2_001; If %ini_server_map3% == 19;Set %ini_server_map/3% XP2_002; If %ini_server_map3% == 20;Set %ini_server_map/3% XP2_003; If %ini_server_map3% == 21;Set %ini_server_map/3% XP2_004; If %ini_server_map3% == 22;Set %ini_server_map/3% XP3_MarketPl; If %ini_server_map3% == 23;Set %ini_server_map/3% XP3_Prpganda; If %ini_server_map3% == 24;Set %ini_server_map/3% XP3_UrbanGdn; If %ini_server_map3% == 25;Set %ini_server_map/3% XP3_WtrFront; If %ini_server_map3% == 26;Set %ini_server_map/3% XP4_Arctic; If %ini_server_map3% == 27;Set %ini_server_map/3% XP4_SubBase; If %ini_server_map3% == 28;Set %ini_server_map/3% XP4_Titan; If %ini_server_map3% == 29;Set %ini_server_map/3% XP4_WalkerFactory; If %ini_server_map3% == 30;Set %ini_server_map/3% XP5_Night_01; If %ini_server_map3% == 31;Set %ini_server_map/3% XP6_CMP; If %ini_server_map3% == 32;Set %ini_server_map/3% XP7_Valley; If %ini_server_map/1% == %ini_server_map/3%;Incr %ini_server_map3%;If %ini_server_map3% == 33;Set %ini_server_map3% 0; If %ini_server_map/2% == %ini_server_map/3%;Incr %ini_server_map3%;If %ini_server_map3% == 33;Set %ini_server_map3% 0; If %ini_server_map3% == 0;Set %ini_server_map/3% MP_Abandoned; If %ini_server_map3% == 1;Set %ini_server_map/3% MP_Damage; If %ini_server_map3% == 2;Set %ini_server_map/3% MP_Flooded; If %ini_server_map3% == 3;Set %ini_server_map/3% MP_Journey; If %ini_server_map3% == 4;Set %ini_server_map/3% MP_Naval; If %ini_server_map3% == 5;Set %ini_server_map/3% MP_Prison; If %ini_server_map3% == 6;Set %ini_server_map/3% MP_Resort; If %ini_server_map3% == 7;Set %ini_server_map/3% MP_Siege; If %ini_server_map3% == 8;Set %ini_server_map/3% MP_TheDish; If %ini_server_map3% == 9;Set %ini_server_map/3% MP_Tremors; If %ini_server_map3% == 10;Set %ini_server_map/3% XP1_001; If %ini_server_map3% == 11;Set %ini_server_map/3% XP1_002; If %ini_server_map3% == 12;Set %ini_server_map/3% XP1_003; If %ini_server_map3% == 13;Set %ini_server_map/3% XP1_004; If %ini_server_map3% == 14;Set %ini_server_map/3% XP0_Caspia; If %ini_server_map3% == 15;Set %ini_server_map/3% XP0_Firestor; If %ini_server_map3% == 16;Set %ini_server_map/3% XP0_Metro; If %ini_server_map3% == 16;Set %ini_server_map/3% XP0_Oman; If %ini_server_map3% == 18;Set %ini_server_map/3% XP2_001; If %ini_server_map3% == 19;Set %ini_server_map/3% XP2_002; If %ini_server_map3% == 20;Set %ini_server_map/3% XP2_003; If %ini_server_map3% == 21;Set %ini_server_map/3% XP2_004; If %ini_server_map3% == 22;Set %ini_server_map/3% XP3_MarketPl; If %ini_server_map3% == 23;Set %ini_server_map/3% XP3_Prpganda; If %ini_server_map3% == 24;Set %ini_server_map/3% XP3_UrbanGdn; If %ini_server_map3% == 25;Set %ini_server_map/3% XP3_WtrFront; If %ini_server_map3% == 26;Set %ini_server_map/3% XP4_Arctic; If %ini_server_map3% == 27;Set %ini_server_map/3% XP4_SubBase; If %ini_server_map3% == 28;Set %ini_server_map/3% XP4_Titan; If %ini_server_map3% == 29;Set %ini_server_map/3% XP4_WalkerFactory; If %ini_server_map3% == 30;Set %ini_server_map/3% XP5_Night_01; If %ini_server_map3% == 31;Set %ini_server_map/3% XP6_CMP; If %ini_server_map3% == 32;Set %ini_server_map/3% XP7_Valley; On Say; Incr %ini_server_map1%;Incr %ini_server_map2%;Incr %ini_server_map3%; If %ini_server_map1% == 8;Set %ini_server_map1% 0; If %ini_server_map2% == 9;Set %ini_server_map2% 0; If %ini_server_map3% == 33;Set %ini_server_map3% 0; # If %ini_server_map1% == 0;Set %ini_server_map/1% MP_Abandoned; If %ini_server_map1% == 1;Set %ini_server_map/1% MP_Prison; If %ini_server_map1% == 2;Set %ini_server_map/1% XP1_003; If %ini_server_map1% == 3;Set %ini_server_map/1% XP0_Metro; If %ini_server_map1% == 4;Set %ini_server_map/1% XP3_MarketPl; If %ini_server_map1% == 5;Set %ini_server_map/1% XP3_Prpganda; If %ini_server_map1% == 6;Set %ini_server_map/1% XP3_UrbanGdn; If %ini_server_map1% == 7;Set %ini_server_map/1% XP6_CMP; If %ini_server_map2% == 0;Set %ini_server_map/2% MP_Journey; If %ini_server_map2% == 1;Set %ini_server_map/2% MP_Resort; If %ini_server_map2% == 2;Set %ini_server_map/2% MP_Siege; If %ini_server_map2% == 3;Set %ini_server_map/2% MP_Tremors; If %ini_server_map2% == 4;Set %ini_server_map/2% XP0_Caspia; If %ini_server_map2% == 5;Set %ini_server_map/2% XP0_Firestor; If %ini_server_map2% == 6;Set %ini_server_map/2% XP2_002; If %ini_server_map2% == 7;Set %ini_server_map/2% XP2_003; If %ini_server_map2% == 8;Set %ini_server_map/2% XP2_004; If %ini_server_map3% == 0;Set %ini_server_map/3% MP_Abandoned; If %ini_server_map3% == 1;Set %ini_server_map/3% MP_Damage; If %ini_server_map3% == 2;Set %ini_server_map/3% MP_Flooded; If %ini_server_map3% == 3;Set %ini_server_map/3% MP_Journey; If %ini_server_map3% == 4;Set %ini_server_map/3% MP_Naval; If %ini_server_map3% == 5;Set %ini_server_map/3% MP_Prison; If %ini_server_map3% == 6;Set %ini_server_map/3% MP_Resort; If %ini_server_map3% == 7;Set %ini_server_map/3% MP_Siege; If %ini_server_map3% == 8;Set %ini_server_map/3% MP_TheDish; If %ini_server_map3% == 9;Set %ini_server_map/3% MP_Tremors; If %ini_server_map3% == 10;Set %ini_server_map/3% XP1_001; If %ini_server_map3% == 11;Set %ini_server_map/3% XP1_002; If %ini_server_map3% == 12;Set %ini_server_map/3% XP1_003; If %ini_server_map3% == 13;Set %ini_server_map/3% XP1_004; If %ini_server_map3% == 14;Set %ini_server_map/3% XP0_Caspia; If %ini_server_map3% == 15;Set %ini_server_map/3% XP0_Firestor; If %ini_server_map3% == 16;Set %ini_server_map/3% XP0_Metro; If %ini_server_map3% == 16;Set %ini_server_map/3% XP0_Oman; If %ini_server_map3% == 18;Set %ini_server_map/3% XP2_001; If %ini_server_map3% == 19;Set %ini_server_map/3% XP2_002; If %ini_server_map3% == 20;Set %ini_server_map/3% XP2_003; If %ini_server_map3% == 21;Set %ini_server_map/3% XP2_004; If %ini_server_map3% == 22;Set %ini_server_map/3% XP3_MarketPl; If %ini_server_map3% == 23;Set %ini_server_map/3% XP3_Prpganda; If %ini_server_map3% == 24;Set %ini_server_map/3% XP3_UrbanGdn; If %ini_server_map3% == 25;Set %ini_server_map/3% XP3_WtrFront; If %ini_server_map3% == 26;Set %ini_server_map/3% XP4_Arctic; If %ini_server_map3% == 27;Set %ini_server_map/3% XP4_SubBase; If %ini_server_map3% == 28;Set %ini_server_map/3% XP4_Titan; If %ini_server_map3% == 29;Set %ini_server_map/3% XP4_WalkerFactory; If %ini_server_map3% == 30;Set %ini_server_map/3% XP5_Night_01; If %ini_server_map3% == 31;Set %ini_server_map/3% XP6_CMP; If %ini_server_map3% == 32;Set %ini_server_map/3% XP7_Valley; If %ini_server_map/1% == %ini_server_map/3%;Incr %ini_server_map3%;If %ini_server_map3% == 33;Set %ini_server_map3% 0; If %ini_server_map/2% == %ini_server_map/3%;Incr %ini_server_map3%;If %ini_server_map3% == 33;Set %ini_server_map3% 0; If %ini_server_map3% == 0;Set %ini_server_map/3% MP_Abandoned; If %ini_server_map3% == 1;Set %ini_server_map/3% MP_Damage; If %ini_server_map3% == 2;Set %ini_server_map/3% MP_Flooded; If %ini_server_map3% == 3;Set %ini_server_map/3% MP_Journey; If %ini_server_map3% == 4;Set %ini_server_map/3% MP_Naval; If %ini_server_map3% == 5;Set %ini_server_map/3% MP_Prison; If %ini_server_map3% == 6;Set %ini_server_map/3% MP_Resort; If %ini_server_map3% == 7;Set %ini_server_map/3% MP_Siege; If %ini_server_map3% == 8;Set %ini_server_map/3% MP_TheDish; If %ini_server_map3% == 9;Set %ini_server_map/3% MP_Tremors; If %ini_server_map3% == 10;Set %ini_server_map/3% XP1_001; If %ini_server_map3% == 11;Set %ini_server_map/3% XP1_002; If %ini_server_map3% == 12;Set %ini_server_map/3% XP1_003; If %ini_server_map3% == 13;Set %ini_server_map/3% XP1_004; If %ini_server_map3% == 14;Set %ini_server_map/3% XP0_Caspia; If %ini_server_map3% == 15;Set %ini_server_map/3% XP0_Firestor; If %ini_server_map3% == 16;Set %ini_server_map/3% XP0_Metro; If %ini_server_map3% == 16;Set %ini_server_map/3% XP0_Oman; If %ini_server_map3% == 18;Set %ini_server_map/3% XP2_001; If %ini_server_map3% == 19;Set %ini_server_map/3% XP2_002; If %ini_server_map3% == 20;Set %ini_server_map/3% XP2_003; If %ini_server_map3% == 21;Set %ini_server_map/3% XP2_004; If %ini_server_map3% == 22;Set %ini_server_map/3% XP3_MarketPl; If %ini_server_map3% == 23;Set %ini_server_map/3% XP3_Prpganda; If %ini_server_map3% == 24;Set %ini_server_map/3% XP3_UrbanGdn; If %ini_server_map3% == 25;Set %ini_server_map/3% XP3_WtrFront; If %ini_server_map3% == 26;Set %ini_server_map/3% XP4_Arctic; If %ini_server_map3% == 27;Set %ini_server_map/3% XP4_SubBase; If %ini_server_map3% == 28;Set %ini_server_map/3% XP4_Titan; If %ini_server_map3% == 29;Set %ini_server_map/3% XP4_WalkerFactory; If %ini_server_map3% == 30;Set %ini_server_map/3% XP5_Night_01; If %ini_server_map3% == 31;Set %ini_server_map/3% XP6_CMP; If %ini_server_map3% == 32;Set %ini_server_map/3% XP7_Valley; # On Say;Text /1;If %p% != Server;If %ini_server_voteon[map]% == True; If %player_vote1[map]% == 1;PlayerSay %p% You have already voted; If %player_vote1[map]% == 0;Incr %ini_server_vote/1[map]%;Set %player_vote1[map]% 1;PlayerSay %p% you voted for %ini_server_/1mapname%.; If %player_vote2[map]% == 1;Decr %ini_server_vote/2[map]%;Set %player_vote1[map]% 1;Set %player_vote2[map]% 0;PlayerSay %p% Your vote has been changed from %ini_server_/2mapname% to %ini_server_/1mapname%.; If %player_vote3[map]% == 1;Decr %ini_server_vote/3[map]%;Set %player_vote1[map]% 1;Set %player_vote3[map]% 0;PlayerSay %p% Your vote has been changed from %ini_server_/3mapname% to %ini_server_/1mapname%.; # On Say;Text /2;If %p% != Server;If %ini_server_voteon[map]% == True; If %player_vote2[map]% == 1;PlayerSay %p% You have already voted; If %player_vote2[map]% == 0;Incr %ini_server_vote/2[map]%;Set %player_vote2[map]% 1;PlayerSay %p% you voted for %ini_server_/2mapname%.; If %player_vote1[map]% == 1;Decr %ini_server_vote/1[map]%;Set %player_vote2[map]% 1;Set %player_vote1[map]% 0;PlayerSay %p% Your vote has been changed from %ini_server_/1mapname% to %ini_server_/2mapname%.; If %player_vote3[map]% == 1;Decr %ini_server_vote/3[map]%;Set %player_vote2[map]% 1;Set %player_vote3[map]% 0;PlayerSay %p% Your vote has been changed from %ini_server_/3mapname% to %ini_server_/2mapname%.; # On Say;Text /3;If %p% != Server;If %ini_server_voteon[map]% == True; If %player_vote3[map]% == 1;PlayerSay %p% You have already voted; If %player_vote3[map]% == 0;Incr %ini_server_vote/3[map]%;Set %player_vote3[map]% 1;PlayerSay %p% you voted for %ini_server_/3mapname%.; If %player_vote1[map]% == 1;Decr %ini_server_vote/1[map]%;Set %player_vote3[map]% 1;Set %player_vote1[map]% 0;PlayerSay %p% Your vote has been changed from %ini_server_/1mapname% to %ini_server_/3mapname%.; If %player_vote2[map]% == 1;Decr %ini_server_vote/2[map]%;Set %player_vote3[map]% 1;Set %player_vote2[map]% 0;PlayerSay %p% Your vote has been changed from %ini_server_/2mapname% to %ini_server_/3mapname%.; # On Say;If %ini_server_voteon[map]% == True; If %ini_server_vote/1[map]% > %ini_server_vote/2[map]%;If %ini_server_vote/1[map]% > %ini_server_vote/3[map]%;Set %ini_server_nextmap% "0";Set %ini_server_nextmapname% %ini_server_/1mapname%; If %ini_server_vote/2[map]% > %ini_server_vote/1[map]%;If %ini_server_vote/2[map]% > %ini_server_vote/3[map]%;Set %ini_server_nextmap% "1";Set %ini_server_nextmapname% %ini_server_/2mapname%; If %ini_server_vote/3[map]% > %ini_server_vote/1[map]%;If %ini_server_vote/3[map]% > %ini_server_vote/2[map]%;Set %ini_server_nextmap% "2";Set %ini_server_nextmapname% %ini_server_/3mapname%; # On Say;If %ini_server_voteon[map]% == True;If %ini_server_vote/1[map]% == 0;If %ini_server_vote/2[map]% == 0;If %ini_server_vote/3[map]% == 0; Incr %server_novotes%;If %server_novotes% == 3;Set %server_novotes% 0; If %server_novotes% == 0;Set %ini_server_nextmap% "0";Set %ini_server_nextmapname% %ini_server_/1mapname%; If %server_novotes% == 1;Set %ini_server_nextmap% "1";Set %ini_server_nextmapname% %ini_server_/2mapname%; If %server_novotes% == 2;Set %ini_server_nextmap% "2";Set %ini_server_nextmapname% %ini_server_/3mapname%; # On Say;Text !next,/next;If %p% != Server; If %ini_server_voteon[map]% == True;Say - Type /1, /2,... in chat to vote for the next round map.;Say - /1 %ini_server_/1mapname% [%ini_server_vote/1[map]%];Say - /2 %ini_server_/2mapname% [%ini_server_vote/2[map]%];Say - /3 %ini_server_/3mapname% [%ini_server_vote/3[map]%]; If %ini_server_voteon[map]% == False;Say Next Map is %ini_server_nextmapname%. On Kill;If %ini_server_voteon[map]% == True; Incr %server_votereport[map]%; If %server_votereport[map]% == 50;Say - Type /1, /2,... in chat to vote for the next round map.;Say - /1 %ini_server_/1mapname% [%ini_server_vote/1[map]%];Say - /2 %ini_server_/2mapname% [%ini_server_vote/2[map]%];Say - /3 %ini_server_/3mapname% [%ini_server_vote/3[map]%];Set %server_votereport[map]% 0; # On RoundOver; Set %ini_server_voteon[map]% False;Exec mapList.setNextMapIndex %ini_server_nextmap%;Say Next Map is %ini_server_nextmapname%.;Set %ini_server_vote/1[map]% 0;Set %ini_server_vote/2[map]% 0;Set %ini_server_vote/3[map]% 0; |