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 ➜ Clickable Command (Not a min-window)

Clickable Command (Not a min-window)

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


Posted by Strazor   USA  (24 posts)  Bio
Date Mon 13 Oct 2014 03:52 PM (UTC)
Message
I am looking for a way to make a command clickable. This is not for a win-window but for the main output.

I have a table that generates EQ Id's. I would like to make the ID clickable so it will put the item into a designated bag. Output is:


+-----------------------------------------------------------------+
|  [1] LVL 41 34563454 wrist Golden Bracers of Balboa  EQ DOUBLE
|  STATS: 0 STR: 0 DEX: 0 CON: 0 LUCK: 0 WIS: 0 INT: 0
|  HR   : 0 DR : 4
+-----------------------------------------------------------------+

+-----------------------------------------------------------------+
|  [2] LVL 41 96343234 legs Leg Ends of Gaardwolf  (A Parody)  EQ SINGLE
|  STATS: 0 STR: 0 DEX: 0 CON: 0 LUCK: 0 WIS: 0 INT: 0
|  HR   : 0 DR : 5
+-----------------------------------------------------------------+


Another option would be to use "eqput 1" and this would put the 1st item into a bag. "eqput 2" would do the same for the second item and so on.

Any thoughts?
Top

Posted by Fiendish   USA  (2,555 posts)  Bio   Global Moderator
Date Reply #1 on Mon 13 Oct 2014 04:20 PM (UTC)
Message
http://www.gammon.com.au/scripts/doc.php?function=Hyperlink

https://github.com/fiendish/aardwolfclientpackage
Top

Posted by Strazor   USA  (24 posts)  Bio
Date Reply #2 on Mon 13 Oct 2014 04:52 PM (UTC)

Amended on Mon 13 Oct 2014 04:56 PM (UTC) by Strazor

Message
Thanks Fiendish. Here is the issue I'm having.

When I print the data from the table I'm using:

Hyperlink ("say this worked", item.objectid, "Put Item in Bag", "blue", "green", 0)


When the script is run the "item.objectid" prints correctly; however, the link is not active when I hover over it with the mouse.

Any thoughts?
Top

Posted by Fiendish   USA  (2,555 posts)  Bio   Global Moderator
Date Reply #3 on Mon 13 Oct 2014 07:32 PM (UTC)

Amended on Mon 13 Oct 2014 07:33 PM (UTC) by Fiendish

Message
Is this in a trigger that omits from output?

https://github.com/fiendish/aardwolfclientpackage
Top

Posted by Strazor   USA  (24 posts)  Bio
Date Reply #4 on Mon 13 Oct 2014 07:35 PM (UTC)
Message
It sure was. That fixed the issue.

Thanks Fiendish.
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.


19,353 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.