/
com/planet_ink/coffee_mud/Abilities/Common/
com/planet_ink/coffee_mud/Abilities/Diseases/
com/planet_ink/coffee_mud/Abilities/Druid/
com/planet_ink/coffee_mud/Abilities/Fighter/
com/planet_ink/coffee_mud/Abilities/Languages/
com/planet_ink/coffee_mud/Abilities/Misc/
com/planet_ink/coffee_mud/Abilities/Prayers/
com/planet_ink/coffee_mud/Abilities/Properties/
com/planet_ink/coffee_mud/Abilities/Skills/
com/planet_ink/coffee_mud/Abilities/Songs/
com/planet_ink/coffee_mud/Abilities/Specializations/
com/planet_ink/coffee_mud/Abilities/Spells/
com/planet_ink/coffee_mud/Abilities/Thief/
com/planet_ink/coffee_mud/Abilities/Traps/
com/planet_ink/coffee_mud/Behaviors/
com/planet_ink/coffee_mud/CharClasses/
com/planet_ink/coffee_mud/CharClasses/interfaces/
com/planet_ink/coffee_mud/Commands/
com/planet_ink/coffee_mud/Commands/interfaces/
com/planet_ink/coffee_mud/Common/
com/planet_ink/coffee_mud/Common/interfaces/
com/planet_ink/coffee_mud/Exits/interfaces/
com/planet_ink/coffee_mud/Items/Armor/
com/planet_ink/coffee_mud/Items/Basic/
com/planet_ink/coffee_mud/Items/BasicTech/
com/planet_ink/coffee_mud/Items/CompTech/
com/planet_ink/coffee_mud/Items/MiscMagic/
com/planet_ink/coffee_mud/Items/Weapons/
com/planet_ink/coffee_mud/Items/interfaces/
com/planet_ink/coffee_mud/Libraries/
com/planet_ink/coffee_mud/Libraries/interfaces/
com/planet_ink/coffee_mud/Locales/
com/planet_ink/coffee_mud/MOBS/
com/planet_ink/coffee_mud/Races/
com/planet_ink/coffee_mud/Races/interfaces/
com/planet_ink/coffee_mud/WebMacros/
com/planet_ink/coffee_mud/WebMacros/interfaces/
com/planet_ink/coffee_mud/core/
com/planet_ink/coffee_mud/core/collections/
com/planet_ink/coffee_mud/core/interfaces/
com/planet_ink/coffee_mud/core/intermud/
com/planet_ink/coffee_mud/core/intermud/i3/
com/planet_ink/coffee_web/server/
com/planet_ink/siplet/applet/
lib/
resources/factions/
resources/fakedb/
resources/progs/autoplayer/
resources/quests/holidays/
web/
web/admin.templates/
web/admin/grinder/
web/admin/images/
web/clan.templates/
web/pub.templates/
web/pub/images/mxp/
web/pub/sounds/
web/pub/textedit/
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
@if?!Authenticate@ @AddFile?/grinder/failedlogin.cmvp@ @else@
@if?!CheckAuthCode?AUTH_CMDQUESTS=true@ @AddFile?/grinder/nopriv.cmvp@ @else@
<html>
<head>
 	<link rel="grinder icon" href="/images/grinder.ico" >
	<title>Quest Manager</title>
	<script language=JavaScript>
	<!--
		function openUp(named)
		{
			var strFeatures="top=200,left=50,scrollbars=yes,resizeable=no,height=400,width=650,alwaysRaised=yes,dependent=yes";
			var w2=window.open("/ahelp.cmvp?HELPTOPIC="+named,"Help",strFeatures,false);
		}
		function GoForIt()
		{
			@if?!CheckReqParm?QUEST=@
				if(confirm('Modify this quest script?'))
				{
					document.QUEST.FUNCTION.value='MODIFY';
					document.QUEST.submit();
				}
			@else@
				if(confirm('Create this quest?'))
				{
					document.QUEST.FUNCTION.value='CREATE';
					document.QUEST.submit();
				}
			@endif@
		}
	//-->
	</script>
</head>
<body BGCOLOR=BLACK>
<FORM  ACCEPT-CHARSET="UTF-8" NAME=QUEST TARGET=_top METHOD=POST ACTION="quest.cmvp">
<INPUT TYPE=HIDDEN NAME=AUTH VALUE="@Authenticate?AUTH@">
<INPUT TYPE=HIDDEN NAME=QUEST VALUE="@RequestParameter?QUEST@">
<INPUT TYPE=HIDDEN NAME=FUNCTION VALUE="">
@if?!CheckReqParm?RAWTEXT=@
	@if?CheckReqParm?FUNCTION=CREATE@
		<FONT COLOR=RED><B>@QuestMgr?CREATE@</B></FONT>
	@else@
		@if?CheckReqParm?FUNCTION=MODIFY@
			<FONT COLOR=RED><B>@QuestMgr?MODIFY&REDIRECT@</B></FONT>
		@endif@
	@endif@
@endif@
<P ALIGN=RIGHT><A href="javascript:openUp('QUESTS');"><FONT COLOR=PINK><I>help</I></FONT></A></P>
<BR>
@if?!CheckReqParm?QUEST=@<TEXTAREA ROWS=25 COLS=85 NAME=RAWTEXT>@QuestData?RAWTEXT&REDIRECT@</TEXTAREA>
@else@
<TEXTAREA ROWS=25 COLS=85 NAME=RAWTEXT>
set name MyQuest
#   Set the quest name

	set duration 450
#   The duration of the quest is 30 minutes (450 ticks).  
#   The scripts on the mobs will do the rest...

#    Some Sample Commands below: Use help for more!
#
#set wait 200
#set interval 25
#   For auto-quests: wait about 15 mins between quests
#set area Midgaard
#   inform the quest that it occurs in Midgaard
#set mobtype ShopKeeper
#   load up any mob from the above area of type shopkeeper. 
#   This command will set a room!
#give script LOAD=quests/robbed/shopkeeper.script
#   load the above behavior into the last mob 
#   (in this case, the shopkeeper)
#set locale CityStreet 
#   find any locale in Midgaard of type CityStreet
#set mob "the thief"
#   load up any mob from area with that name.  
#   Since a room was set above,  this will move the mob into 
#   the room (locale CityStreet)
#give script "LOAD=quests/robbed/thief.script"
#   load the above behavior into the last mob 
#   (in this case, the thief)
</TEXTAREA>
@endif@
<BR>
<TABLE WIDTH=100% BORDER=0>
<TR><TD ALIGN=CENTER WIDTH=50%>
	<INPUT TYPE=BUTTON NAME=Submit VALUE="Submit" ONCLICK="GoForIt();">
</TD>
<TD WIDTH=50% ALIGN=CENTER>
	<INPUT TYPE=BUTTON NAME=Close VALUE="Close" ONCLICK="window.close();">
</TD>
</TR>
</TABLE>
</FORM>
<SCRIPT>
<!--
	function sizing()
	{
		document.QUEST.RAWTEXT.style.width=document.body.clientWidth-47;
		document.QUEST.RAWTEXT.style.height=document.body.clientHeight-195;
	}
	window.onresize = sizing;
-->
</SCRIPT>
</BODY>
</HTML>
@endif@
@endif@