Michaelous
12-10-2004, 04:55 AM
the script is intended to pick up gems laying on the floor when moving around, but i can't seem to figure out a way to keep from picking them up when others are in the room as well. any suggestions or ideas , thanks
start:
pause 1
put look
match filter defender.
match filter worker.
matchwait
checkroom:
match start Sorry, you may only type ahead
match R%c Also here: <------NOT WORKING! <Suppose to keep me from picking up gems when others in the room right?>
match R%c You can't go there
match R%c I could not find what
match filter defender
match filter worker
match R%c Obvious paths:
match R%c Obvious exits:
match R%c appears dead.
match gem sapphire
match gem1 pearl
matchwait
filter:
put look
match start You can't go there.
match R%c Also here: <------------------<works only when regarding a critter>
match attack Obvious paths:
match attack Obvious exits:
matchwait
gem:
pause 1
put get sapp
put open my long
put put sapp in my long
put close my long
waitfor you close
put look
goto checkroom
gem1:
pause 1
put get pearl
put open my long
put put pearl in my long
put close my long
waitfor you close
put look
goto checkroom
[Edited on 12-10-2004 by Michaelous]
start:
pause 1
put look
match filter defender.
match filter worker.
matchwait
checkroom:
match start Sorry, you may only type ahead
match R%c Also here: <------NOT WORKING! <Suppose to keep me from picking up gems when others in the room right?>
match R%c You can't go there
match R%c I could not find what
match filter defender
match filter worker
match R%c Obvious paths:
match R%c Obvious exits:
match R%c appears dead.
match gem sapphire
match gem1 pearl
matchwait
filter:
put look
match start You can't go there.
match R%c Also here: <------------------<works only when regarding a critter>
match attack Obvious paths:
match attack Obvious exits:
matchwait
gem:
pause 1
put get sapp
put open my long
put put sapp in my long
put close my long
waitfor you close
put look
goto checkroom
gem1:
pause 1
put get pearl
put open my long
put put pearl in my long
put close my long
waitfor you close
put look
goto checkroom
[Edited on 12-10-2004 by Michaelous]