Request Command for CrystalM2 scripting

smoochy boys on tour

Mollieshane

Banned
Banned
Nov 6, 2018
82
0
18
Script/Command help for CrystalM2

Hello all, Can anyone please let me know to how this works on these crystalm2 files I'm not sure if its the command or I'm doing it wrong, i am trying to make it so if you already have the item it will say you already have it. and if you are missing one item from the list it will replace that missing item

thanks in advance

[@Test]
#IF
Checkitem (HP)DrugMedium 1
Checkitem (MP)DrugMedium 1
Checkitem SunPotion 1
#Say
You Already Have This Item
#ELSEACT
Giveitem (HP)DrugMedium 1
Giveitem (MP)DrugMedium 1
Giveitem SunPotion 1
 
Last edited:

Far

tsniffer
Staff member
Developer
May 19, 2003
20,172
30
2,767
540
Re: Script/Command help for CrystalM2

Split it up in to 3 checks
 
  • Like
Reactions: Breezer
Upvote 0

Mollieshane

Banned
Banned
Nov 6, 2018
82
0
18
Could you give me a example of this thank you

---------- Post Merged at 03:13 PM ---------- Previous Post was at 09:23 AM ----------

Bump?
 
Upvote 0

Far

tsniffer
Staff member
Developer
May 19, 2003
20,172
30
2,767
540
Code:
[@Test]
#IF
Checkitem (HP)DrugMedium 1
#ELSEACT
Giveitem (HP)DrugMedium 1

#IF
Checkitem (MP)DrugMedium 1
#ELSEACT
Giveitem (HP)DrugMedium 1

#IF
Checkitem SunPotion 1
#ELSEACT
Giveitem SunPotion 1

something like that
 
Upvote 0