Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ General ➜ targeting system

targeting system

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by SuprAzn   (5 posts)  Bio
Date Thu 10 Jun 2004 04:09 AM (UTC)
Message
i can't figure out how to get my targeting system to do multiple commands, ie, i can get it to "chill <target>" but i can't get it do "stare <target> bleed"
here is my chill alias.
<aliases>
<alias
match="cc"
enabled="y"
group="Attacks"
send_to="12"
sequence="100"
>
<send>world.Send &quot;chill &quot; + world.GetVariable(&quot;Target&quot;)</send>
</alias>
</aliases>


then here is my jacked up stare alias.
<aliases>
<alias
match="sb"
enabled="y"
group="Attacks"
send_to="12"
sequence="100"
>
<send>world.Send &quot;stare &quot; + world.GetVariable(&quot;Target&quot;) + world.Send &quot; bleed&quot;</send>
</alias>
</aliases>

here is the error

Expected end of statement
Line in error:
world.Send "stare " + world.GetVariable("Target") + world.Send " bleed"

called by immediate execution.

lil help please
Top

Posted by SuprAzn   (5 posts)  Bio
Date Reply #1 on Thu 10 Jun 2004 04:12 AM (UTC)
Message
figured it out...duhh..i just had to drop my second world.send...

yeah..im dumb..
Top

Posted by Flannel   USA  (1,230 posts)  Bio
Date Reply #2 on Thu 10 Jun 2004 04:22 AM (UTC)
Message
You can also inside of triggers/aliases, sent to world, and then...
chill @target
or,
stare @target bleed

then click "expand variables"

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


9,939 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.