&del object inside monster (CSBwin)

Dead posts cluttering up the front page of certain non-RTC forums are kept here. Threads have the forum subject attached, except custom dungeon threads (which are obvious)
Forum rules
Please read the Forum rules and policies before posting.
Post Reply
User avatar
beowuuf
Archmastiff
Posts: 20687
Joined: Sat Sep 16, 2000 2:00 pm
Location: Basingstoke, UK

&del object inside monster (CSBwin)

Post by beowuuf »

Can you do this? An &move to a known location then &del seems messy!
Last edited by beowuuf on Sun Apr 16, 2006 6:20 pm, edited 1 time in total.
User avatar
Paul Stevens
CSBwin Guru
Posts: 4318
Joined: Sun Apr 08, 2001 6:00 pm
Location: Madison, Wisconsin, USA

Post by Paul Stevens »

Move and delete is probably the way to go.
Putting it into the code is messy, too. Solving
problems with existing tools is a kind of
clean way of doing things. Sort of a 'Unix'
method of piping things around. If it were
something that 20 people wanted to do on a daily
basis then I would consider it.
User avatar
beowuuf
Archmastiff
Posts: 20687
Joined: Sat Sep 16, 2000 2:00 pm
Location: Basingstoke, UK

Post by beowuuf »

I haven't seen it yet (always seems to work out), but didn't you say there was a potential problem with Indirect commands in that an &%move and an &%del don't have to be worked out in the order they were initiated in a filter?
User avatar
Zyx
DSA Master
Posts: 2592
Joined: Mon Jun 05, 2000 1:53 pm
Location: in the mind
Contact:

Post by Zyx »

you can issue a &DELAY to the &DEL
User avatar
Paul Stevens
CSBwin Guru
Posts: 4318
Joined: Sun Apr 08, 2001 6:00 pm
Location: Madison, Wisconsin, USA

Post by Paul Stevens »

Or just &Move it to a 'Trash' room. And have
a DSA that simply deletes everything that goes into
the room. A pressurePad in the room could trigger
the DSA. Then your filter would look more nearly
simple. "Send it to the Landfill".

And you could share your 'Trashman' DSA as
a standard tool for use by others less adept at
writing such things.
User avatar
Sophia
Concise and Honest
Posts: 4239
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

Post by Sophia »

Speaking of which, is the syntax to &DEL documented anywhere?

It's not on the list: http://www.dianneandpaul.net/CSBwin/doc ... guage.html
User avatar
Paul Stevens
CSBwin Guru
Posts: 4318
Joined: Sun Apr 08, 2001 6:00 pm
Location: Madison, Wisconsin, USA

Post by Paul Stevens »

In the DSA dialog 'Help'
User avatar
beowuuf
Archmastiff
Posts: 20687
Joined: Sat Sep 16, 2000 2:00 pm
Location: Basingstoke, UK

Post by beowuuf »

It's actually the opposite syntax to the &ADD (without pos mask)
Post Reply