Jump to content
  • 0

npc registration


skipjack94

Question


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  44
  • Reputation:   0
  • Joined:  08/27/12
  • Last Seen:  

I would like requesting an npc

npc said: want to sign up? or view name that is already registered
players want to sign up: player enter their name
and npc that enter their name to the list

after gm see the list
  gm can remove the list of people who have registered
sorry bad english

Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  318
  • Reputation:   54
  • Joined:  12/23/12
  • Last Seen:  

//Marky

prontera,0,0,4	script	Sign up NPC	837,{

set .end,0;
	while(.end!=1){
	mes "[Sign up NPC]";
	mes "Want to sign up ?!";
	mes	"^6666ff^000000";
		for(set .@arrayvalue,getarraysize($@messageleft$); .@arrayvalue != -1;){
			mes $@messageleft$[.@arrayvalue];
			set .@arrayvalue, .@arrayvalue -1;
			}
			next;
			set .signmenu$,"Yes, Sign my name:Leave it alone";
			if(getgmlevel()>=99){set .signmenu$, .signmenu$ + ":^ff0000Wipe the list^000000"; }
			switch(select(.signmenu$)){
			case 1:
				mes "[Sign up NPC]";
				mes "You have signed up.";
				if($@counter % 2 == 1) {
				set $@messageleft$[$@counter], "^6666ff["+gettimestr("%H:%M",21)+"]^000000 ^ff0000"+ strcharinfo(0) + " Signed Up";
				mes "^ff0000" + @var$ + "^000000";
				} else {
				set $@messageleft$[$@counter], "^6666ff["+gettimestr("%H:%M",21)+"]^000000 "+strcharinfo(0) + " Signed Up";
				}
				set $@counter, $@counter + 1;
				close;
			case 2:
				close;
			case 3:
				set $@counter,0;	
				deletearray $@messageleft$[0],getarraysize($@messageleft$);
				set $@messageleft$[0],"";
				mes "They have been erased.";
				break;
		}
	}
	close;
	
	OnInit:
	waitingroom "Sign up NPC",0;
	set $@counter,0;
	set $@messageleft$[0],"";
	end;
	
}

 

 

You will need to edit the NPC names and dialogue text yourself, since I am unsure what this NPC is suppose to be doing.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  44
  • Reputation:   0
  • Joined:  08/27/12
  • Last Seen:  

thx

Metamorphic /no1

I've test npcnya and running well
but i want to ask, people who have signed up can sign up again
how can they not apply anymore?
how to make npc's only champion can sign up?
and how do you get people to register their party or guild there?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  44
  • Reputation:   0
  • Joined:  08/27/12
  • Last Seen:  

1. Player can register name or party or Guild (GM choose 1 of them)

for example Champion VS Champion

Just champion can sign up this

Nick: Local (Champion)

Aura (Champion)

Cica(Champion)

2. if for party register

for example Party "AZAH" want follow event

then npc save there name
1. Party Azah

2. Party Coco

3. if for guild

for example event GvG
Guild1 Sign up
guild2 Sign up

4. GM can wipe that list after event close (manual)
 i think like this

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  44
  • Reputation:   0
  • Joined:  08/27/12
  • Last Seen:  

Help me to answer this /sob

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
Answer this question...

×   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...