napa182 commented on a Page, Chainz name Changer  -  Dec 04, 2008

also you can shorten this

.List Section :{
    %n1 = $$?="1 nickname:"
    %n2 = $$?="2 nickname:"
    %n3 = $$?="3 nickname:"
    %n4 = $$?="4 nickname:"
    %n5 = $$?="5 nickname:"
    %n6 = $$?="6 nickname:"
    %n7 = $$?="7 nickname:"
    %n8 = $$?="8 nickname:"
    %n9 = $$?="9 nickname:"
    %n10 = $$?="10 nickname:"
  }
  .Reset List :{
    %n1 = Empty Slot
    %n2 = Empty Slot
    %n3 = Empty Slot
    %n4 = Empty Slot
    %n5 = Empty Slot
    %n6 = Empty Slot
    %n7 = Empty Slot
    %n8 = Empty Slot
    %n9 = Empty Slot
    %n10 = Empty Slot
  }

to this

.List Section :{ var %^ = 1  | while (%^ <= 10) { set $+(%,n,%^) $$?=" %^ nickname:" | inc %^ } }
  .Reset List :{ var %^ = 1  | while (%^ <= 10) { set $+(%,n,%^) Empty Slot | inc %^ } }

that will do the same thing ur's does.
but anyways nice work...

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.