Jump to content
  • 0

how to remove this line in the script?


manabeast

Question


  • Group:  Members
  • Topic Count:  138
  • Topics Per Day:  0.03
  • Content Count:  835
  • Reputation:   25
  • Joined:  11/22/11
  • Last Seen:  

hello, do anyone know how to remove this line?

switch(select("Weapons:Nothing")) {

i try remove but make the script not working /wah. talk to this npc look like need click alot button. feel want to remove it.

//===== rAthena Script =======================================
//= Shop Street
//===== By: ==================================================
//= Masao(Shopstreet) - Original Mall Script
//= Virtue(All in 1 Mall NPC)
//===== Current Version: =====================================
//= 1.0 [Masao]
//===== Compatible With: =====================================
//= rAthena SVN
//= Judas SVN
//===== Description: =========================================
//Street Mall in One NPC
//Change "Your Server Name" to your Server Name or whhat ever you desire"
//============================================================
mor_in,118,165,4 script Famous Blacksmite 851,{
mes "[Quick Mall]";
mes "Welcome to ^FF0000Your Server Name^000000 ^000088Quick Mall^000000.";
mes "Hello there ^FF0000" + strcharinfo(0) + "^000000.";
mes "Please select what you want";
switch(select("Weapons:Nothing")) {
close2;
case 1:
switch(select("Katars:Mace:Knuckle:Whips:Instruments:Books:Guns:Fuuma:One-Handed Swords:Two-Handed Swords:Spears:Dagger:Axes:Bows:Staffs")) {
 case 1:
 callshop "Katars", 0;
 end;

 case 2:
 callshop "Mace", 0;
 end;

 case 3:
 callshop "Knuckle", 0;
 end;

 case 4:
 callshop "Whips", 0;
 end;

 case 5:
 callshop "Instruments", 0;
 end;

 case 6:
 callshop "Books", 0;
 end;

 case 7:
 callshop "Guns", 0;
 end;

 case 8:
 callshop "Fuuma", 0;
 end;

 case 9:
 callshop "OneSwords", 0;
 end;

 case 10:
 callshop "TwoSwords", 0;
 end;

 case 11:
 callshop "Spears", 0;
 end;

 case 12:
 callshop "Dagger", 0;
 end;

 case 13:
 callshop "Axes", 0;
 end;

 case 14:
 callshop "Bows", 0;
 end;

 case 15:
 callshop "Staffs", 0;
 close;
}
}
}
//shops
- shop Katars -,1250:19500,1252:41000,1254:37200,1257:300000,1256:300000,1259:400000
- shop Mace -,1544:500000,1532:3000000
- shop Knuckle -,1802:25000,1816:150000,1810:95000,1822:70000,1820:70000,1819:70000,1818:70000,1821:70000,1825:500000
- shop Whips -,1964:20000,1951:30000,1962:40000,1982:60000,1974:60000,1971:70000,1967:70000,1966:70000,1965:70000,1963:70000,1979:80000,1976:100000,1980:130000,1972:200000
- shop Instruments -,1920:20000,1925:30000,1906:40000,1913:70000,1914:70000,1917:70000,1916:70000,1915:70000,1925:85000,1912:100000,1926:130000,1922:180000
- shop Books -,1553:35000,1554:35000,1555:35000,1556:35000,1557:60000,1565:7000000,1572:15000000
- shop Guns -,13103:60000,13105:80000,13110:80000,13106:100000,13150:30000,13152:50000,13166:100000,13170:150000,13157:-1,13159:-1,13155:90000,13156:120000,13169:120000,13154:120000,13161:160000,13162:200000
- shop Fuuma -,13305:30000,13304:60000,13302:80000,13303:150000,13300:150000,13107:180000
- shop OneSwords -,1101:1500,1104:2500,1107:3000,1110:10000,1113:17000,1122:24000,1119:51000,1123:50000,1126:49000,1149:150000,1302:5000,1352:10000,16001:4000000
- shop TwoSwords -,1155:40000,1117:40000,1162:80000,1152:100000,1158:120000,1172:140000,1180:140000,1178:160000,1182:180000,1171:200000,1188:200000,1189:300000
- shop Spears -,1408:45000,1421:70000,1418:90000,1414:130000,1417:200000,1420:300000,1422:500000,1478:50000,1485:100000,1464:120000,1481:180000,1476:300000,1470:350000,1484:5000000
- shop Dagger -,1201:-1,1204:-1,1207:-1,1226:70000,13011:100000,1245:150000,13005:300000,13033:150000,13004:200000,13034:400000,1231:500000,13038:500000
- shop Axes -,1302:-1,1309:60000,1311:100000,1352:70000,1355:80000,1366:150000,1361:200000,1375:300000,1384:800000
- shop Bows -,1701:-1,1705:30000,1715:60000,1741:80000,1730:100000,1732:100000,1731:100000,1733:100000,1716:120000,1736:150000,1740:180000,1723:180000,1719:300000,1745:300000,1727:500000,1723:800000
- shop Staffs -,1601:-1,1622:300000,1618:1000000,1646:4000000,1643:50000,2005:300000,1625:2000000,2001:5000000,1624:8000000,2000:18000000
dicastes01,230,240,5 duplicate(Famous Blacksmite) Famous Blacksmite#01 478

Edited by Euphy
Codeboxed
Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

You have to delete:

switch(select("Weapons:Nothing")) {
close2;
case 1:

And a closing bracket at the end.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  138
  • Topics Per Day:  0.03
  • Content Count:  835
  • Reputation:   25
  • Joined:  11/22/11
  • Last Seen:  

already have three

}

}

}

add one more this? }

}

}

}

}

Edited by manabeast
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  782
  • Reputation:   82
  • Joined:  01/01/12
  • Last Seen:  

Here's edited one, good luck.

http://upaste.me/raw/d6071042e0c64686

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  138
  • Topics Per Day:  0.03
  • Content Count:  835
  • Reputation:   25
  • Joined:  11/22/11
  • Last Seen:  

oh. thank you. thank you very much /thx

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