All pastes #917814 Raw Edit

Anonymous

public text v1 · immutable
#917814 ·published 2008-02-25 18:27 UTC
rendered paste body
alias add { 
  cs access # add $1 $2 | if ($2 == 3 && $1 ison #) { 
    mode # +v-aoh $1 $1 $1 $1 } | if ($2 == 4 && $1 ison #) { 
    mode # +h-aov $1 $1 $1 $1 } | if ($2 == 5 && $1 ison #) { 
    mode # +o-ahv $1 $1 $1 $1 } | if ($2 >= 10 && $1 ison #) { 
    mode # +ao-hv $1 $1 $1 $1 } | { notice $$1 Added to # access list at level $2 $+ . 
  }