Page 1 of 1

Quick Chat Module

Posted: March 27th, 2010, 1:06 pm
by Leo_V117
Heres another of my scripts. As usual, Add it to your "autoexec.cfg" file.

Code: Select all

bind K "cleargui; showgui chat"

newgui chat [
	guitext	"Here are some important messages"
	guitext	"That can be sent without the need to type them"
		guibar
	guibutton	"Statements"		"showgui statements"
	guibutton	"Requests"			"showgui requests"
	guibutton	"Commands"			"showgui commands"
	guibutton	"Talk"			"showgui talk"
	guibutton	"Global"			"showgui global"
		guibar
	guibutton	"About"			"showgui about"
	guibutton	"Exit"			"cleargui"
]

newgui about [
	guitext	"About"
		guibar
	guitext	"Created by Leo_V117"
	guitext	"www.jaztur117-projects.webs.com"
		guibar
	guitext	"Platinum Arts Sandbox"
	guitext	"www.sandboxgamemaker.com"
		guibar
	guibutton	"Back"		"cleargui; showgui chat"
]

newgui statements [
	guitext	"Heres a list of Statements"
		guibar
	guibutton	"Attacking"		"say I'm Attacking!"
	guibutton	"Defending"		"say I'm Defending!"
	guibutton	"Path Cleared"		"say Path Clear! Move On!"
		guibar
	guibutton	"Enemy Critical"	"say Enemy Critical! Move in For Attack"
	guibutton	"Base..."			"showgui bases"
		guibar
	guibutton	"Back"		"cleargui; showgui chat"
]

newgui bases [
	guitext	"Bases"
		guibar
	guibutton	"Base Lost"		"say We Lost a Base!"
	guibutton	"Base Captured"		"say We Captured a Base!"
	guibutton	"Enemy Base Lost"	"say Enemy Lost a Base!"
	guibutton	"Enemy Captured"	"say Enemy Captured a Base!"
		guibar
	guibutton	"Back"		"cleargui; showgui statements"
]

newgui requests [
	guitext	"Heres a list of Requests"
		guibar
	guibutton	"Help"			"say I'm Under Fire, Help Me!"
	guibutton	"Cover Me"			"say Cover Me! I'm Going In!"
		guibar
	guibutton	"Water Wars"		"showgui waterwars"
		guibar
	guibutton	"Back"		"cleargui; showgui chat"
]

newgui waterwars [
	guitext	"Requests set for Water Wars"
		guibar
	guibutton	"Water"			"say I Need Water! I'm Running Low"
	guibutton	"Water Bombs"		"say I Need More Water Bombs!"
	guibutton	"Clothes"			"say My Clothes Are Drenched! I Need Dry Clothes!"
		guibar
	guibutton	"Back"		"cleargui; showgui requests"
]

newgui commands [
	guitext	"Heres a list of Commands"
		guibar
	guibutton	"Follow Me!"		"say Follow Me!"
	guibutton	"Lets Go!"			"say Let's Go!"
	guibutton	"Move!"			"say Move!"
	guibutton	"Clear Path"		"say Clear the Path!"
	guibutton	"Hold!"			"say Hold Your Position!"
		guibar
	guibutton	"Attack Bases"		"say Attack Enemy Bases!"
	guibutton	"Defend Bases"		"say Defend These Bases!"
		guibar
	guibutton	"Back"		"cleargui; showgui chat"
]

newgui talk [
	guitext	"Heres a List of Talk Options"
		guibar
	guibutton	"Yes!"			"say Yes!"
	guibutton	"No!"				"say No!"
		guibar
	guibutton	"Thanks"			"say Thank You!"
	guibutton	"No Problem"		"say No Problem!"
	guibutton	"Oops"			"say Oops!"
	guibutton	"Sorry"			"say Sorry!"
		guibar
	guibutton	"Back"		"cleargui; showgui chat"
]

newgui global [
	guitext	"Heres a List of Global Options"
		guibar
	guibutton	"Hi!"				"say Hi!"
	guibutton	"Bye"				"say Bye!"
	guibutton	"Nice Shot!"		"say Nice Shot!"
	guibutton	"Good Game!"		"say Good Game!"
		guibar
	guibutton	"Back"		"cleargui; showgui chat"
]

Re: Quick Chat Module

Posted: March 27th, 2010, 1:55 pm
by GR1M
Very nice but may have to wait awhile to use because water wars hasn't been released yet.

Re: Quick Chat Module

Posted: March 27th, 2010, 2:05 pm
by Leo_V117
oh well. As for binding a message to a key.

Code: Select all

bind 1 "say Testing... 1, 2, 3..."
]
add that to the bottom of "autoexec.cfg"

Re: Quick Chat Module

Posted: March 27th, 2010, 11:01 pm
by Hirato
GR1M wrote:Very nice but may have to wait awhile to use because water wars hasn't been released yet.
to be fair, it hasn't even been started yet :P

Re: Quick Chat Module

Posted: March 28th, 2010, 5:46 am
by Leo_V117
Well. Either Way. Its good to have something isnt it?

Re: Quick Chat Module

Posted: March 28th, 2010, 4:45 pm
by arcones
Sure!... I guess... :P

Re: Quick Chat Module

Posted: March 28th, 2010, 5:43 pm
by Leo_V117
Thank you arcones.

Re: Quick Chat Module

Posted: March 28th, 2010, 5:45 pm
by arcones
NP! :)

Re: Quick Chat Module

Posted: March 28th, 2010, 5:51 pm
by Leo_V117
heh. Now back on topic. Whats next in the array of constant interuptions? :lol: