Question guys..

leloush

New member
Messages
269
Points
0
Location
in front of my laptop =)
Emulator
is there a script like this

in a ( small map/room = as the waiting room ) is it possible to make a random pick of player that in the > ( small map/room = as the waiting room )

then automatically warped @ ( example arena )

thanks in advanced.

 
Last edited by a moderator:
Code:
-	script	Sample	-1,{	OnMinute00:		query_sql "SELECT `account_id` FROM `char` WHERE `last_map` = 'prontera' ORDER BY RAND() LIMIT 1",.@aid;		if ( attachrid( .@aid ) )			warp "prontera",150,150;		end;}
Randomly choose a character on map prontera. Attach their account id and then do the warp.

 
Last edited by a moderator:
Patskie said:
Randomly choose a character on map prontera. Attach their account id and then do the warp. 
nvm sir pats.. btw thank you for this it works perfectly 
default_biggrin.png


 
Last edited by a moderator:
Back
Top