Jump to content
  • 0

Two questions


kommie

Question


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  10
  • Reputation:   0
  • Joined:  04/15/12
  • Last Seen:  

First one is On the warper I want to add a 3rd opition to click on like Market places but when I put a Case 3 in it does not appear.

mes] "[Warp Agent]";
mes "Hello " + [url="http://rathena.org/wiki/strcharinfo"]strcharinfo[/url](0) + ",";
mes "I can teleport you to any Town or Dungeon!";
mes "Where do you want to go?";
next;
switch(select("To a Town:To a Dungeon:To the Market Place")) {

case 1: -list of towns
case 2: -list of dungeons
case 3: warp "poring_w02",96,79;
		end;
}

2nd I wanted to put a add all skill npc that requires a job level min. instead of using zeny to buy it but was not sure on the text

Edited by kommie
Link to comment
Share on other sites

7 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  118
  • Reputation:   6
  • Joined:  01/25/12
  • Last Seen:  

can you please show your warper? and also put it in codebox :D

for the 2nd is it like this? :)

prontera,156,182,5 script Skill All 100,{
set .@jobminlvl,10;  // set job lvl minimum
mes "[skill All]";
mes "Hi i do you like to have all skills?";
next;
if(select("Yes:No")==2) {
mes "[skill All]";
mes "Goodbye";
close;
}
if(JobLevel < .@jobminlvl) {
mes "[skill All]";
mes "Your job lvl is not enough.!";
close;
}
mes "[skill All]";
mes "Here you go!";
emotion e_no1;
atcommand "@skillall";
close;
}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  10
  • Reputation:   0
  • Joined:  04/15/12
  • Last Seen:  

Was avoiding to put the warper up since its a long thing since it has every level to every dungeon that doesnt error :x but here it is a link to it. http://upaste.me/7590298a11b96fa

Also that was exactly what i was looking for the 2nd thing thank you!

-When i went to load it into the server it comes up as unknown syntax file. what does that mean?

Edited by kommie
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  118
  • Reputation:   6
  • Joined:  01/25/12
  • Last Seen:  

oh sorry for the late reply i was sleeping :), you should put a <TAB> like this:

prontera,156,182,5<TAB>script<TAB>Skill All<TAB>100,{

im gonna see your warper in a minute

EDIT:

hmm your warper has no errors >.<, what exactly is the problem?

Edited by deathscythe13
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  8
  • Reputation:   0
  • Joined:  04/18/12
  • Last Seen:  

when we load it into the server it comes up without the 3rd menu option. IT just shows Towns and Dungeons.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  118
  • Reputation:   6
  • Joined:  01/25/12
  • Last Seen:  

hmm weird >.< mine has the third option i dont know why in yours has not

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  71
  • Reputation:   25
  • Joined:  11/23/11
  • Last Seen:  

Three questions, what the fuck are all those switchs?

Here you have, I didn't want to play with the switchs, so I made another thing, I hope it works.

http://pastebin.com/download.php?i=PUnNmpLP

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  10
  • Reputation:   0
  • Joined:  04/15/12
  • Last Seen:  

switches? Oh the Dungeons? Its each dungeon levels with the name of the maps.

Hmm it still didnt show up T_T

Thank you for trying tho.

Whats happen when we add it in it says Dup Case 3. Since the Last dungeon ended with Case 3 im not sure how to fix that

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