Hey everyone! I need a little help for the start of my script.
- so when you type a commando ('/hstart' in this case) then
a window appears > the startwindow.
Here a screenshot of it:
Now the thing is: If people click on 'site' or forum' link, then
I don't want internet to open on that URL like this code does:
code:
<Control xsi:type="LinkControl" Id="LnkData">
<Position Top="77" Left="154" Width="55"/>
<Caption>Site</Caption>
</Control>
But i want this in case: When they click on that link, a message wil be send:
(When clicking on the link, then sending '!site'
code:
if(Message == "!site")
{
ChatWnd.SendMessage("For more info, go to the site.");
}
What do I have to change in the scripteditor, or in my Wndstart.xml ?