All pastes #991626 Raw Edit

test

public c v1 · immutable
#991626 ·published 2008-04-21 05:28 UTC
rendered paste body
// Wedding Rings ExchangeL_Step_8:	if (strcharinfo(0) != $@WS_Groom_Name$ || strcharinfo(0) != $@WS_Bride_Name$)	{		mes @npc$;		mes " ";		mes "May I speak with the Groom "+ $@WS_Groom_Name$ +" or the Bride "+ $@WS_Bride_Name$ +" please?";		close;	}	else	{		if (@groom_ring && @bride_ring)		{			set $@WS_State,9;			goto L_Step_9;		}		else		{			if (strcharinfo(0) == $@WS_Groom_Name$)			{				if (!isequiped(18007)) <--- error happens here				{					mes @npc$;					mes " ";					mes "You are not wearing the "+ getitemname(18007) +". Please trade the wedding ring with your partner and wear it and then come speak with me.";					close;				}				else				{					set @groom_ring,1;					set @wedding_finale,0;					mes @npc$;					mes " ";					mes "Okay excellent, you have successfully traded the wedding rings and properly wearing them.";					next;					mes @npc$;					mes " ";					mes "Now, ask your partner to do the same and when you have both completed the wedding ring trade, either of you should speak to me.";					close;				}			}