Jump to content

Recommended Posts

Posted

I need help in this script.

 

How is the sentence "IF"

 

I make this

 

LABEL(ADENA)

 

NPCDLG(Helvetia[iD=7081])

DLGSEL(Buy Dye )

BUYITEM(Greater Dye of Wit <Wit+4 Men-5>[iD=4588],1;)

 

 

CharStatus(Weight,<,10)    -----> HERE, IF weight < 20, sell all dyes

{

 

NPCDLG(Helvetia[iD=7081])

DLGSEL(Sell )

SELLITEM(Greater Dye of Wit <Wit+4 Men-5>[iD=4588],10000)

 

NPCDLG(Helvetia[iD=7081])

DLGSEL(Sell )

SELLITEM(Greater Dye of Wit <Wit+4 Men-5>[iD=4588],)

 

}

 

NPCDLG(Helvetia[iD=7081])

DLGSEL(Buy Dye )

 

 

 

 

The problem is... how i make work the sentence

 

IF Weight < 20, run the text red... but... if weight > 20, no run and continue with blue text.

 

Is a simple bucle.

 

I'm sorry for my english.

Posted

I need help in this script.

 

How is the sentence "IF"

 

I make this

 

LABEL(ADENA)

 

NPCDLG(Helvetia[iD=7081])

DLGSEL(Buy Dye )

BUYITEM(Greater Dye of Wit <Wit+4 Men-5>[iD=4588],1;)

 

 

CharStatus(Weight,<,10)    -----> HERE, IF weight < 20, sell all dyes

{

 

NPCDLG(Helvetia[iD=7081])

DLGSEL(Sell )

SELLITEM(Greater Dye of Wit <Wit+4 Men-5>[iD=4588],10000)

 

NPCDLG(Helvetia[iD=7081])

DLGSEL(Sell )

SELLITEM(Greater Dye of Wit <Wit+4 Men-5>[iD=4588],)

 

}

 

NPCDLG(Helvetia[iD=7081])

DLGSEL(Buy Dye )

 

 

 

 

The problem is... how i make work the sentence

 

IF Weight < 20, run the text red... but... if weight > 20, no run and continue with blue text.

 

Is a simple bucle.

 

I'm sorry for my english.

Work In C4 off?

  • 4 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock