Jump to content
noxty

Ayuda Registro para evento

Recommended Posts

Hola que tal, miren quiero hacer un registro de Usuarios para realizar un evento, me eh encontrado este script

prontera,150,150,5	script	sample	56,{
	if ( select( "register", "delete the list" ) == 2 ) {
		deletearray .aid_reg, .size_reg;
		deletearray .cid_reg, .size_reg;
		dispbottom "list now empty";
	}
	else {
		[email protected] = getcharid(3);
		while( [email protected] < .size_reg && .aid_reg[[email protected]] != [email protected] ) [email protected]++;
		if ( [email protected] != .size_reg ) {
			dispbottom "already register";
			end;
		}
		.aid_reg[.size_reg] = [email protected];// account id
		.cid_reg[.size_reg] = getcharid(0);// charid
		.size_reg++;
		dispbottom "you are now on the list";
	}
	end;
}

Lo que queiro es que este npc tenga un limite de registro, por ejemplo 4 y que cuando se llege a ese limite warpee a todos los registrados ah un mapa.

 

Espero me puedan ayudar.

 

Gracias /no1

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.