Jump to content
  • 0

Need Help to my script


isaw4sal3

Question


  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  40
  • Reputation:   0
  • Joined:  12/10/11
  • Last Seen:  

my script isn't working, can anyone help me? this is the certain map that respawn boitata and drops Symbol blah blah blah. can you check what's wrong with it?

prontera,141,175,4 script Qwerty Symbol NPC 406,{
set .@npc$,"[boitata]";
mes .@npc$;
mes "Ahh, You want to Haunt Qwerty Symbol erhg?.";
next;
switch(select("Okay.:Not now.")) {
Case 1:
mes .@npc$;
mes "You'll be there quickly. c;";
next;
mes .@npc$;
mes "Enjoy Haunting .";
close2;
warp "guild_vs5",0,0;
OnInit:
waitingroom "Qwerty Symbol",0;
end;
Case 2:
mes .@npc$;
mes "Owh....";
mes "Come back to me if you've changed your mind.";
close;
}
}
//-------- Spawn Monster --------//
guild_vs5,0,0,0,0 monster Boitata 2068,5,0,0,0

Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  715
  • Reputation:   83
  • Joined:  01/05/12
  • Last Seen:  

Also change this

guild_vs5,0,0,0,0 monster Boitata 2068,5,0,0,0

to this

guild_vs5,0,0,0,0<TAB>monster<TAB>Boitata<TAB>2068,5,0,0,0

because i have found that there no <TAB> in this part

Try this one

prontera,141,175,4	script	Qwerty Symbol NPC	406,{
	set .@npc$,"[boitata]";
		mes .@npc$;
		mes "Ahh, You want to Haunt Qwerty Symbol erhg?.";
		next;
		switch(select("Okay.:Not now.")) {
			case 1:
				mes .@npc$;
				mes "You'll be there quickly. c;";
				next;
				mes .@npc$;
				mes "Enjoy Haunting .";
				warp "guild_vs5",0,0;
				close;

			case 2:
				mes .@npc$;
				mes "Owh....";
				mes "Come back to me if you've changed your mind.";
				close;
		}

	OnInit:
			waitingroom "Qwerty Symbol",0;
			end;
	}
//-------- Spawn Monster --------//
guild_vs5,0,0,0,0	monster	Boitata	2068,5,0,0,0

[Note] : If the npc wont show up when you start you're SVN use @loadnpc

Oh i missed one thing i didn't saw this "close2;" change this to close;

Edited by Lelouch
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  715
  • Reputation:   83
  • Joined:  01/05/12
  • Last Seen:  

prontera,141,175,4<TAB>script<TAB>Qwerty Symbol NPC<TAB>406,{

Try this one

prontera,141,175,4    script    Qwerty Symbol NPC    406,{
set .@npc$,"[boitata]";
   mes .@npc$;
   mes "Ahh, You want to Haunt Qwerty Symbol erhg?.";
   next;
   switch(select("Okay.:Not now.")) {
       case 1:
           mes .@npc$;
           mes "You'll be there quickly. c;";
           next;
           mes .@npc$;
           mes "Enjoy Haunting .";
           close2;
           warp "guild_vs5",0,0;
           OnInit:
           waitingroom "Qwerty Symbol",0;
           end;
       case 2:
           mes .@npc$;
           mes "Owh....";
           mes "Come back to me if you've changed your mind.";
           close;
   }
}
//-------- Spawn Monster --------//
guild_vs5,0,0,0,0 monster Boitata 2068,5,0,0,0

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  40
  • Reputation:   0
  • Joined:  12/10/11
  • Last Seen:  

wow, it work's thanks Lelouch

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  40
  • Reputation:   0
  • Joined:  12/10/11
  • Last Seen:  

ahh sir, what about? every 5mins respawn?

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

ahh sir, what about? every 5mins respawn?

edit the monster spawn line..

read here to get know of how it work

http://rathena.org/wiki/Permanent_Monster_Spawn

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