hey, im currently using this src add on from annie -> http://rathena.org/board/topic/72571-battleground-system-without-waitingroom/
plus this script:
waitingroom "blub bg", .minplayer2start, strnpcinfo(0) +"::OnStart", .minplayer2start,0,90,99;
OnStart:
getmapxy .@map$, .@x, .@y, 1;
warpwaitingpc .@map$, .@x, .@y;
callfunc "rand__", .minplayer2start, $@rand;
for ( .@i = 0; .@i < $@warpwaitingpcnum; .@i++ )
setbgid ( .@i % 2 )? .red : .blue, $@warpwaitingpc[ $@rand[.@i] ];
delwaitingroom strnpcinfo(0);
bg_warp .red, "bat_c01", 50,124;
bg_warp .blue, "bat_c01", 149,59;
sleep 500;
setwall "bat_c01",54,122,6,7,0,"batc01wall_a";
setwall "bat_c01",55,122,5,7,0,"batc01wall_b";
setwall "bat_c01",140,56,6,7,0,"batc01wall_c";
setwall "bat_c01",140,57,5,7,0,"batc01wall_d";
bg_updatescore "bat_c01", 0, 0;
OnInit:
.red = 3; // red team bg ID
.blue = 4; // blue team bg ID
set .minplayer2start, 6; // minimum player to start
my question is, how to make this script without use waitingrooms?