Cooon Posted December 24, 2011 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 42 Reputation: 0 Joined: 12/23/11 Last Seen: December 18, 2012 Share Posted December 24, 2011 1 click emperium like dis click(npc)>warp for viblainn and mardol only and please put the duplicate npc because im having trouble this npc. sorry newbie here Quote Link to comment Share on other sites More sharing options...
Emistry Posted December 24, 2011 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted December 24, 2011 (edited) try this prontera,155,181,5 script Sample 718,{ setarray .Map$[0],"prt_gld","pay_gld","alde_gld","sch_gld","aru_gld"; mes "Where you want to go ?"; for( set .@i,0; .@i < getarraysize( .Map$ ); set .@i,.@i + 1 ){ set .@Menu$,.@Menu$ + .Map$[.@i] +":"; } set .@i,select( .@Menu$ ) - 1; warp .Map$[.@i],0,0; end; } prontera,155,181,5 duplicate(Sample) Sample#1 742 prontera,155,181,5 duplicate(Sample) Sample#2 742 prontera,155,181,5 duplicate(Sample) Sample#3 742 prontera,155,181,5 duplicate(Sample) Sample#4 742 prontera,155,181,5 duplicate(Sample) Sample#5 742 next time...please spend some time elaborate what you want in detail =='' Edit : Fixed Array and Menu Repeating Problems Edited December 24, 2011 by Emistry Quote Link to comment Share on other sites More sharing options...
Cooon Posted December 24, 2011 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 42 Reputation: 0 Joined: 12/23/11 Last Seen: December 18, 2012 Author Share Posted December 24, 2011 (edited) @Emistry script error on npc/custom/woe.txt line 4 need '(' 2 : { 3 : setarray .Map$[0],"prt_gld","pay_gld","alde_gld","sch_gld","aru_gld", * 4 : mes '"'Where you want to go ?"; 5 : for( set .@i,0; .@i < getarraysize( .Map$ ); set .@i,.@i + 1 ){ 6 : set .@Menu$,.@Menu$ + .Map$ +":"; 7 : } 8 : set .@i,select( .@Menu$ ) - 1; 9 : warp .Map$[.@i],0,0; and [Error]: npc_parsesrcfile: Unknown syntax in file 'npc/custom/woe.txt', line '12 '. Stopping... * w1=prontera,155,181,5 duplicate(Sample) Sample#1 742 * w2= * w3= * w4= next time...please spend some time elaborate what you want in detail =='' i just want a woe warper that has viblainn & mardol only no other than that.. Edited December 24, 2011 by tycoon Quote Link to comment Share on other sites More sharing options...
KeiKun Posted December 24, 2011 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 967 Reputation: 53 Joined: 11/13/11 Last Seen: Friday at 08:18 AM Share Posted December 24, 2011 prontera,155,181,5 script Sample 718,{ setarray .Map$[0],"prt_gld","pay_gld","alde_gld","sch_gld","aru_gld"; mes "Where you want to go ?"; for( set .@i,0; .@i < getarraysize( .Map$ ); set .@i,.@i + 1 ){ set .@Menu$,.@Menu$ + .Map$ +":"; } set .@i,select( .@Menu$ ) - 1; warp .Map$[.@i],0,0; end; } prontera,155,181,5 duplicate(Sample) Sample#1 742 prontera,155,181,5 duplicate(Sample) Sample#2 742 prontera,155,181,5 duplicate(Sample) Sample#3 742 prontera,155,181,5 duplicate(Sample) Sample#4 742 prontera,155,181,5 duplicate(Sample) Sample#5 742 try this one >__< Quote Link to comment Share on other sites More sharing options...
Emistry Posted December 24, 2011 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted December 24, 2011 setarray .Map$[0],"prt_gld","pay_gld","alde_gld","sch_gld","aru_gld", i forget to close the array... setarray .Map$[0],"prt_gld","pay_gld","alde_gld","sch_gld","aru_gld"; Quote Link to comment Share on other sites More sharing options...
Cooon Posted December 24, 2011 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 42 Reputation: 0 Joined: 12/23/11 Last Seen: December 18, 2012 Author Share Posted December 24, 2011 wrong.. the 4 menu is all prt_gld please state the Mardol(aru_gld) and warp to here aru_gld 161,267 also for Viblainn(sch_gld) and warp to sch_gld 97,193 like if i choose Mardol in the Menu i will warp here aru_gld 161,267 for Viblainn sch_gld 97,193 I Hope You Get That Sir Quote Link to comment Share on other sites More sharing options...
Emistry Posted December 24, 2011 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted December 24, 2011 prontera,155,181,5 script Sample 718,{ switch( select("Mardol:Viblainn") ){ Case 1: warp "aru_gld",161,267; break; Case 2: warp "sch_gld",97,193; break; } end; } 1 Quote Link to comment Share on other sites More sharing options...
Cooon Posted December 24, 2011 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 42 Reputation: 0 Joined: 12/23/11 Last Seen: December 18, 2012 Author Share Posted December 24, 2011 @Emistry: Thank You So Much it works now.. so long discussion but a simple script will do. sorry for me im newbie here.. Merry Christmas Quote Link to comment Share on other sites More sharing options...
Emistry Posted December 24, 2011 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted December 24, 2011 =='' because you didnt explain your request very well.... this things happen when you dont want to spend your time to try explain / elaborate your requests.. so, next time please remember to elaborate it... 1 Quote Link to comment Share on other sites More sharing options...
Cooon Posted December 24, 2011 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 42 Reputation: 0 Joined: 12/23/11 Last Seen: December 18, 2012 Author Share Posted December 24, 2011 sure sir. appreciate it. sorry my mistake Quote Link to comment Share on other sites More sharing options...
Question
Cooon
1 click emperium like dis click(npc)>warp
for viblainn and mardol only and please put the duplicate npc because im having trouble this npc.
sorry newbie here
Link to comment
Share on other sites
9 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.