The Dink Network

Reply to Re: item_check

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
January 17th 2007, 03:59 PM
peasantmb.gif
Lunacre
Peasant He/Him Finland
 
Or if you want to check that if Dink has a specific item equiped, a sword for example, you can try this:

void main(void)

{
int &sword = compare_weapon("item-sw");
if (&sword == 1)
{
say_stop("I'm holding a sword in my hand!", 1);
return;
}

say_stop("I don't have my sword equiped.", 1);
}