Hi! I've been trying to make an alias to send "trigger Loser todo hunt loser" I tried to write a script which turned out something like this:
Sub OnHunt (strTriggerName, strLine, arrWildCards)
person1= arrWildcards (1)
person1= ucase (person)
person = arrWildcards (1) '
person = lcase (person) '
World.Send "trigger person1 todo hunt " + person
End Sub
Alias: pkhunt *
Expand variables checked
Label: PK_hunt
Script: OnHunt
However if I typed pkhunt loser, the mud registers it as trigger person1 todo hunt loser
Do you know what the problem is here?
Sub OnHunt (strTriggerName, strLine, arrWildCards)
person1= arrWildcards (1)
person1= ucase (person)
person = arrWildcards (1) '
person = lcase (person) '
World.Send "trigger person1 todo hunt " + person
End Sub
Alias: pkhunt *
Expand variables checked
Label: PK_hunt
Script: OnHunt
However if I typed pkhunt loser, the mud registers it as trigger person1 todo hunt loser
Do you know what the problem is here?