Please Disable Ad-Block To View This Website.

If you block ads, this site can not survive!

Ads are very minimal for registered users. If you don't have an account please register now!

DOWNLOAD
 Full Scripts
 Addons
 Snippets
 DLLs
 MTS Themes
 Tutorials
 Misc.
 File Queue
 Download mIRC
INTERACT
 Screenshots
 Challenge
 Top Downloads
 Submit Form
 Forums

SEARCH
Site Search

FRIENDS
Link to us!
PhotoShelf

Top Challenge Entrants

  # User Points
  1 jaytea 587
  2 [Znork] 303
  3 urza 297
  4 Ag2X 288
  5 dr_Eamer 255
  6 Albie 199
  7 Chessnut 197
  8 A Noniem 194
  9 zzattack 186
  10 Kol 185
  11 m910q 168
  12 Sephiroth 115
  13 patje 114
  14 Auron956 114
  15 chid 110
  16 Ohad2121 92
  17 SkorpSSS 87
  18 DixrouE 84
  19 Suchorski 83
  20 ^Vampire^ 74
Challenge:Increment Text String: $inctext()
Start:December 31st 2005
End:January 7th 2006
Description:

New challenges as of 2006 !


You are to create an alias that will accept a text string of A-Z and a-z characters and increment it and return the output. If the input value contains characters that are not in this range – it will return $null.

The alias must preserve upper and lower cases in their appropriate positions.

If left of string is ‘Z’ then ‘A’ will be appended to the beginning of the string.

If left of string is ‘z’ then ‘a’ will be appended to the beginning of the string.
(Preserving cases even when carrying)


Example:



$inctext(1) = $null
$inctext(1A6aajo46) = $null
$inctext(?) = $null
$inctext(a) = b
$inctext(z) = aa
$inctext(Z) = AA
$inctext(aB) = aC
$inctext(BB) = BC
$inctext(ABC) = ABD
$inctext(ABc) = ABd
$inctext(AbZ) = AcA
$inctext(ZZZ) = AAAA
$inctext(YzZ) = ZaA
$inctext(Zzz) = AAaa
$inctext(zZZ) = aaAA
$inctext(mZzzZZ) = nAaaAA
$inctext(CcC) = CcD
$inctext(ppZ) = pqA
$inctext(aZzZzZ) = bAaAaA


Rules:

  • No dlls / coms
  • No sockets
  • No regular expressions
  • Alias must be called ‘inctext’
  • File will be loaded into the REMOTE section
  • Maximum input text size will be tested from 1 to 900.
  • May be submitted as .txt or .mrc ONLY
  • File we will be using to count the code: countcode.mrc
  • One submission per user.


    Entries will be judged on their code size and if they are in working order.
    a