Senior Member
Join Date: Feb 2013
Posts: 357
|
Ok, trying to create a thing that replaces an Initiator discipline with another. Got the thing that adds the new discipline but having trouble removing the selected discipline
Code:
var disc as string disc = hero.child[trBlkThrn].field[fChosen].chosen.tagids[AllowCust.?,"|"] disc = replace(disc, "AllowCust.", "thingid.x", 0) disc = disc & "Ft" field[ftCandExpr].text = "(" & disc & ")" var repl as string repl = field[fChosen].chosen.tagids[User.?] repl = replace(repl, "User", "AllowCust", 0) perform hero.child[trBlkThrn].field[fChosen].chosen.deletestr[disc] I have a Patreon and PayPal. Donations are appreciated but are not mandatory. They are only to show support while I program stuff. |
#1 |
|
|