I futzed with it as it is. I'm not sure how to script code in to turn it on and off, I can try. I run a No AWP server so it never occured to me to turn it off :)
Will ----- Original Message ----- From: "Barry L. Jeung" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 26, 2002 1:08 PM Subject: RE: [hlds_linux] script for restricted weapons (maybe OT) > Will, > I modified your plugin to suit my needs (awp restriction only) but I > can't figure out how to turn the plugin on and off. Can you modify your > plugin to accept something like admin_weaponcheck 1/0 because I only > restrict awps on certain levels. Thanks. > > -----Original Message----- > From: Will [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 23, 2002 2:43 PM > To: [EMAIL PROTECTED] > Subject: Re: [hlds_linux] script for restricted weapons (maybe OT) > > Hi Doug, > > I whipped up something you may be able to use. It's extrememly hacked > up > and probably very inefficient but I'm pretty sure it would work. If you > want to be my lab ra...I mean...umm, beta tester :) your welcome to it. > I > was able to compile the file fine on my RedHat box though I was not able > to > try it on a production server. > > This is a logd script. I have no idea what the impact on the server > would > be since it will parse every kill to look for all the non pistol > weapons. I > did not add grenades to the ban. It's up to you to decide whether the > server CPU impact is worth it to you. > > What the script does is parse for ("so-and-so" killed "another guy" with > "weapon") and if it matches any of the "if" statements it bans them for > 20 > minutes with an almighty kick just in case. It will also print to the > screen why the person was kicked. I think I added all the proper > weapons, I > might have forgotten one or two. > > "vi" the plugin_logd_weaponkick.sma file to see what it does, feel free > to > modify as needed. > > Will > (aka Vadakill) > > > ----- Original Message ----- > From: "Douglas Nilsson" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, July 22, 2002 1:22 PM > Subject: [hlds_linux] script for restricted weapons (maybe OT) > > > > Hi! > > Sorry if you think I'm sending this to the wrong list, but many here > seems > > to > > be competent persons who might can answer my question. > > > > Now to my problem: > > I'm running a Pistol Only Server (CS). > > I've disabled buymenus in adminmod in order to only allow pistols and > > equipment beeing bought. > > > > admin_cs_restrict 1 > > admin_command admin_restrictmenu 2 > > admin_command admin_restrictmenu 3 > > admin_command admin_restrictmenu 4 > > admin_command admin_restrictmenu 5 > > admin_command admin_restrictmenu 7 > > > > But unfortunately there are ways to get around this. :( > > I usually go through the logs (using grep) and bann the ones using > rifles > > and smg's. > > But, as you understand, I have other things wasting my time on. :) > > I'm loocking for a script (adminmod/logd/statsme) that banns players, > say > > for 2 hours, when they use restricted weapons. > > Have anyone heard of something like this? > > Thanks in advance. > > > > > > Douglas Nilsson > > > > > > ps. sorry if my english is bad. > > > > > > > > _______________________________________________ > > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > > http://list.valvesoftware.com/mailman/listinfo/hlds_linux > > > > > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlds_linux > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, please visit: > http://list.valvesoftware.com/mailman/listinfo/hlds_linux > > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux

