About Us
Products
Purchase
Downloads
Support
Forums
Contact Us
Site
 Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: 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.
_________________
Listen to my Guitar - If you like it, listen to more
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: 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
Reply with quote
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: 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.
_________________
Listen to my Guitar - If you like it, listen to more
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum All times are GMT
Page 1 of 1

 
Jump to:  
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

© 2009 Zugg Software. Hosted by Wolfpaw.net