Poll

How do I make a chat message choice using events?

I don't care.
I'll post!

Author Topic: Chat message events  (Read 426 times)

I've been on a few servers recently and noticed that when talking to NPC's that they would ask me if, for example. <Would you like to learn woodcutting? it will cost 25 gold.> Then it would have a little yes link next to it and if you had 25 gold and clicked on the yes link, then you wood learn woodcutting.

P.S. I want to learn how to do the link thing not the learn woodcutting thing.

Var links.

Input>Client>ChatMessage>[Yes or No?]
Input>Client>ChatMessage>[<varlink:Yes_yes:1>]
Input>Client>ChatMessage>[<varlink:No_no:1>]
OnVariableUpdate>Client>IfVariable>[=][1][]
OnVariableTrue>Output
OnVariableFalse>Output

It's easier to understand how it works if you look in the VCE guide thing.