Using Smell

Forgewright
14 Apr 2020, 18:25The Quest command for smell has the line: if (HasFullString(game.pov.parent, "smell")) {
if (HasFullString(game.pov.parent, "smell")) {
msg (game.pov.parent.smell)
}
else {
msg ("You smell nothing usual.")
}
```.
This throws an error if I have an attribute: ```smell``` with a string. I copied it and used ```HasAttribute``` and it works fine.
Is HasFullString legit?

Doctor Agon
14 Apr 2020, 19:23The only smell command I can find is a verb, smell #object#; sniff #object#
, which comes back with the default response
"You sniff, but " + object.gender + " doesn't smell of much."
In answer to your question though, I can't find HasFullString
, I can find HasString
though.

Forgewright
14 Apr 2020, 20:57Type "smell" into the GUI filter.

Dcoder
14 Apr 2020, 21:16"smell" comes up as a default verb for me too (Quest v5.8). Maybe you created a smell
command?

Forgewright
14 Apr 2020, 22:13It came up as a command, 'smell #object#' for me. I had to hit copy to make changes. On phone right now. Will look and see if I added it in a type somewhere. That would have the yellow line on it that makes you hit copy to change it, I believe.

Forgewright
15 Apr 2020, 01:13Either way, it works now. was just wondering if HasFullString was right. Can't find it in the forums