 |
chamenas Wizard

Joined: 26 Mar 2008 Posts: 1547
|
Posted: Thu Apr 10, 2008 4:29 pm
Command in an Expression isn't working... |
| Code: |
#TRIGGER thirsty {^You are thirsty.$}
{
#IF (@posn="wake")
{
#5 {#send "drink decan"}
} {
#send rest
#5 {#send "drink decan"}
#send sleep @bed
}
} {General Triggers}
|
Essentially, my character wakes up, drinks, then when it goes back to sleep, it just goes to sleep, it does not go to sleep on the proper bed. And I checked the bed variable, it is filled with a value. So why is my character not going to sleep on the bed? |
|
|
|
 |
Fang Xianfu GURU

Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Thu Apr 10, 2008 4:32 pm |
Is it sending an invalid bed, or is it sending nothing? If the latter, try
#send {sleep @bed}
If the former, you've probably got two @bed variables somewhere. |
|
|
|
 |
chamenas Wizard

Joined: 26 Mar 2008 Posts: 1547
|
Posted: Thu Apr 10, 2008 5:12 pm |
sending nothing. I deleted all the variables and re put them back in, so maybe that was it. These potential double variables are getting irksome.
|
|
|
|
 |
|
|
|