In article <21726f6e.0402211423.78033094.RemoveThis@posting.google.com>, Gorvin
<chaos799.RemoveThis@hotmail.com> wrote:
> cyberbeing <email.RemoveThis@domain.com> wrote in message
> news:<210220041937517306%email@domain.com>...
> > I wrote a macro to repeat polish sword of soul until it see your face.
> > But the macro only repeat polish and dont end. Please help.
> >
> > {
> > set @interruptkey "true"
> > label one
> > "/use /polish\r"
> > set wrd1 @env.textLog
> > if @env.textLog == "You can now see your face in your Sword of Souls."
> > goto two
> > else
> > goto one
> > end if
> > label two
> > message "? polish done"
> > }
>
> Well, for one thing, you need to add a pause somewhere in the macro,
> preferable right below "/use /polish\r". Also if you have time-stamps
> on, you'll need to change the == in your if statement to >=.
>
> So, it should look like this:
>
> {
> set @interruptkey "true"
> label one
> "/use /polish\r"
> pause 1
> set wrd1 @env.textLog
> if @env.textLog >= "You can now see your face in your Sword of Souls."
> goto two
> else
> goto one
> end if
> label two
> message "• polish done"
> }
>
> I haven't actually tested this, but it *should* work.
Thanks but cant work. And I discovered that when I polished the sword 2
lines came out:
2/22/04 12:42:15p You can now see your face in your Sword of Souls.
2/22/04 12:42:15p You polish your Sword of Souls.
I recalled wrd1 to show on sidebar that
@env.textLog only contains "You polish your Sword of Souls." but not
"You can now see your face in your Sword of Souls.".
What modification shall I make?
Thanks<!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: CL: help me write macro