PapaZola Posted January 8, 2012 Group: Members Topic Count: 318 Topics Per Day: 0.07 Content Count: 925 Reputation: 33 Joined: 12/05/11 Last Seen: September 20, 2023 Share Posted January 8, 2012 can i request script like this -choose guild name example draco guild and diablo guild -will warp guild member to base -if not in guild and other guild cant enter the base Quote Link to comment Share on other sites More sharing options...
Emistry Posted January 8, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 4 hours ago Share Posted January 8, 2012 re-copy and paste the script....i have re-edit my original posts right after 2 minutes i post it.... prontera,155,181,5 script Sample 757,{ setarray .Guild$,"Diabloz","Draco"; mes "Back to Base according to your Guild."; next; for( set .@i,0; .@i < getarraysize( .Guild$ ); set .@i,.@i + 1 ){ set .@Menu$,.@Menu$ + .Guild$[.@i] +":"; } set .@i,select( .@Menu$ ) - 1; if( getguildname( getcharid(2) ) != .Guild$[.@i] ){ mes "You are not in this Guild."; close; } switch( .@i ){ Case 0: warp "prontera",123,45; end; Case 1: warp "payon",123,45; end; // Case 3: blablabla if there is more guild default: mes "Wrong Selection."; close; } end; } Quote Link to comment Share on other sites More sharing options...
Emistry Posted January 8, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 4 hours ago Share Posted January 8, 2012 Explain further please... ?? how the Guild Name is choose ? When it will warp users to the base ? upon Guild Name is assigned ? or they can go whenever they want ? Quote Link to comment Share on other sites More sharing options...
PapaZola Posted January 8, 2012 Group: Members Topic Count: 318 Topics Per Day: 0.07 Content Count: 925 Reputation: 33 Joined: 12/05/11 Last Seen: September 20, 2023 Author Share Posted January 8, 2012 ok sir emistry sorry for my bad english when the player click on the NPC NPC will ask the name Guild and the player must choose name example Draco Guild Guild Diablo Base and Base Base Draco sample in izlude 126.109 and base Diablo in morocc 156.93 they can warp time, but in the name of their Guild Quote Link to comment Share on other sites More sharing options...
Emistry Posted January 8, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 4 hours ago Share Posted January 8, 2012 (edited) try this prontera,155,181,5 script Sample 757,{ setarray .Guild$,"Diabloz","Draco"; mes "Back to Base according to your Guild."; next; for( set .@i,0; .@i < getarraysize( .Guild$ ); set .@i,.@i + 1 ){ set .@Menu$,.@Menu$ + .Guild$[.@i] +":"; } set .@i,select( .@Menu$ )-1; if( getguildname( getcharid(2) ) != .Guild$[.@i] ){ mes "You are not in this Guild."; close; } switch( .@i ){ Case 0: warp "prontera",123,45; end; Case 1: warp "payon",123,45; end; // Case 3: blablabla if there is more guild default: mes "Wrong Selection."; close; } end; } Edited January 8, 2012 by Emistry Quote Link to comment Share on other sites More sharing options...
PapaZola Posted January 8, 2012 Group: Members Topic Count: 318 Topics Per Day: 0.07 Content Count: 925 Reputation: 33 Joined: 12/05/11 Last Seen: September 20, 2023 Author Share Posted January 8, 2012 sir emistry become like this 1st name guild same 2nd not detect guild name 3rd looks like become spam Quote Link to comment Share on other sites More sharing options...
Emistry Posted January 8, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 4 hours ago Share Posted January 8, 2012 (edited) Ops.... try this prontera,155,181,5 script Sample 757,{ setarray .Guild$,"Diabloz","Draco"; mes "Back to Base according to your Guild."; next; for( set .@i,0; .@i < getarraysize( .Guild$ ); set .@i,.@i + 1 ){ set .@Menu$,.@Menu$ + .Guild$[.@i] +":"; } set .@i,select( .@Menu$ ) - 1; if( getguildname( getcharid(2) ) != .Guild$[.@i] ){ mes "You are not in this Guild."; close; } switch( .@i ){ Case 0: warp "prontera",123,45; end; Case 1: warp "payon",123,45; end; // Case 3: blablabla if there is more guild default: mes "Wrong Selection."; close; } end; } Edited January 8, 2012 by Emistry Quote Link to comment Share on other sites More sharing options...
PapaZola Posted January 8, 2012 Group: Members Topic Count: 318 Topics Per Day: 0.07 Content Count: 925 Reputation: 33 Joined: 12/05/11 Last Seen: September 20, 2023 Author Share Posted January 8, 2012 emistry still same NPC said you are not in this guild Quote Link to comment Share on other sites More sharing options...
PapaZola Posted January 8, 2012 Group: Members Topic Count: 318 Topics Per Day: 0.07 Content Count: 925 Reputation: 33 Joined: 12/05/11 Last Seen: September 20, 2023 Author Share Posted January 8, 2012 wow its work now sir emistry and how if i want add more guild and base? Quote Link to comment Share on other sites More sharing options...
Emistry Posted January 8, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 4 hours ago Share Posted January 8, 2012 add in more Guild Name here setarray .Guild$,"Diabloz","Draco"; add in more Cases according to your Guild Number..... switch( .@i ){ Case 0: warp "prontera",123,45; end; // Guild 1 Case 1: warp "payon",123,45; end; // Guild 2 //etc...add more here..... Quote Link to comment Share on other sites More sharing options...
iSkiddo Posted May 24, 2012 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 94 Reputation: 0 Joined: 11/26/11 Last Seen: January 14, 2020 Share Posted May 24, 2012 Nice script . btw i got question about guild base . can we put " Must in guild to use healer inside guild base ? Quote Link to comment Share on other sites More sharing options...
Emistry Posted May 25, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 4 hours ago Share Posted May 25, 2012 the current 1 didnt work for Guild Checking ? i though it would work... change if( getguildname( getcharid(2) ) != .Guild$[.@i] ){ into if( getguildname( getcharid(2) ) != .Guild$[.@i] || !getcharid(2) ){ Quote Link to comment Share on other sites More sharing options...
Question
PapaZola
can i request script like this
-choose guild name example draco guild and diablo guild
-will warp guild member to base
-if not in guild and other guild cant enter the base
Link to comment
Share on other sites
11 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.