The Dink Network

Reply to Re: Stupid boots.

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:
 
 
April 18th 2010, 07:15 AM
dinkdead.gif
Use compare_weapon instead of count_item.
"count_item counts the number of items with the script "script" in the weapon/item inventory."
"compare_weapon returns '1' if the currently armed weapon is "script"."


&boo  = compare_weapon("boots-s1");
if (&boo == 1)

That's the same as
if (&cur_weapon == "boots-s1")

Which won't work