TinTin++ Mud Client Scripts  
space
space
The following script allows you to cast spells, selected from a list to be cast on someone, unless that person is on the block list.

This script is written for v2.01.97 and higher

space
#VARIABLE {spellblock}
{
	{Someone} {1}
}

#VARIABLE {spells}
{
	{bless} {cast bless}
	{gs} {cast 'giant strength'}
	{heal} {cast heal}
	{help} {say I respond to sanc, bless, gs, and heal.}
	{sanc} {cast sanctuary}
}

#ACTION {%w says '%w'}
{
	#if {$spellblock[%1]}
	{
		#return
	};
	#if {&spells[%2]}
	{
		#send {$spells[%2] %1}
	}
}
{9}