I'm getting this error whenever I try to run it.
Code:
Error: Too many parameters passed to function.
Specifically: StrSplit(PossibleBase[1], " ",,2)
Line#
3398: {
3399: Prop.ItemName := Prop.ItemName . A_LoopField . "
"
3400: Prop.ItemName := StrReplace(Prop.ItemName, "<<set:MS>><<set:M>><<set:S>>", "")
3401: StandardBase := StrReplace(A_LoopField, "Superior ", "")
3402: StandardBase := StrReplace(StandardBase, "<<set:MS>><<set:M>><<set:S>>", "")
3403: PossibleBase := StrSplit(StandardBase, " of ")
3404: StandardBase := PossibleBase[1]
---> 3405: PossibleBase := StrSplit(PossibleBase[1], " ",,2)
3406: PrefixMagicBase := PossibleBase[2]
3408: For k,v in Bases
3409: {
3410: if (Bases[k]["name"] = StandardBase) || (Bases[k]["name"] = PrefixMagicBase)
3411: {
3412: Prop.Width := Bases[k]["inventory_width"]
3413: Prop.Height := Bases[k]["inventory_height"]
The program will exit.