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 ➜ Suggestions ➜ Alias/Trigger enhancement (Add a Description)

Alias/Trigger enhancement (Add a Description)

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


Posted by Norton   (1 post)  Bio
Date Thu 18 Aug 2011 11:21 AM (UTC)
Message
Please add a Description Field to Alias', Triggers and any other places you feel it'd be useful.

Being able to iterate through Alias' and if in a group, display their description woild be easier if there was a description.

Sample Code:

local AliasList = GetAliasList()
local AliasGroup
local AliasDescription
local FoundAlias=false

if AliasList then
for AliasKey, AliasValue in ipairs (AliasList) do
AliasGroup = GetAliasInfo(AliasValue,16) -- get the group
if AliasGroup=="core_speedwalk" then

AliasDescription = GetAliasInfo(AliasValue,1) -- really i want a description field

Note(" "..AliasDescription)
end -- if core_speedwalk
end -- for
end -- if we have any aliases
Top

Posted by Fiendish   USA  (2,558 posts)  Bio   Global Moderator
Date Reply #1 on Thu 18 Aug 2011 04:24 PM (UTC)

Amended on Thu 18 Aug 2011 04:38 PM (UTC) by Fiendish

Message
You could use descriptive labels, though I guess it's kind of difficult to get really descriptive with the syntax restriction placed on labels.

https://github.com/fiendish/aardwolfclientpackage
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.


11,095 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.