|
Palomar Apprentice
Joined: 11 Oct 2000 Posts: 138 Location: Portugal
|
Posted: Mon Jan 21, 2002 5:48 pm
stripping quotes |
I have a trigger with a pattern like
^Object (%*) is type (%w)
and in the script field it has a line
item.name = %1
My problem is that a typical mathing line is
Object 'a silly name' is type weapon
but then what gets stored in the variable is just: a silly name, quotes stripped. How can I force zMud to NOT strip the quotes?
Thanx 4 the help,
Palomar |
|
|
|
Jaerin Apprentice
Joined: 10 Oct 2000 Posts: 132 Location: USA
|
Posted: Mon Jan 21, 2002 6:08 pm |
By default it doesn't strip the quotes. I would say that perhaps it may be the properties of the database field that your putting the name into.
Jaerin
Tested without the database on version 6.25a
#trigger {^Object(%*) is type (%w)} {name=%1}
#echo Object 'a silly name' is type weapon
#show @name
Result:
name = 'a silly name' |
|
|
|
|
|