Page 1 of 1

More CVS Requests ...

Posted: Sat Sep 06, 2003 6:25 pm
by MacroFiend
More Item ID updates for MacroParser.cpp ...

To add $equip(id) ...

Code: Select all

[color=red]
		// $equip(name)
		} else if (!strncmp("name)",szVar+Offset,5)) {
			i+=Offset+4;
			strcat(szOutput,pItem->Item->Name);

[/color]		// $equip(id)
		} else if (!strncmp("id)",szVar+Offset,3)) {
			i+=Offset+2;
			CHAR szTemp[MAX_STRING] = {0};
			itoa(pItem->Item->ItemNumber,szTemp,10);
			strcat(szOutput,szTemp);

[color=red]		// $equip(value)
[/color]

To add $pack(#,id) ...

Code: Select all

[color=red]
				// $pack(#,name)
				} else if (!strncmp(szTemp,"name)",5)) {
					strcat(szOutput,pItem->Item->Name);

[/color]				// $pack(#,id)
				} else if (!strncmp(szTemp,"id)",3)) {
					CHAR szTemp[MAX_STRING] = {0};
					itoa(pItem->Item->ItemNumber,szTemp,10);
					strcat(szOutput,szTemp);

[color=red]				// $pack(#,combine)
[/color]
These are ready for CVS when someone has time.

Posted: Sat Sep 06, 2003 7:48 pm
by Valerian
coming soon to CVS

Re: More CVS Requests ...

Posted: Sat Jan 24, 2026 6:57 am
by xyilla

Re: More CVS Requests ...

Posted: Sat Jan 24, 2026 6:58 am
by xyilla

Re: More CVS Requests ...

Posted: Sat Jan 24, 2026 6:59 am
by xyilla

Re: More CVS Requests ...

Posted: Sat Jan 24, 2026 7:02 am
by xyilla

Re: More CVS Requests ...

Posted: Sat Jan 24, 2026 7:03 am
by xyilla

Re: More CVS Requests ...

Posted: Sat Jan 24, 2026 7:04 am
by xyilla

Re: More CVS Requests ...

Posted: Sat Jan 24, 2026 7:05 am
by xyilla

Re: More CVS Requests ...

Posted: Sat Jan 24, 2026 7:06 am
by xyilla