Author Topic: A command overriding the socials?  (Read 4258 times)

Offline parham

  • Acquaintance
  • *
  • Posts: 30
    • View Profile
A command overriding the socials?
« on: September 09, 2008, 03:31:17 AM »
Hi,
I'm on a mud with the skylib library, and the driver is FluffOS, so the method of adding a command is:
Code: [Select]
add_command(pick", "<direct:object> {with|using} <indirect:me>");Now, that's not important, but what I was wondering is that how I can make the commands override socials. Like let's say we have an agree command. On this mud if I add that command, both that command and the social would get executed.
Is there a way to prevent the happening of the social?
Thanks!

Offline Am0k

  • Acquaintance
  • *
  • Posts: 9
    • View Profile
Re: A command overriding the socials?
« Reply #1 on: September 09, 2008, 05:11:40 AM »
Hi,

I'm currently unavailable to check out the lib, but I think I can give you some ideas on what you'd need to do.
You will likely have to search out a shell object or some place where your mudinput gets executed and check the logic behind that( if it calls both the command and the social etc. )

Hope it helps. :)

--Amok


Offline parham

  • Acquaintance
  • *
  • Posts: 30
    • View Profile
Re: A command overriding the socials?
« Reply #2 on: September 09, 2008, 12:00:08 PM »
Hi,
I figured out what the problem is. Add_command() does override socials, but what I was told is that adding commands to an item with add_item() is the same as add_command(). I didn't know that they meant in results, rather than infunctionality.
Thanks!