[SCRIPT]LineSPQR

Intended for use on live public servers.
6 posts Page 1 of 1 First unread post
Bori
League Participant
League Participant
Posts: 28
Joined: Sun Nov 11, 2012 2:41 pm


Hey Guys,

so yeah this is me Bori and this is my first script. Before I tell you more I want to say thank you to so many people.

Thanks thepolm3, Kuma, Morphman, leWizard and topo who helped me with the beginning of scripting

So now jump to my script
Code: Select all
'''
LineSpqr Script by Bori
'''

YOU_ARE_A_LINESSPQR_MASTER = "You are a LineSPQR master"

def apply_script(protocol, connection, config):
	class linesConnection(connection):
		def on_spawn(self, pos):
			if "|SPQR|" in self.name:
				self.send_chat(YOU_ARE_A_LINESSPQR_MASTER)
			return connection.on_spawn(self, pos)
	return protocol, linesConnection
It just send you a glory message from Heaven, when you are in LineSPQR. Maybe I'll add a method to set it by your own.
That's it for today people and stay tuned for more.
see ya
Bori
Attachments
lines.py
(366 Bytes) Downloaded 236 times
Jdrew
Mapper
Mapper
Posts: 4808
Joined: Tue Oct 30, 2012 10:48 pm


neat, I might add this to the AK server for AK members
Willy
Global Moderator
Global Moderator
Posts: 460
Joined: Mon Jun 17, 2013 7:42 am


Nice job Bori :)
IceCream
Hoster
Hoster
Posts: 322
Joined: Thu Nov 01, 2012 12:18 pm


nice and replace linespqr with sw and everything is fine ;))))))
Dr.Morphman
Scripter
Scripter
Posts: 73
Joined: Sun Feb 24, 2013 9:55 am


nice, took you only help from 5 people to create a script that is roughly 10 lines long
EldredChandler
Build and Shoot's 1st Birthday
Build and Shoot's 1st Birthday
Posts: 730
Joined: Mon Nov 05, 2012 5:09 pm


Bori wrote:
Code: Select all
self.send_chat(YOU_ARE_A_LINESSPQR_MASTER
Shouldn't it be LINESPQR_MASTER?
6 posts Page 1 of 1 First unread post
Return to “Completed Releases”

Who is online

Users browsing this forum: No registered users and 4 guests