how to block command....

Here you can post threads requesting help on the official POL Ultima Online Emulator Core 095. Note: Core 095 is no longer officially supported.
Post Reply
th3_l00ny
New User
Posts: 28
Joined: Sun Mar 12, 2006 1:32 pm

how to block command....

Post 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
DevGIB
Grandmaster Poster
Posts: 248
Joined: Mon Feb 06, 2006 6:12 am

Post by DevGIB »

Code: Select all

if(the_attacker.serial == the_defender.serial)
sendsysmessage(who, "Thou Shalt Not Commit Crimes");
sleep(5);
DisconnectClient( who );
endif
th3_l00ny
New User
Posts: 28
Joined: Sun Mar 12, 2006 1:32 pm

Post by th3_l00ny »

What is the name of the file ....heu....where i put this?
DevGIB
Grandmaster Poster
Posts: 248
Joined: Mon Feb 06, 2006 6:12 am

Post 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 :)
Post Reply