YES! with this FLOOD of information I now know exactly what is wrong with the script! Thank you so much for this INCREDIBLE amount of information!
seriously dude. if it does fine with work orders and not with rush orders, it's MORE THAN LIKELY a soe typo in the QUEST TEXT. this would be fixed by a CUSTOMWRITS entry.
read the forums, there are posts and posts and more posts about this. Using the craft script for writs is NOT always an out of the box n00blet thing. Some thought is occasionally required. Either you think, fix, and submit, or you don't use the bot for writs. End of story.