This is basically what I'm trying to do:
weaponOne = Call weaponConvert(weaponOne)
sub weaponConvert(wName, newName)
if wName = "the ancient sword of the kami" then
newName = "Kami"
end if
end sub
I want weaponOne to go from "the ancient sword of the kami" to "kami". I don't see exactly how to do this with the vbscripting, this format just gives me an error.
Appriciate any help.
weaponOne = Call weaponConvert(weaponOne)
sub weaponConvert(wName, newName)
if wName = "the ancient sword of the kami" then
newName = "Kami"
end if
end sub
I want weaponOne to go from "the ancient sword of the kami" to "kami". I don't see exactly how to do this with the vbscripting, this format just gives me an error.
Appriciate any help.