Blockland Forums > Suggestions & Requests

ifItemInHand Event

Pages: (1/1)

tyler0:

Ok i know people still have this event because i've seen it in a server... but i need it or a event that does close to this operation... THANKS

Audax:

VCE - Variable Conditional Events. There is a variable that checks what item you are weilding and in another output box you put what the weapon has to be. I forget the actual variable, hold on.

tyler0:


--- Quote from: Audax on June 19, 2010, 07:06:01 PM ---VCE - Variable Conditional Events. There is a variable that checks what item you are weilding and in another output box you put what the weapon has to be. I forget the actual variable, hold on.

--- End quote ---

Thank you so much!

EDIT: What is it?

Reinforcements:

use the variable replacer "<var:pl:currentitem>

Welknair:


--- Quote from: Reinforcements on June 20, 2010, 10:43:54 AM ---use the variable replacer "<var:pl:currentitem>

--- End quote ---
OnPlayerTouch>IfVariable <var:pl:currentitem>==sword [2 3]
OnVariableTrue>Player>ClearTools
OnVariableTrue>Client>BottomPrint "We'll have to be taking your offending equipment before you enter the keep"

Pages: (1/1)

Go to full version