Terms of Condicional
Posted: Fri Aug 17, 2012 6:24 pm
Hello Xuri.
If in a script I want to put a conditional that a target can not be any summon / invocation of my character, what exactly do I put?
if( !socket.GetWord( 1 ) && myTarget.isChar && myTarget.vulnerable && myTarget.serial != myPlayer.serial && myTarget.owner == myPlayer && ????? )
What if I want to also put if such a item must in the backpack of my character?
if( myTarget.id == 0x2121 && myTarget.colour == 0 && ????? )
I just need to know this...
If in a script I want to put a conditional that a target can not be any summon / invocation of my character, what exactly do I put?
if( !socket.GetWord( 1 ) && myTarget.isChar && myTarget.vulnerable && myTarget.serial != myPlayer.serial && myTarget.owner == myPlayer && ????? )
What if I want to also put if such a item must in the backpack of my character?
if( myTarget.id == 0x2121 && myTarget.colour == 0 && ????? )
I just need to know this...