|
chamenas Wizard
Joined: 26 Mar 2008 Posts: 1547
|
Posted: Fri Sep 03, 2010 8:02 pm
3.25 #ADDKEY still not working properly with database variables as the value |
Code: |
<trigger name="record-bless" priority="13070" regex="true" enabled="false" id="1338">
<pattern>([\w ,'-]+) glows with a holy aura</pattern>
<value>$name=%trim( %1)
$name=%concat(%lower(%left($name, 1)), %right($name, 1))
#ADDKEY bless_eq $name @time.bless
#IF (!@bless_on) {#T- record-bless}</value>
</trigger>
|
This continues to add .bless as the value of bless_eq.$name, I'm unsure of why it has been doing this, but it persists even after the fixes to #ADDKEY in the recent versions. |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Mon Sep 06, 2010 9:33 pm |
I would have to guess that "time" is a non-existent variable or possibly in a disabled state. The result you are seeing is because @time fails to locate the variable, making the ".bless" become a concatenation.
|
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
chamenas Wizard
Joined: 26 Mar 2008 Posts: 1547
|
Posted: Mon Sep 06, 2010 9:50 pm |
Forgot to update this, I had updated @time in some of my sessions, but forgot that it was still @_time in others, hence the issue. Entirely my fault! Sorry.
|
|
|
|
|
|