hakuren Posted July 8, 2018 Group: Members Topic Count: 120 Topics Per Day: 0.02 Content Count: 295 Reputation: 6 Joined: 12/02/11 Last Seen: November 6, 2023 Share Posted July 8, 2018 (edited) Hi rAthena, Is there a way to ignore duplicates in 2 different array without removing it to the array Quote setarray .@main, 20,21,22,23,24,25; // Main Value setarray .@ignore, 21,25; // Ignoring Value it should return like : 20, 22, 23, 24 Please help me Thank you in advance Edited July 8, 2018 by hakuren Quote Link to comment Share on other sites More sharing options...
0 Smoker Posted July 8, 2018 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 5 Reputation: 2 Joined: 06/04/18 Last Seen: July 8, 2018 Share Posted July 8, 2018 Use check function for it. Quote Link to comment Share on other sites More sharing options...
0 hakuren Posted July 8, 2018 Group: Members Topic Count: 120 Topics Per Day: 0.02 Content Count: 295 Reputation: 6 Joined: 12/02/11 Last Seen: November 6, 2023 Author Share Posted July 8, 2018 (edited) Hi @Smoker thanks for the reply could you make an example? Edited July 8, 2018 by hakuren Quote Link to comment Share on other sites More sharing options...
Question
hakuren
Hi rAthena,
Is there a way to ignore duplicates in 2 different array without removing it to the array
it should return like : 20, 22, 23, 24
Please help me
Thank you in advance
Link to comment
Share on other sites
2 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.