Jump to content

Question

Posted (edited)

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

7 answers to this question

Recommended Posts

Posted

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;
}

Posted (edited)

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
Posted (edited)

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
Posted (edited)

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

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...