Vectrex
Quest Master
Registered: Mar 2001
Location: Basement
Posts: 659 |
#onhear "hi" gets triggered by any word with hi in it (thing, this, ****, etc.). The event should only be triggered by "hi" by itself or hi at the beginning followed by a space.
so these would work:
"hi"
"hi jacko"
"hi alkhglakh"
and these wouldnt:
" hi"
"thing"
"aslagkjd hi"
We also need a way to get unknown values from #onhear. Like when a bot asks you how many of something you want or who you want arrested ;-)
We also need a way to only accept statements from a specific person, so other people cant run up and interrupt your conversation.
something like :
#onhear name radus keep all/targetname var/"text"
e.g. #onhear jacko 5 false %1 var >#setvelocity %1 0 0 ^var
var means just take whatever the target says.
Report this post to a moderator | IP: Logged
|