Jump to content

Ayuda Registro para evento


noxty

Recommended Posts


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   1
  • Joined:  04/22/12
  • Last Seen:  

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 {
		.@myaid = getcharid(3);
		while( .@i < .size_reg && .aid_reg[.@i] != .@myaid ) .@i++;
		if ( .@i != .size_reg ) {
			dispbottom "already register";
			end;
		}
		.aid_reg[.size_reg] = .@myaid;// 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...