|
charneus Wizard
Joined: 19 Jun 2005 Posts: 1876 Location: California
|
Posted: Sat Jan 19, 2008 5:16 am
[2.18] Database variables in triggers |
In zMUD, I could use a database variable within a trigger pattern, and it'd treat it just like it was multiple variables. For instance, my trigger pattern would contain:
#TRIGGER {^~(%d~) {@database.key}$} {do stuff here}
However, in CMUD, I find that it doesn't work that way anymore. I wonder, is this intentional, or another bug? I could just put what I want in a variable (it's really only matching one name) but I try to reduce clutter in my scripts/packages. I'd love for that functionality to work again.
Charneus |
|
|
|
dogotemn Beginner
Joined: 05 Jul 2007 Posts: 21
|
Posted: Sun Jan 20, 2008 10:09 pm |
try changing "{@database.key}" to "@(database.key)" and see if it works. and if not that, give "(@{database.key})" a swing.
|
|
|
|
charneus Wizard
Joined: 19 Jun 2005 Posts: 1876 Location: California
|
Posted: Sun Jan 20, 2008 10:40 pm |
Heh... {@{database.key}} did the trick nicely. Thanks. :)
Charneus |
|
|
|
|
|
|
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
|
|