Page 1 of 1

Capture line and print in geyser container

Posted: Wed Sep 02, 2015 9:30 am
by keevitaja
Hello!

I am trying to write my first package. It creates new geyser container and i would like to capture all "says" and print them in this new container i created. How do i do this?

This is what i have come up so far:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE MudletPackage>
<MudletPackage version="1.0">
	<ScriptPackage>
		<Script isActive="yes">
			<script>
				setBorderTop(100)

				chat_log = Geyser.Container:new({
					name = "chat_log",
					x=0, y=0,
					width = "100%", height=100,
				})
			</script>
		</Script>
	</ScriptPackage>
</MudletPackage>
Also can i create a bottom border for this container?

And how to i reload package when i update it?