All pastes #799523 Raw Edit

Untitled

public text v1 · immutable
#799523 ·published 2007-11-27 18:26 UTC
rendered paste body
on *:text:*:#index.il: { 
if ($1 == !start) { if ($lines(XO.txt) == 1) write -dl1 XO.txt | write XO.txt  A|B|C | if ($lines(XO.txt) == 2) write -dl1 XO.txt | write XO.txt  _|_|_1 | if ($lines(XO.txt) == 3) write -dl1 XO.txt | write XO.txt  _|_|_2 | if ($lines(XO.txt) == 4) write -dl1 XO.txt | write XO.txt  _|_|_3 | msg # $read(XO.txt,1) | msg # $read(XO.txt,2) | msg # $read(XO.txt,3) | msg # $read(XO.txt,4) } } } }
if ($1 == !a1) { if ($lines(XO.txt) == 2) write -dl1 XO.txt | write XO.txt    | var %i = 5 | while ($read(XO.txt,%i)) { .msg $chan $v1 | inc %i } } } }
if ($1 == !a2) { if ($lines(XO.txt) == 2) write -dl1 XO.txt | write XO.txt    | var %i = 5 | while ($read(XO.txt,%i)) { .msg $chan $v1 | inc %i } } } }
if ($1 == !a3) { if ($lines(XO.txt) == 2) write -dl1 XO.txt | write XO.txt    | var %i = 5 | while ($read(XO.txt,%i)) { .msg $chan $v1 | inc %i } } } }
if ($1 == !b1) { if ($lines(XO.txt) == 3) write -dl1 XO.txt | write XO.txt    | var %i = 5 | while ($read(XO.txt,%i)) { .msg $chan $v1 | inc %i } } } }
if ($1 == !b2) { if ($lines(XO.txt) == 3) write -dl1 XO.txt | write XO.txt    | var %i = 5 | while ($read(XO.txt,%i)) { .msg $chan $v1 | inc %i } } } }
if ($1 == !b3) { if ($lines(XO.txt) == 3) write -dl1 XO.txt | write XO.txt    | var %i = 5 | while ($read(XO.txt,%i)) { .msg $chan $v1 | inc %i } } } }
if ($1 == !c1) { if ($lines(XO.txt) == 4) write -dl1 XO.txt | write XO.txt    | var %i = 5 | while ($read(XO.txt,%i)) { .msg $chan $v1 | inc %i } } } }
if ($1 == !c2) { if ($lines(XO.txt) == 4) write -dl1 XO.txt | write XO.txt    | var %i = 5 | while ($read(XO.txt,%i)) { .msg $chan $v1 | inc %i } } } }
if ($1 == !c3) { if ($lines(XO.txt) == 4) write -dl1 XO.txt | write XO.txt    | var %i = 5 | while ($read(XO.txt,%i)) { .msg $chan $v1 | inc %i } } } }