Conversion of a sub
Posted: Mon Jun 14, 2004 12:47 pm
I have tried several variations of this sub to get it converted 100% and am having no luck..
After searching for some time the best possible one I found was
The problem is if there is any other word in the sentence then it ignores the tell since it is not equal.. I can't seem to find the way to get it to ignore the rest and just look for the word assist in a sentence.
Code: Select all
Sub Event_Chat(ChatType,Sender,ChatText)
/if "@ChatText"~~"assist" {
/target @Sender
/assist
}Code: Select all
Sub Event_Chat(string ChatType,string Sender,string ChatText)
/if (${ChatText}.Equal[assist]}) {
/target ${Sender}
/delay 1s
/assist
/delay 1s
}