Page 1 of 1
how to block command....
Posted: Mon Apr 17, 2006 7:44 am
by th3_l00ny
i want to block some command like target next and attack last cause when you do this command you can sparing is self how i can suprime this command
Posted: Mon Apr 17, 2006 8:46 am
by DevGIB
Code: Select all
if(the_attacker.serial == the_defender.serial)
sendsysmessage(who, "Thou Shalt Not Commit Crimes");
sleep(5);
DisconnectClient( who );
endif
Posted: Mon Apr 17, 2006 7:28 pm
by th3_l00ny
What is the name of the file ....heu....where i put this?
Posted: Mon Apr 17, 2006 9:23 pm
by DevGIB
i dont know your set up... so unfortunatly i cant tell you exactly where... how ever i can surgest looking up you hitscripts usually kept in a package called combat... most commonly one used in the distro is probably macehit so try putting it in there somewhere
