Page 1 of 1

[Script] Semi Master Race!

Posted: Sun Sep 29, 2013 6:48 pm
by VladVP
Hey, I made a script for the upcoming ToW event, which basically disables all ranged weapons apart from the rifle.
Code: Select all
def apply_script(protocol,connection,config):
	class semimrConnection(connection):
		def spawn(self): self.weapon=0; return connection.spawn(self)
		def on_weapon_set(self,weapon):
			if weapon != 0: return False
			return connection.on_weapon_set(self,weapon)
	return protocol, semimrConnection
semimr.py
(1.17 KiB) Downloaded 311 times
EDIT: Added a bunch of optimisations.

Re: [Script] Semi Master Race!

Posted: Tue Oct 01, 2013 4:30 pm
by [HPC]sajt
Good!-You created this?

Re: [Script] Semi Master Race!

Posted: Tue Oct 01, 2013 5:59 pm
by VladVP
No, I just hit my keyboard with the face and posted the result here for the lulz...

Re: [Script] Semi Master Race!

Posted: Wed Oct 02, 2013 3:30 am
by Kuma
[HPC]sajt wrote:
Good!-You created this?
He does have a scripter badge.

Also vlad, many scripts allow disabling these things why did you waste your time doing this.

Re: [Script] Semi Master Race!

Posted: Wed Oct 02, 2013 10:19 am
by VladVP
Kuma wrote:
[HPC]sajt wrote:
Good!-You created this?
He does have a scripter badge.

Also vlad, many scripts allow disabling these things why did you waste your time doing this.
Did you even read my post?

Re: [Script] Semi Master Race!

Posted: Wed Oct 02, 2013 4:38 pm
by Kuma
Yes, do you mean
Added a bunch of optimisations.

Re: [Script] Semi Master Race!

Posted: Wed Oct 02, 2013 6:54 pm
by VladVP
VladVP wrote:
for the upcoming ToW event