Jump to content
  • 0

ignore duplicates in 2 different array


hakuren

Question


  • Group:  Members
  • Topic Count:  120
  • Topics Per Day:  0.03
  • Content Count:  295
  • Reputation:   6
  • Joined:  12/02/11
  • Last Seen:  

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 by hakuren
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   2
  • Joined:  06/04/18
  • Last Seen:  

Use check function for it.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  120
  • Topics Per Day:  0.03
  • Content Count:  295
  • Reputation:   6
  • Joined:  12/02/11
  • Last Seen:  

Hi @Smoker thanks for the reply

could you make an example?

Edited by hakuren
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...