Moderator: MacroQuest Developers


Code: Select all
[****@**** genbot]$ grep -n "String\[" *
botcore.inc:476: /if (!${String[ item alt spell slot ].Find[ ${MountItem.Arg[1].Arg[1,-]} ]}) /varset MountItem item ${MountItem}
botcore.inc:758: /if (${String[ ${cmds-Routines.Lower} ].Find[ ${CurrCommand.Lower} ]}) {
botcore.inc:766: /if (${String[ ${cmds-Shortcuts.Lower} ].Find[ ${CurrCommand.Lower} ]}) {
botcore.inc:781: /if (${String[ ${cmds-${SectionsList.Arg[${GenFor}]}} ].Find[ ${CurrCommand} ]}) {
botcore.inc:949: /vardata ${sList} String[${sDiv}${${sList}}${sDiv}${sDiv}]
botcore.inc:950: /varset splaceholder ${String[${${sList}}].Arg[${sArg},${sDiv}]}
botcore.inc:952: /varcalc sright ${sleft}+${String[${splaceholder}${sDiv}].Length}
botcore.inc:953: /vardata ${sList} String[${${sList}.Left[${sleft}]}${${sList}.Right[-${sright}]}]
botcore.inc:960: /vardata ${sList} String[${sDiv}${${sList}}${sDiv}${sDiv}]
botcore.inc:964: /varset splaceholder ${String[${${sList}}].Arg[${sArg},${sDiv}]}
botcore.inc:966: /varcalc sright ${sleft}+${String[${splaceholder}${sDiv}].Length}
botcore.inc:967: /vardata ${sList} String[${${sList}.Left[${sleft}]}${sElement}${sDiv}${${sList}.Right[-${sright}]}]
botcore.inc:980: /varcalc sright ${sleft}+${String[${oldElement}].Length}
botcore.inc:994: /vardata ${sList} String[${sDiv}${${sList}}${sDiv}${sDiv}]
botcore.inc:997: /varcalc sleft ${String[${sDiv}${${sList}}${sDiv}].Find[${sDiv}${sName}${sDiv}]}-1
botcore.inc:998: /varcalc sright ${sleft}+${String[${sName}${sDiv}].Length}
botcore.inc:999: /vardata ${sList} String[${${sList}.Left[${sleft}]}${${sList}.Right[-${sright}]}]
botcore.inc:1057: /if (${String[|${IgnGroupList}|].Find[|${ChatText.Arg[1]}|]}) /return
botcore.inc:1060: /if (${String[ ${MasterList.Lower} ].Find[ ${ChatSender.Lower} ]}) {
botcore.inc:1111: /if (${String[ ${MasterList.Lower} ].Find[ ${Param1.Lower} ]}) {
botcore.inc:1120: /if (${String[ ${MasterList.Lower} ].Find[ ${IRCSender.Lower} ]}) {
botcore.inc:1136: /if (${String[ ${MasterList.Lower} ].Find[ ${IRCSender.Lower} ]}) {
bothealer.inc:163:/if (${String[${Param0}].Equal[off]}) {
botmain.inc:116: /if (${String[ ${cmds-Shortcuts.Lower} ].Find[ ${Param0.Lower} ]}) {
botmain.inc:160: /if (!${String[ ${cmds-${SectionName}} ].Find[ ${Param${GenFor}} ]}) {
botmain.inc:217: /if (${String[ true on 1 yes ].Find[ ${newValue} ]}) {
botmain.inc:220: } else /if (${String[ false off 0 no ].Find[ ${newValue} ]}) {
botspell.inc:169: /if (!${String[ ${BuffPtrList} ].Find[ ${GenFor} ]} && !${Ptr}) {
botspell.inc:190: /if (!${String[|BuffSelfIconList|].Find[|${BuffType};${BuffCast}|]}) {
botspell.inc:198: /if (${String[|${TimedBuffList}].Find[|${BuffSpell};]}) {
botspell.inc:202: /if (!${String[|${BuffSelfList}|].Find[|${BuffType};${BuffCast}|]}) {
botspell.inc:257: /if (${String[|${BuffSelfIconList}|].Find[|${CommandParam}|]}) {
botspell.inc:295: /if (${String[|${TimedBuffList}].Find[|${BuffSpell};]}) {
botspell.inc:455: /if (!${String[ item spell alt ].Find[ ${AddCastText.Lower.Arg[1,;].Arg[1,-]} ]}) {
botspell.inc:462: /if (${String[|pb ae|self|ae pc v2|group v1|].Find[|${Spell[${AddCastText.Arg[2,;]}].TargetType.Lower}|]}) {
botspell.inc:466: /if (${String[|pb ae|self|ae pc v2|group v1|].Find[|${FindItem[${AddCastText.Arg[2,;]}].Spell.TargetType.Lower}|]}) {
botspell.inc:470: /if (!${String[ corpse pc npc pet assist- 0 ].Find[ ${AddCastTarget.Arg[1].Lower} ]}) {
botspell.inc:524: /if (${String[ 1 2 3 4 5 6 7 ].Find[ ${CastStep} ]}) {
botspell.inc:793: /if (${String[ gem1 gem2 gem3 gem4 gem5 gem6 gem7 gem8 gem9 ].Find[ ${RCType.Lower} ]}) {
[****@**** genbot]$ grep -n "String\[" * | wc
39 268 3684

Took out a few that don't need to be fixed... only ${String[]} has to be removed, you had a couple of false positives in that list.SirCodeAlot wrote:For anyone who wants to try and tackle this, I have located all of the String TLO stuff:
39 occurrences... all the line numbers and files are there. I may get around to it at some point, but I figured I'd post this if anyone needed a kick-start.Code: Select all
[****@**** genbot]$ grep -n "String\[" * botcore.inc:476: /if (!${String[ item alt spell slot ].Find[ ${MountItem.Arg[1].Arg[1,-]} ]}) /varset MountItem item ${MountItem} botcore.inc:758: /if (${String[ ${cmds-Routines.Lower} ].Find[ ${CurrCommand.Lower} ]}) { botcore.inc:766: /if (${String[ ${cmds-Shortcuts.Lower} ].Find[ ${CurrCommand.Lower} ]}) { botcore.inc:781: /if (${String[ ${cmds-${SectionsList.Arg[${GenFor}]}} ].Find[ ${CurrCommand} ]}) { botcore.inc:950: /varset splaceholder ${String[${${sList}}].Arg[${sArg},${sDiv}]} botcore.inc:952: /varcalc sright ${sleft}+${String[${splaceholder}${sDiv}].Length} botcore.inc:964: /varset splaceholder ${String[${${sList}}].Arg[${sArg},${sDiv}]} botcore.inc:966: /varcalc sright ${sleft}+${String[${splaceholder}${sDiv}].Length} botcore.inc:980: /varcalc sright ${sleft}+${String[${oldElement}].Length} botcore.inc:997: /varcalc sleft ${String[${sDiv}${${sList}}${sDiv}].Find[${sDiv}${sName}${sDiv}]}-1 botcore.inc:998: /varcalc sright ${sleft}+${String[${sName}${sDiv}].Length} botcore.inc:1057: /if (${String[|${IgnGroupList}|].Find[|${ChatText.Arg[1]}|]}) /return botcore.inc:1060: /if (${String[ ${MasterList.Lower} ].Find[ ${ChatSender.Lower} ]}) { botcore.inc:1111: /if (${String[ ${MasterList.Lower} ].Find[ ${Param1.Lower} ]}) { botcore.inc:1120: /if (${String[ ${MasterList.Lower} ].Find[ ${IRCSender.Lower} ]}) { botcore.inc:1136: /if (${String[ ${MasterList.Lower} ].Find[ ${IRCSender.Lower} ]}) { bothealer.inc:163:/if (${String[${Param0}].Equal[off]}) { botmain.inc:116: /if (${String[ ${cmds-Shortcuts.Lower} ].Find[ ${Param0.Lower} ]}) { botmain.inc:160: /if (!${String[ ${cmds-${SectionName}} ].Find[ ${Param${GenFor}} ]}) { botmain.inc:217: /if (${String[ true on 1 yes ].Find[ ${newValue} ]}) { botmain.inc:220: } else /if (${String[ false off 0 no ].Find[ ${newValue} ]}) { botspell.inc:169: /if (!${String[ ${BuffPtrList} ].Find[ ${GenFor} ]} && !${Ptr}) { botspell.inc:190: /if (!${String[|BuffSelfIconList|].Find[|${BuffType};${BuffCast}|]}) { botspell.inc:198: /if (${String[|${TimedBuffList}].Find[|${BuffSpell};]}) { botspell.inc:202: /if (!${String[|${BuffSelfList}|].Find[|${BuffType};${BuffCast}|]}) { botspell.inc:257: /if (${String[|${BuffSelfIconList}|].Find[|${CommandParam}|]}) { botspell.inc:295: /if (${String[|${TimedBuffList}].Find[|${BuffSpell};]}) { botspell.inc:455: /if (!${String[ item spell alt ].Find[ ${AddCastText.Lower.Arg[1,;].Arg[1,-]} ]}) { botspell.inc:462: /if (${String[|pb ae|self|ae pc v2|group v1|].Find[|${Spell[${AddCastText.Arg[2,;]}].TargetType.Lower}|]}) { botspell.inc:466: /if (${String[|pb ae|self|ae pc v2|group v1|].Find[|${FindItem[${AddCastText.Arg[2,;]}].Spell.TargetType.Lower}|]}) { botspell.inc:470: /if (!${String[ corpse pc npc pet assist- 0 ].Find[ ${AddCastTarget.Arg[1].Lower} ]}) { botspell.inc:524: /if (${String[ 1 2 3 4 5 6 7 ].Find[ ${CastStep} ]}) { botspell.inc:793: /if (${String[ gem1 gem2 gem3 gem4 gem5 gem6 gem7 gem8 gem9 ].Find[ ${RCType.Lower} ]}) { [****@**** genbot]$ grep -n "String\[" * | wc 39 268 3684
Code: Select all
botspell.inc:190: /if (!${String[|BuffSelfIconList|].Find[|${BuffType};${BuffCast}|]}) { 
Code: Select all
botcore.inc:758: /if (${String[ ${cmds-Routines.Lower} ].Find[ ${CurrCommand.Lower} ]}) {
botcore.inc:766: /if (${String[ ${cmds-Shortcuts.Lower} ].Find[ ${CurrCommand.Lower} ]}) { Code: Select all
botcore.inc:1111: /if (${String[ ${MasterList.Lower} ].Find[ ${Param1.Lower} ]}) {
Code: Select all
/if ${MasterList.Equal[${Param1}]}
Code: Select all
/if ${MasterList.Left[-5].Equal[${Param1}]}
Code: Select all
/if (${MasterList.Find[${Param1}]})
Code: Select all
/vardata ${sList} String[${sDiv}${${sList}}${sDiv}${sDiv}]
