Moork's Challenge for mIRC Scripters!

Discussion in 'Archives' started by moork, Dec 4, 2007.

Moork's Challenge for mIRC Scripters!
  1. Unread #1 - Dec 4, 2007 at 7:17 AM
  2. moork
    Joined:
    Feb 12, 2007
    Posts:
    83
    Referrals:
    0
    Sythe Gold:
    0

    moork Member
    Banned

    Moork's Challenge for mIRC Scripters!

    Well, i had an idea, why not have a challenge for mIRC scripters?

    Well, my challenge is to make an identifier called $prime.
    If the number is prime it returns true, else it returns false.

    For those who dont know what prime numbers are, a prime number is a number a number that has only 2 factors, 1 and itself.

    Well, i wouldnt want you to post the script, but PM me.

    No regex!
    No Coms/Dll's.
    You can use Token identifiers such as gettok, findtok etc etc.

    Good luck!
     
  3. Unread #2 - Dec 4, 2007 at 4:30 PM
  4. Fusha
    Joined:
    May 1, 2007
    Posts:
    85
    Referrals:
    0
    Sythe Gold:
    0

    Fusha Member

    Moork's Challenge for mIRC Scripters!

    More details please. Like, what it's based on, speed? byte size?
    What's the format? $prime(NUM) ?
    What can the number be? Any number below 1000? Includes negative numbers?
     
  5. Unread #3 - Dec 4, 2007 at 4:41 PM
  6. Resident
    Referrals:
    0

    Resident Guest

    Moork's Challenge for mIRC Scripters!

    A: Negative prime numbers; they don't exist (negative*negative = positive), so return no/false/-1/what the fuck ever if it's negative

    B: format would be obvious, $prime(##)

    C: i'm guessing that he just wants you to do it. make it as [in]efficient as you want.
     
  7. Unread #4 - Dec 4, 2007 at 7:19 PM
  8. Eric
    Joined:
    Feb 23, 2007
    Posts:
    3,344
    Referrals:
    13
    Sythe Gold:
    25

    Eric Grand Master
    Banned

    Moork's Challenge for mIRC Scripters!

    How would I learn to mirc script?
     
  9. Unread #5 - Dec 4, 2007 at 9:50 PM
  10. Dorito
    Joined:
    Nov 1, 2005
    Posts:
    1,520
    Referrals:
    1
    Sythe Gold:
    0

    Dorito SCAMMER
    Banned

    Moork's Challenge for mIRC Scripters!

    Or we could just used the identifiers already there and do this in like 3 seconds, lol.
     
  11. Unread #6 - Dec 4, 2007 at 10:03 PM
  12. Fusha
    Joined:
    May 1, 2007
    Posts:
    85
    Referrals:
    0
    Sythe Gold:
    0

    Fusha Member

    Moork's Challenge for mIRC Scripters!


    There are no identifiers which returns the prime number, lol.
    You'll have loop through the numbers
     
  13. Unread #7 - Dec 5, 2007 at 6:54 AM
  14. moork
    Joined:
    Feb 12, 2007
    Posts:
    83
    Referrals:
    0
    Sythe Gold:
    0

    moork Member
    Banned

    Moork's Challenge for mIRC Scripters!

    This will be judged on bytes.
    Format is $prime(NUM) yes.
    Does not include NEGATIVE numbers.

    Yes, and if resident does not like this, he may close it.
    Thanks.
     
  15. Unread #8 - Dec 5, 2007 at 1:23 PM
  16. Resident
    Referrals:
    0

    Resident Guest

    Moork's Challenge for mIRC Scripters!

    Of course, but i wouldn't deny others an experience simply because i dislike mIRC scripting; carry on.
     
< selling ddser for cash quick (paypal) | Looking For a Trainer ! >

Users viewing this thread
1 guest


 
 
Adblock breaks this site