Sounds like a silly suggestion but it should be noted - if your changing the QFunction file you should reboot the server for the changes to take affect.
you could try it a different way if you need to move on. another way round would be to have the pet scroll as a static item a token item if you like. you could then add in a new custom command
to do this.
work your way to C:\MirServer\M2Server\Envir and then double click the CustomCommands.txt file.
in this file on a new line type
@PetScroll
Save the file and close.
if you still have the Envir folder open double click Market_Def and open the QFunction-0.txt file.
at the bottom of the file add this.
[@PetScroll]
<I want to use PetScroll1/@PetScroll1>\
<I want to use PetScroll2/@PetScroll2>\
<I want to use PetScroll3/@PetScroll3>\ \
<close/@exit>
[@PetScroll1]
#IF
CHECKITEM PetScroll 1
#ACT
TAKE PetScroll1 1
RECALLMOB Pet1
#SAY
Enjoy your Pet.
#ELSESAY
You don't have a PetScroll1.
[@PetScroll2]
#IF
CHECKITEM PetScroll2 1
#ACT
TAKE PetScroll2 1
RECALLMOB Pet2
#SAY
Enjoy your Pet.
#ELSESAY
You don't have a PetScroll2.
[@PetScroll3]
#IF
CHECKITEM PetScroll3 1
#ACT
TAKE PetScroll3 1
RECALLMOB Pet3
#SAY
Enjoy your Pet.
#ELSESAY
You don't have a PetScroll3.
Save the file and then close it - Load the server (Reboot if you had it online whilst making the changes)
and then try making a petscroll1/2/3 and try using the command by typing @PetScroll on a non gm char
hope that should cover the whole process of adding the command - if you have any questions about the specifics please give me a shout and ill do my best to anwser them
all the best