Jump to content
  • 0

@cmd ( recalll npc ) not responding


Dolphin86

Question


  • Group:  Members
  • Topic Count:  255
  • Topics Per Day:  0.06
  • Content Count:  706
  • Reputation:   16
  • Joined:  01/07/12
  • Last Seen:  

It was working fine before i could just simply input command @server and msg from that npc will appear no matter which map i am, but after some few new modification, i can no longer recall the npc by adding @server, plus there was no error to state what was wrong with it. please help me thanks.

 

Spoiler
-	script	SGuide	-1,{

OnAtcommand:
OnPCLoadMapEvent:
if( strcharinfo(3) == "chry_fld"){
	mes "^00c000III Server Guide III^000000";
	mes "Welcome to DolphinRO";
	mes "Please take a look these";
	mes "Options.";
	mes "====================";
	mes "For alternative, you may";
	mes "recall this system by";
	mes "typing command ^00c000@server^000000";
	mes "in your massage box";
	next;
	switch(select("- Leave Me Alone:- Guide Me"))
		{
			case 1:
				mes "^00c000III Server Guide III^000000";
				mes "Good bye.";
				end;
			case 2:
				mes "^00c000III Server Guide III^000000";
				mes "Please select which would you like?";
				next;
				switch(select("- Basic Guide:- NPC Guide:- Exit")){	
				
				case 1:
					mes "^00c000III Server Guide III^000000";
					mes "Basic";
					end;
				
				case 2:
					mes "^00c000III Server Guide III^000000";
					mes "Please select.";
					next;
					switch(select("- Arrow Quiver NPC:- Exit")){
						
						case 1:
							mes "^00c000III Server Guide III^000000";
							mes "This npc will make arrow quiver";
							mes "for player to reduce the weight";
							mes "of the arrow.";
							mes "===============================";
							mes "This npc can be found in Mall area";
							next;
							switch(select("- More Info:- Warp to npc:- Exit")){
								case 1:
									mes "^00c000III Server Guide III^000000";
									mes "for more info click on the link below";
									mes "<URL>Arrow Quiver NPC<INFO>https://dolphin-ro.com/.wiki./doku.php?id=quiver"+.@search$+",1000,1000</INFO></URL>";
									end;
								case 2:
									warp "vend_zone",99,99;
									end;
								case 3:
									mes "^00c000III Server Guide III^000000";
									mes "Good Bye.";
									close;
							
							}
						case 2:		
							mes "^00c000III Server Guide III^000000";
							mes "Good Bye.";
							close;
															}
				case 3:
					mes "^00c000III Server Guide III^000000";
					mes "Good Bye";
					close;
					}
			
		}
	}
OnInit:
		bindatcmd "server","SGuide::OnAtcommand";
		end;	
}

chry_fld	mapflag	loadevent

 

 

Edited by Dolphin86
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.01
  • Content Count:  82
  • Reputation:   7
  • Joined:  12/29/18
  • Last Seen:  

i put prontera instead of chry_fld

-	script	SGuide	-1,{

OnPCLoadMapEvent:
if( strcharinfo(3) == "prontera"){
OnAtcommand:
	mes "^00c000III Server Guide III^000000";
	mes "Welcome to DolphinRO";
	mes "Please take a look these";
	mes "Options.";
	mes "====================";
	mes "For alternative, you may";
	mes "recall this system by";
	mes "typing command ^00c000@server^000000";
	mes "in your massage box";
	next;
	switch(select("- Leave Me Alone:- Guide Me"))
		{
			case 1:
				mes "^00c000III Server Guide III^000000";
				mes "Good bye.";
				end;
			case 2:
				mes "^00c000III Server Guide III^000000";
				mes "Please select which would you like?";
				next;
				switch(select("- Basic Guide:- NPC Guide:- Exit")){	
				
				case 1:
					mes "^00c000III Server Guide III^000000";
					mes "Basic";
					end;
				
				case 2:
					mes "^00c000III Server Guide III^000000";
					mes "Please select.";
					next;
					switch(select("- Arrow Quiver NPC:- Exit")){
						
						case 1:
							mes "^00c000III Server Guide III^000000";
							mes "This npc will make arrow quiver";
							mes "for player to reduce the weight";
							mes "of the arrow.";
							mes "===============================";
							mes "This npc can be found in Mall area";
							next;
							switch(select("- More Info:- Warp to npc:- Exit")){
								case 1:
									mes "^00c000III Server Guide III^000000";
									mes "for more info click on the link below";
									mes "<URL>Arrow Quiver NPC<INFO>https://dolphin-ro.com/.wiki./doku.php?id=quiver"+.@search$+",1000,1000</INFO></URL>";
									end;
								case 2:
									warp "vend_zone",99,99;
									end;
								case 3:
									mes "^00c000III Server Guide III^000000";
									mes "Good Bye.";
									close;
							
							}
						case 2:		
							mes "^00c000III Server Guide III^000000";
							mes "Good Bye.";
							close;
															}
				case 3:
					mes "^00c000III Server Guide III^000000";
					mes "Good Bye";
					close;
					}
			
		}
	}
OnInit:
		bindatcmd "server","SGuide::OnAtcommand";
		end;	
}

prontera	mapflag	loadevent

 

Edited by Fluxion
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...