|
wsccorp Newbie
Joined: 12 Mar 2007 Posts: 1
|
Posted: Mon Mar 12, 2007 12:24 am
script help please |
*editing so it would be less spammy*
in this trigger-
#TRIGGER {^{( )|~(%s(%d)~) |~((%d)~) |~((%d)~)}(*) {~(%d/*~(%d|~(}} {this_inv_item = {%replace(%replace(%trim(%remove((B),%remove((M),%remove((G),%remove((H),%remove((I),%literal(%4)))))))," ","|"),")(",")|(")};this_item_amount = %concat(%1,%2,%3);#IF (@this_item_amount = "") {this_item_amount = 1};#IF %ismember("K",@this_inv_item) {} {#IF (@sell_list = "nothing") {sell_list = ""};#ADDITEM sell_list (@this_item_amount|@this_inv_item);sellable_items = yes}}
it says there is a problem unmatched braces. and it is pointing to the
TRIGGER {^{( )|~(%s(%d)~)
...............................^ here
thank you in advance for the help |
|
|
|
Arminas Wizard
Joined: 11 Jul 2002 Posts: 1265 Location: USA
|
Posted: Mon Mar 12, 2007 4:51 am |
Here is your issue. This is right from the help files.
{val1|val2|val3|...} match any of the specified strings can not use other wildcard inside this
Note that in Zmud this Trigger still might have worked if you ticked the option use wildcards within {} in preferences. This option does NOT exist within Cmud. Or if it does I was unable to find it. Frankly I keep forgetting that it exists in Zmud anyway.
Note to Zugg
I understand if you don't want to port this option over to Cmud, it does need to go into the changes from Zmud articles provided I am correct and that it isn't already in Cmud. |
|
_________________ Arminas, The Invisible horseman
Windows 7 Pro 32 bit
AMD 64 X2 2.51 Dual Core, 2 GB of Ram |
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|