User Tag List

Results 1 to 4 of 4

Thread: No Repeating Names

  1. #1
    No Products Registered

    Join Date
    Mar 2008
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    No Repeating Names

    I am trying to submit names to a .ini file from within a game.
    But I need to make sure that a name is not already on the list before it is submited.
    I've tried having the list randomly select a different line every second, but that doesn't seem to work.
    I just need to check that the names in a list object don't match a name being submited from an Edit Box.
    Any help with this?

    Might I have to do some php code to compare a Mysql database?
    Or is there a way I can keep it all local and do it all from the event editor?

  2. #2
    Clicker Multimedia Fusion 2
    Skeets's Avatar
    Join Date
    Apr 2007
    Location
    Utah, USA
    Posts
    360
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: No Repeating Names

    I have acually done this recently. Just do:

    Set current line to 0

    Compare two general values -> get text (current line #) = get text Edit box -> save it.

    you also need:

    Compare two general values -> get text (current line #) is different than get text Edit box. -> set current line to current line # +1

  3. #3
    No Products Registered

    Join Date
    Mar 2008
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: No Repeating Names

    Which event should I put the "Set current line to 0" into?
    Have it set always? Or just once?

  4. #4
    No Products Registered

    Join Date
    Mar 2008
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: No Repeating Names

    Got it to work...
    It was simple enough to wrap my head around...
    Dunno why I didn't think of that before.
    Thanks mate!

Similar Threads

  1. Non Repeating Number Generating in IOS .
    By mhkc in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 19th January 2013, 03:51 PM
  2. Non Repeating Number Generating in IOS - Possible ??
    By mhkc in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 19th January 2013, 03:30 PM
  3. moving through a infinite self-repeating map
    By troshinsky in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 10th July 2011, 04:27 PM
  4. non repeating number?
    By gen in forum The Games Factory 2 - Technical Support
    Replies: 5
    Last Post: 31st May 2011, 04:23 AM
  5. Repeating a frame.
    By kjellm87 in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 22nd May 2009, 04:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •