world.addalias "", "test", "bow @target", eEnabled+eExpandVariables+eReplace, ""
What am I doing wrong, I am guessing its the + which is Lua, but I'm trying VB now....
What was the error message?
See
http://www.gammon.com.au/scripts/doc.php?function=AddAlias
The "+" is OK in vbscript, maybe you don't have those constants defined. You need to use an include file to get them. Otherwise, just use the numbers from the page above. ie.
Instead of:
eEnabled+eExpandVariables+eReplace
use:
(In other words, 1537).
Thanks Nick, that worked amazingly well. Next question is I have this for a trigger line.
Today is the 4th of Urlachmar, 247 years after the Coming of Estarra. The phase of the moon is that of the Full Moon.
now I need to run off the numder/date only and it changes to like 1st, 2nd, 3rd, etc. etc. And I can substitute the phase of moon and all that. What I need is that if it is less than 15 and a certain month it adds certain aliases and if its equal or above it and a certain months it adds a different set of aliases.
Volcano 15 Kiani - 14 Dioni
Antlers 15 Dioni - 14 Vestian
Twin Crystals 15 Vestian - 14 Avechary
Dolphin 15 Avechary - 14 Dvarsh
Lion 15 Dvarsh - 14 Tzarin
Crocodile 15 Tzarin - 14 Klangiary
Burning Censer 15 Klangiary - 14 Juliary
Spider 15 Juliary - 14 Shanthin
Dragon 15 Shanthin - 14 Roarkian
Skull 15 Roarkian - 14 Estar
Bumblebee 15 Estar - 14 Urlachmar
Glacier 15 Urlachmar - 14 Kiani
Those are the list of dates that I need to have and need to trigger ideas?