The command: ENTER [SOLVED]

Does the ENTER command actually do anything without adding any scripts?

It doesn't seem to do anything...

What does it do?

Why isn't it just a verb?

Wouldn't it always have to have an object anyway?

(Am I overlooking something?)

image


And where is it???

I can't find it by any method I can think of (even using grep to search the Quest 5 directory or iterating through AllCommands()).

foreach(cmd,AllCommands()) msg(cmd+"<br/>"+cmd.pattern+"<hr/>")

Command: lookat
^look at (?.?)$|^look (?.?)$|^x (?.?)$|^examine (?.?)$|^exam (?.?)$|^ex (?.?)$

Command: take
^take (?.?)$|^get (?.?)$|^pick up (?.*?)$

Command: drop
^drop (?.*?)$

Command: use
^use (?.*?)$

Command: undo
^undo$

Command: inventory
^i$|^inv$|^inventory$

Command: look
^look$|^l$

Command: lookdir
^look (?north|east|south|west|northeast|northwest|southeast|southwest|out|up|down|n|e|s|w|ne|nw|se|sw|o|u|d)$

Command: quit
^quit$

Command: go
^go to (?.)$|^go (?.)$|^(?north|east|south|west|northeast|northwest|southeast|southwest|in|out|up|down|n|e|s|w|ne|nw|se|sw|o|u|d)$

Command: open
^open (?.*?)$

Command: close
^close (?.*?)$

Command: put
^put (?.) (on|in) (?.)$

Command: removefrom
^remove (?.) from (?.)$

Command: givesingle
^give (?.*?)$

Command: give
^give (?.) to (?.)$

Command: useon
^use (?.) (on|with) (?.)$

Command: ask
^ask (?.) about (?.)$

Command: tell
^tell (?.) about (?.)$

Command: tellto
^(tell|ask) (?.) to (?.)$

Command: alttellto
^(?.), (?.)$

Command: oops
^oops (?.*)$

Command: speak
^speak to (?.?)( (with|using) (?.))?$|^speak (?.?)( (with|using) (?.))?$|^talk to (?.?)( (with|using) (?.))?$|^talk (?.?)( (with|using) (?.))?$

Command: buy
^buy (?.?)( (with|using) (?.))?$|^purchase (?.?)( (with|using) (?.))?$

Command: climb
^climb (?.?)( (with|using) (?.))?$

Command: drink
^drink (?.?)( (with|using) (?.))?$

Command: eat
^eat (?.?)( (with|using) (?.))?$

Command: hit
^hit (?.?)( (with|using) (?.))?$

Command: kill
^kill (?.?)( (with|using) (?.))?$

Command: kiss
^kiss (?.?)( (with|using) (?.))?$

Command: knock
^knock (?.?)( (with|using) (?.))?$

Command: lick
^lick (?.?)( (with|using) (?.))?$

Command: lieon
^lie on (?.?)( (with|using) (?.))?$|^lie upon (?.?)( (with|using) (?.))?$|^lie down on (?.?)( (with|using) (?.))?$|^lie down upon (?.?)( (with|using) (?.))?$

Command: listento
^listen to (?.?)( (with|using) (?.))?$

Command: lock
^lock (?.?)( (with|using) (?.))?$

Command: move
^move (?.?)( (with|using) (?.))?$

Command: pull
^pull (?.?)( (with|using) (?.))?$

Command: push
^push (?.?)( (with|using) (?.))?$

Command: read
^read (?.?)( (with|using) (?.))?$

Command: search
^search (?.?)( (with|using) (?.))?$

Command: show
^show (?.?)( (with|using) (?.))?$

Command: siton
^sit on (?.?)( (with|using) (?.))?$|^sit upon (?.?)( (with|using) (?.))?$|^sit down on (?.?)( (with|using) (?.))?$|^sit down upon (?.?)( (with|using) (?.))?$

Command: smell
^smell (?.?)( (with|using) (?.))?$|^sniff (?.?)( (with|using) (?.))?$

Command: taste
^taste (?.?)( (with|using) (?.))?$

Command: throw
^throw (?.?)( (with|using) (?.))?$

Command: tie
^tie (?.?)( (with|using) (?.))?$

Command: touch
^touch (?.?)( (with|using) (?.))?$

Command: turnon
^turn on (?.?)( (with|using) (?.))?$|^turn (?.?) on( (with|using) (?.))?$|^switch on (?.?)( (with|using) (?.))?$|^switch (?.?) on( (with|using) (?.))?$

Command: turnoff
^turn off (?.?)( (with|using) (?.))?$|^turn (?.?) off( (with|using) (?.))?$|^switch off (?.?)( (with|using) (?.))?$|^switch (?.?) off( (with|using) (?.))?$

Command: turn
^turn (?.?)( (with|using) (?.))?$

Command: unlock
^unlock (?.?)( (with|using) (?.))?$

Command: untie
^untie (?.?)( (with|using) (?.))?$

Command: listen
^listen$

Command: jump
^jump$

Command: sit
^sit$|^sit down$

Command: lie
^lie$|^lie down$

Command: sleep
^sleep$|^rest$

Command: wait
^wait$|^z$

Command: xyzzy
^xyzzy$

Command: help
^help$|^?$

Command: save
^save$

Command: wear
^put (?.?) on$|^wear (?.?)$|^put on (?.?)$|^don (?.?)$|^wear (?.*?)$

Command: remove
^take (?.?) off$|^remove (?.?)$|^take off (?.?)$|^doff (?.?)$


The message is misleading. The "enter" script is used for a room when the player enters a room, so cannot also be used for a verb. You could add your own command.


Oh, yeah...

The "enter" script!

That is a good script to have!

Much more important than an ENTER verb, I must say.

Thanks, Pix!


This came up about a year ago when someone tried to add an "enter" verb, and it caused havoc, so the warning got added in 5.7.1.


Well, adding that just saved the day for me. (Havoc would have been wreaked!)


Log in to post a reply.

Support

Forums