cracklock "caption", 2, "rrlrllrlrrrlrl";
right,right,left,right,left....
Scripts
Scripting Questions
getstatevalue "Class", ID, "State" [,Value] to
getstored "Class", ID [, Type] too see what's it's
freestored "Class", ID, Type [,Count] to remove items
create "Class", Type [, X, Z] [, Amount] as
store ItemID, "Class", ID to move newly created
getstatevalue "Class", ID, "State" [,Value] to
getstored "Class", ID [, Type] too see what's it's
freestored "Class", ID, Type [,Count] to remove items
create "Class", Type [, X, Z] [, Amount] as
store ItemID, "Class", ID to move newly created 
create "Class", Type [, X, Z] [, Amount] as addstate $tmp2,$tmp3,1
getstatevalue "Class", ID, "State" [,Value] to
getstored "Class", ID [, Type] too see what's it's
freestored "Class", ID, Type [,Count] to remove items
create "Class", Type [, X, Z] [, Amount] as
store ItemID, "Class", ID to move newly created 
create "Class", Type [, X, Z] [, Amount] as
script=start
	on:impact {
		if (impact_first()==1){
			if (skillvalue("hunt")>=100){
				if (random(1,10)<=8){
					$tmp=create("item",135);
					setpos "item",$tmp,impact_x(),impact_y(),impact_z();
					setrot "item",$tmp,0,getyaw("unit",1),0;
				}
			}
			$tmp2=impact_class();
			$tmp3=impact_id();
			//+8 Bonus Damage + Bleeding on Flesh
			if (compare_material($tmp2,$tmp3,"flesh")==1){
				damage $tmp2,$tmp3,8;
				//Bleeding
				addstate $tmp2,$tmp3,"bleeding";
				statevalue $tmp2,$tmp3,"bleeding",9;
			}
			freevar $tmp2;
			freevar $tmp3;
		}
	}
script=end
currentid would do that job, but I'm not sure... currently trying to figure it out for myself.
currentid would do that job, but I'm not sure... currently trying to figure it out for myself.
$x=0;
if (playergotitem(111)>=1){ $x++; }
if (playergotitem(106)>=1){ $x++; }
if (playergotitem(49)>=1){ $x++; }
if (playergotitem(120)>=1){ $x++; }
if ($x==4){
	freestored "unit",1,106,1;
	freestored "unit",1,49,1;
	freestored "unit",1,120,1;
	freestored "unit",1,111,1;
	damage"object",93,9999999;
}else{
	dialogue "no","maps/my maps/the lake diary.s2s","c";
}