Here is a short script that will add bars npa to a switch. the only thing that you need to know, one is the rli i have used is 2, either build a rli for that or modify the script to use your rlb. the other is to note the range i have included, you may want to modify that, i didn't add any deny statements but that is a single line at your descrection.. have fun, Knob over in the script forum has been very helpful, before he loaned a hand, this script was 30K of text and often drove people (me) crazy.
john poole
bellsouth business
columbia,sc
Code:
proc main
transmit "****^M"
waitfor ">"
transmit "ld 90^M"
waitfor "REQ "
transmit "new^M"
waitfor "CUST "
transmit "0^M"
waitfor "FEAT "
transmit "net^M"
waitfor "TRAN "
transmit "ac1^M"
waitfor "TYPE "
transmit "npa^M"
call theproc
endproc
proc theproc
integer iCount
string sCount
for iCount = 1200 upto 1999
loop:
waitfor "NPA "
itoa iCount sCount
transmit sCount
transmit "^M"
call myproc
endfor
goto loop
endproc
proc myproc
waitfor "RLI "
transmit "2^M"
waitfor "SDRR "
transmit "^M"
waitfor "ITEI "
transmit "^M"
endproc
john poole
bellsouth business
columbia,sc