littlereddot11
Member
I have a command in my script to get fortune buffs
	
	
	
		
but sometimes I have already manually obtained the buff, as such I get the below error.
	
	
	
		
Is it possible to put a line in the code to override these errors?
I'm familiar with Excel vba coding, and in such cases I usually use the below code. Is there a similar code I can use for kolmafia?
	
	
	
		
				
			
		Code:
	
	fortune buff item a a a
	but sometimes I have already manually obtained the buff, as such I get the below error.
		Code:
	
	You already received a buff from the clan fortune teller.
	Is it possible to put a line in the code to override these errors?
I'm familiar with Excel vba coding, and in such cases I usually use the below code. Is there a similar code I can use for kolmafia?
		Code:
	
	On Error Resume Next