I have downloaded and installed the post for Bobcad, the standard change tool script is this:

'Tool Change

NCEdit Output,Line = i

dim TOOLNUM as string
dim DESC as string

Ask Header="Tool Change",Output,Cancel=canc,"Tool Number:"=TOOLNUM, "Tool Description"=DESC
If canc Then
Exit
End If

NCEdit Line = i,Output,Text=txt
txt = "T"+TOOLNUM+"M6"
If Len(DESC) > 0 Then
txt = txt+"("+DESC+")"
End If
NCEdit Line = i,Text=txt, Output, NumLines=nl
NCEdit Line = nl+2

NCRenumber

Window2

I have a manual tool change setup so i need to have the tool change do a M00 so i can change the tool, can someone please help me edit this scrip so that it will also output this stop command.

thanks