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...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...