max65 Posted November 30, 2018 Group: Members Topic Count: 46 Topics Per Day: 0.02 Content Count: 120 Reputation: 1 Joined: 10/02/18 Last Seen: February 18, 2022 Share Posted November 30, 2018 Hi rathena, i need you for this script , when my player want buys on tools dealer he's can't put Enter =s how i can change that ? - script Tool Dealer::Tool Dealer 900,{ mes "What do you like to buy?"; switch( select( "^FF0000~~Sell^000000","Consumable", "Miscellaneous","Arrow/Ammunition","^009900Taming Pet^000000","^009900Pet Armor^000000", "Nothing" ) ) { next; case 1: callshop "sell",2; end; case 2: callshop "Consumable",1; end; case 3: callshop "Miscellaneous",1; end; case 4: callshop "Arrow/Ammunition",1; end; case 5: callshop "TamingPet",1; end; case 6: callshop "Pet Armor",1; end; case 7: mes "Okay, have a nice day"; close; } } - shop Tool Dealer#shop::Consumable -1,611:-1,1750:-1,501:-1,502:-1,503:-1,504:-1,506:-1,568:-1,533:-1,645:-1,656:-1,657:-1,601:-1,602:-1,1065:-1,610:-1 - shop Tool Dealer#shop::Miscellaneous -1,713:-1,717:-1,716:-1,715:3000,12020:-1,523:-1,993:-1,992:-1,991:-1,990:-1,12042:25000,12057:25000,12052:25000,12047:25000,12062:25000,12067:25000 - shop Tool Dealer#shop::Arrow/Ammunition -1,1750:-1,1751:-1,1752:-1,1753:-1,1754:-1,1755:-1,1756:-1,1772:-1,1757:-1,1767:-1,13200:-1,13201:-1,13202:-1,13203:-1,13207:-1,13204:-1,13250:-1,13251:-1,13252:-1,13253:-1,13254:-1 - shop sell -1,512:-1 - shop Tool Dealer#shop::TamingPet -1,643:-1,639:100000,621:100000,642:100000,12373:100000,12365:100000,12340:100000,641:100000,12361:100000,630:100000,623:100000,632:100000,12363:100000,660:100000,12366:100000,12370:100000,14572:100000,12374:100000,12367:100000,626:100000,637:100000,620:100000,635:100000,622:100000,624:100000,640:100000,638:100000,629:100000,661:100000,627:100000,633:100000,634:100000,619:100000,14574:100000,12359:100000,628:100000 - shop Tool Dealer#shop::Pet Armor -1,10013:-1,10017:500000,10010:500000,10037:500000,10024:500000,10016:500000,10023:500000,10015:500000,10025:500000,10038:500000,10029:500000,10034:500000,10018:500000,10002:500000,10004:500000,10027:500000,10008:500000,10006:500000,10019:500000,10031:500000,10014:-1,10007:500000,10001:500000,10011:500000,10012:500000,10003:500000,10005:500000,10009:500000 prontera,154,196,5 duplicate(Tool Dealer) Tool Dealer#pront 900 guild_base,49,375,4 duplicate(Tool Dealer) Barman#guildbase1 61 guild_base,49,241,4 duplicate(Tool Dealer) Barman#guildbase2 61 guild_base,49,105,4 duplicate(Tool Dealer) Barman#guildbase3 61 guild_base,171,105,4 duplicate(Tool Dealer) Barman#guildbase4 61 guild_base,171,241,4 duplicate(Tool Dealer) Barman#guildbase5 61 guild_base,171,375,4 duplicate(Tool Dealer) Barman#guildbase6 61 guild_base,289,375,4 duplicate(Tool Dealer) Barman#guildbase7 61 guild_base,287,241,4 duplicate(Tool Dealer) Barman#guildbase8 61 guild_base,287,105,4 duplicate(Tool Dealer) Barman#guildbase9 61 Thx for your repply Quote Link to comment Share on other sites More sharing options...
0 n0tttt Posted November 30, 2018 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 303 Reputation: 118 Joined: 12/10/16 Last Seen: 3 hours ago Share Posted November 30, 2018 - script Tool Dealer::Tool Dealer 900,{ mes "What do you like to buy?"; .@s = select( "^FF0000~~Sell^000000","Consumable", "Miscellaneous","Arrow/Ammunition","^009900Taming Pet^000000","^009900Pet Armor^000000", "Nothing" ); if(.@s < 7) close2; switch(.@s) { case 1: callshop "sell",2; end; case 2: callshop "Consumable",1; end; case 3: callshop "Miscellaneous",1; end; case 4: callshop "Arrow/Ammunition",1; end; case 5: callshop "TamingPet",1; end; case 6: callshop "Pet Armor",1; end; case 7: mes "Okay, have a nice day"; close; } } - shop Tool Dealer#shop::Consumable -1,611:-1,1750:-1,501:-1,502:-1,503:-1,504:-1,506:-1,568:-1,533:-1,645:-1,656:-1,657:-1,601:-1,602:-1,1065:-1,610:-1 - shop Tool Dealer#shop::Miscellaneous -1,713:-1,717:-1,716:-1,715:3000,12020:-1,523:-1,993:-1,992:-1,991:-1,990:-1,12042:25000,12057:25000,12052:25000,12047:25000,12062:25000,12067:25000 - shop Tool Dealer#shop::Arrow/Ammunition -1,1750:-1,1751:-1,1752:-1,1753:-1,1754:-1,1755:-1,1756:-1,1772:-1,1757:-1,1767:-1,13200:-1,13201:-1,13202:-1,13203:-1,13207:-1,13204:-1,13250:-1,13251:-1,13252:-1,13253:-1,13254:-1 - shop sell -1,512:-1 - shop Tool Dealer#shop::TamingPet -1,643:-1,639:100000,621:100000,642:100000,12373:100000,12365:100000,12340:100000,641:100000,12361:100000,630:100000,623:100000,632:100000,12363:100000,660:100000,12366:100000,12370:100000,14572:100000,12374:100000,12367:100000,626:100000,637:100000,620:100000,635:100000,622:100000,624:100000,640:100000,638:100000,629:100000,661:100000,627:100000,633:100000,634:100000,619:100000,14574:100000,12359:100000,628:100000 - shop Tool Dealer#shop::Pet Armor -1,10013:-1,10017:500000,10010:500000,10037:500000,10024:500000,10016:500000,10023:500000,10015:500000,10025:500000,10038:500000,10029:500000,10034:500000,10018:500000,10002:500000,10004:500000,10027:500000,10008:500000,10006:500000,10019:500000,10031:500000,10014:-1,10007:500000,10001:500000,10011:500000,10012:500000,10003:500000,10005:500000,10009:500000 prontera,154,196,5 duplicate(Tool Dealer) Tool Dealer#pront 900 guild_base,49,375,4 duplicate(Tool Dealer) Barman#guildbase1 61 guild_base,49,241,4 duplicate(Tool Dealer) Barman#guildbase2 61 guild_base,49,105,4 duplicate(Tool Dealer) Barman#guildbase3 61 guild_base,171,105,4 duplicate(Tool Dealer) Barman#guildbase4 61 guild_base,171,241,4 duplicate(Tool Dealer) Barman#guildbase5 61 guild_base,171,375,4 duplicate(Tool Dealer) Barman#guildbase6 61 guild_base,289,375,4 duplicate(Tool Dealer) Barman#guildbase7 61 guild_base,287,241,4 duplicate(Tool Dealer) Barman#guildbase8 61 guild_base,287,105,4 duplicate(Tool Dealer) Barman#guildbase9 61 Quote Link to comment Share on other sites More sharing options...
0 anacondaq Posted November 30, 2018 Group: Members Topic Count: 42 Topics Per Day: 0.01 Content Count: 1096 Reputation: 348 Joined: 02/26/12 Last Seen: May 30, 2023 Share Posted November 30, 2018 - script Tool Dealer::Tool Dealer 900,{ mes "What do you like to buy?"; close2; switch( select("^FF0000~~Sell^000000", "Consumable", "Miscellaneous", "Arrow/Ammunition", "^009900Taming Pet^000000", "^009900Pet Armor^000000", "Nothing" )) { next; case 1: callshop "sell",2; break; case 2: callshop "Consumable",1; break; case 3: callshop "Miscellaneous",1; break; case 4: callshop "Arrow/Ammunition",1; break; case 5: callshop "TamingPet",1; break; case 6: callshop "Pet Armor",1; break; case 7: mes "Okay, have a nice day"; close; break; } end; } - shop Tool Dealer#shop::Consumable -1,611:-1,1750:-1,501:-1,502:-1,503:-1,504:-1,506:-1,568:-1,533:-1,645:-1,656:-1,657:-1,601:-1,602:-1,1065:-1,610:-1 - shop Tool Dealer#shop::Miscellaneous -1,713:-1,717:-1,716:-1,715:3000,12020:-1,523:-1,993:-1,992:-1,991:-1,990:-1,12042:25000,12057:25000,12052:25000,12047:25000,12062:25000,12067:25000 - shop Tool Dealer#shop::Arrow/Ammunition -1,1750:-1,1751:-1,1752:-1,1753:-1,1754:-1,1755:-1,1756:-1,1772:-1,1757:-1,1767:-1,13200:-1,13201:-1,13202:-1,13203:-1,13207:-1,13204:-1,13250:-1,13251:-1,13252:-1,13253:-1,13254:-1 - shop sell -1,512:-1 - shop Tool Dealer#shop::TamingPet -1,643:-1,639:100000,621:100000,642:100000,12373:100000,12365:100000,12340:100000,641:100000,12361:100000,630:100000,623:100000,632:100000,12363:100000,660:100000,12366:100000,12370:100000,14572:100000,12374:100000,12367:100000,626:100000,637:100000,620:100000,635:100000,622:100000,624:100000,640:100000,638:100000,629:100000,661:100000,627:100000,633:100000,634:100000,619:100000,14574:100000,12359:100000,628:100000 - shop Tool Dealer#shop::Pet Armor -1,10013:-1,10017:500000,10010:500000,10037:500000,10024:500000,10016:500000,10023:500000,10015:500000,10025:500000,10038:500000,10029:500000,10034:500000,10018:500000,10002:500000,10004:500000,10027:500000,10008:500000,10006:500000,10019:500000,10031:500000,10014:-1,10007:500000,10001:500000,10011:500000,10012:500000,10003:500000,10005:500000,10009:500000 prontera,154,196,5 duplicate(Tool Dealer) Tool Dealer#pront 900 guild_base,49,375,4 duplicate(Tool Dealer) Barman#guildbase1 61 guild_base,49,241,4 duplicate(Tool Dealer) Barman#guildbase2 61 guild_base,49,105,4 duplicate(Tool Dealer) Barman#guildbase3 61 guild_base,171,105,4 duplicate(Tool Dealer) Barman#guildbase4 61 guild_base,171,241,4 duplicate(Tool Dealer) Barman#guildbase5 61 guild_base,171,375,4 duplicate(Tool Dealer) Barman#guildbase6 61 guild_base,289,375,4 duplicate(Tool Dealer) Barman#guildbase7 61 guild_base,287,241,4 duplicate(Tool Dealer) Barman#guildbase8 61 guild_base,287,105,4 duplicate(Tool Dealer) Barman#guildbase9 61 Quote Link to comment Share on other sites More sharing options...
0 max65 Posted November 30, 2018 Group: Members Topic Count: 46 Topics Per Day: 0.02 Content Count: 120 Reputation: 1 Joined: 10/02/18 Last Seen: February 18, 2022 Author Share Posted November 30, 2018 thx for your repply i will try that ^^ dosn't works =s * its work with your script n0ttt thx =p Quote Link to comment Share on other sites More sharing options...
Question
max65
Hi rathena, i need you for this script , when my player want buys on tools dealer he's can't put Enter =s how i can change that ?
- script Tool Dealer::Tool Dealer 900,{ mes "What do you like to buy?"; switch( select( "^FF0000~~Sell^000000","Consumable", "Miscellaneous","Arrow/Ammunition","^009900Taming Pet^000000","^009900Pet Armor^000000", "Nothing" ) ) { next; case 1: callshop "sell",2; end; case 2: callshop "Consumable",1; end; case 3: callshop "Miscellaneous",1; end; case 4: callshop "Arrow/Ammunition",1; end; case 5: callshop "TamingPet",1; end; case 6: callshop "Pet Armor",1; end; case 7: mes "Okay, have a nice day"; close; } } - shop Tool Dealer#shop::Consumable -1,611:-1,1750:-1,501:-1,502:-1,503:-1,504:-1,506:-1,568:-1,533:-1,645:-1,656:-1,657:-1,601:-1,602:-1,1065:-1,610:-1 - shop Tool Dealer#shop::Miscellaneous -1,713:-1,717:-1,716:-1,715:3000,12020:-1,523:-1,993:-1,992:-1,991:-1,990:-1,12042:25000,12057:25000,12052:25000,12047:25000,12062:25000,12067:25000 - shop Tool Dealer#shop::Arrow/Ammunition -1,1750:-1,1751:-1,1752:-1,1753:-1,1754:-1,1755:-1,1756:-1,1772:-1,1757:-1,1767:-1,13200:-1,13201:-1,13202:-1,13203:-1,13207:-1,13204:-1,13250:-1,13251:-1,13252:-1,13253:-1,13254:-1 - shop sell -1,512:-1 - shop Tool Dealer#shop::TamingPet -1,643:-1,639:100000,621:100000,642:100000,12373:100000,12365:100000,12340:100000,641:100000,12361:100000,630:100000,623:100000,632:100000,12363:100000,660:100000,12366:100000,12370:100000,14572:100000,12374:100000,12367:100000,626:100000,637:100000,620:100000,635:100000,622:100000,624:100000,640:100000,638:100000,629:100000,661:100000,627:100000,633:100000,634:100000,619:100000,14574:100000,12359:100000,628:100000 - shop Tool Dealer#shop::Pet Armor -1,10013:-1,10017:500000,10010:500000,10037:500000,10024:500000,10016:500000,10023:500000,10015:500000,10025:500000,10038:500000,10029:500000,10034:500000,10018:500000,10002:500000,10004:500000,10027:500000,10008:500000,10006:500000,10019:500000,10031:500000,10014:-1,10007:500000,10001:500000,10011:500000,10012:500000,10003:500000,10005:500000,10009:500000 prontera,154,196,5 duplicate(Tool Dealer) Tool Dealer#pront 900 guild_base,49,375,4 duplicate(Tool Dealer) Barman#guildbase1 61 guild_base,49,241,4 duplicate(Tool Dealer) Barman#guildbase2 61 guild_base,49,105,4 duplicate(Tool Dealer) Barman#guildbase3 61 guild_base,171,105,4 duplicate(Tool Dealer) Barman#guildbase4 61 guild_base,171,241,4 duplicate(Tool Dealer) Barman#guildbase5 61 guild_base,171,375,4 duplicate(Tool Dealer) Barman#guildbase6 61 guild_base,289,375,4 duplicate(Tool Dealer) Barman#guildbase7 61 guild_base,287,241,4 duplicate(Tool Dealer) Barman#guildbase8 61 guild_base,287,105,4 duplicate(Tool Dealer) Barman#guildbase9 61
Thx for your repply
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.