Author Topic: VCE Links  (Read 1016 times)

Anyone know how to make links with VCE? I forgot how.

I think it's

Code: [Select]
onActivate -> Client -> ChatMessage
Then in the output parameter

Code: [Select]
<a:www.websitehere.com>text here</a>

Actually ignore that I didn't read the topic properly

An example from one of my events.

As normal you just use
Code: [Select]
onActivate -> Client -> ChatMessage
Then in the output parameter

Code: [Select]
<varlink:*-*_BankCache:100>

So Effectively it's
<varlink:WhatYouWantToDisplay_VariableToEdit:WhatToSetTheVariableTo>

Then you just do an OnVariableUpdate>Self>VCEifValue [<var:cl:VariableToEdit>] [!=]
  • [EventsToTrigger]
    OnVariableTrue>DoStuff


    If that makes sense....


An example from one of my events.

As normal you just use
Code: [Select]
onActivate -> Client -> ChatMessage
Then in the output parameter

Code: [Select]
<varlink:*-*_BankCache:100>

So Effectively it's
<varlink:[color=red]WhatYouWantToDisplay[/color]_[color=red]VariableToEdit[/color]:[color=red]WhatToSetTheVariableTo[/color]>

Then you just do an OnVariableUpdate>Self>VCEifValue [<var:cl:[color=red]VariableToEdit[/color]>] [!=] [0] [[color=red]EventsToTrigger[/color]]
OnVariableTrue>DoStuff


If that makes sense....


Damn BBcode. Fixt.



I did the following and it did not work.

I did the following and it did not work.
You're not modifying 'Carrot'.. The IfVariable check should also be checking Sell5Carrots. It should be checking for 1.

<varlink:WhatYouWantToDisplay_VariableToEdit:WhatToSetTheVariableTo>

<varlink:5_Sell5Carrots:1>
Display: 5
Client Var: Sell5Carrots
Set To: 1

You're not modifying 'Carrot'.. The IfVariable check should also be checking Sell5Carrots. It should be checking for 1.

<varlink:5_Sell5Carrots:1>
Display: 5
Client Var: Sell5Carrots
Set To: 1
So would that make it so you click the link and it checks if you have 5 carrots and if so takes the carrots and gives you three gold?

Never mind I fixed it.
*Topic Locked*