Conditions for labels: Its possible to add a condition to pass to a Label? like, a condition of groupid 1 for OnPCDieEvent to trigger in the player. (I know i can do it inside the label, but i cant make it work otherwise).
Condition inside a menu: IDK how o do it, tried this(i apologize if its stupid xD, i am very new in scripting) :
switch(select("+((countitem(34996) >= 1)"wow you have item 34996")+":"some text")) { }
its supposed to print case 1 only if the player has the item, otherwise it should only print case 2.
Question
Erebos
Two questions about conditions:
Conditions for labels: Its possible to add a condition to pass to a Label? like, a condition of groupid 1 for OnPCDieEvent to trigger in the player. (I know i can do it inside the label, but i cant make it work otherwise).
Condition inside a menu: IDK how o do it, tried this(i apologize if its stupid xD, i am very new in scripting) :
switch(select("+((countitem(34996) >= 1)"wow you have item 34996")+":"some text")) { }
its supposed to print case 1 only if the player has the item, otherwise it should only print case 2.
Edited by BrizyousLink to comment
Share on other sites
9 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.