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 ➜ Help with aliases

Help with aliases

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


Pages: 1  2 

Posted by Brett McLennan   (9 posts)  Bio
Date Reply #15 on Fri 15 Nov 2002 01:09 AM (UTC)
Message
ok this is messed, the variables section is blank...when i type that alias it runs this script

when i type target it does the alias
target *
which fires this script

sub OnAliasTarget (thename, theoutput, thewildcards)
world.setvariable "target", thewildcards (1)
world.note "white", "red", "Victim set to " & thewildcards (1)
end sub

(I tried it without the colors too)

it sends blank line to the mud, then when I type k it sends kill @target

this does not work....I have no idea why i can't get this to work, its driving me crazy, and i've re-done your exact steps multiple times....i have version 3.04 if that means anything...i know its something simple, but i'm going insane...
:)
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #16 on Fri 15 Nov 2002 06:11 AM (UTC)
Message
First, it is world.colournote if you are supplying colours.

Second, for the "k" alias do you have "expand variables" checked? If not, it will just send @target, not what target contains.

Check in the variables configuration window to see if the variable "target" has been correctly set up.

You might want to download a later version, we are up to 3.32, the earlier version might have a bug in that area.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Brett McLennan   (9 posts)  Bio
Date Reply #17 on Fri 15 Nov 2002 07:55 AM (UTC)
Message
well you were right, there was a bug with that version...i downloaded the new version and it solved the problem...thanks! it was driving me nuts....
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.


60,540 views.

This is page 2, subject is 2 pages long:  [Previous page]  1  2 

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.