[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  General
. . -> [Subject]  script queston

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

script queston

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page


Posted by Zendu   (66 posts)  [Biography] bio
Date Fri 20 Feb 2004 09:25 PM (UTC)  quote  ]
Message
Im looking for a way to do the following

moonkick TARGET left
world.Send "mnk " + world.GetVariable("Target") + world.send "left "



doesnt seem to work...

God im helpless
Currently using MushClient 3.46 on Win Xp pro on [url=www.aetolia.com]Aetolia[/url]
[Go to top] top

Posted by Nick Gammon   Australia  (18,800 posts)  [Biography] bio   Forum Administrator
Date Reply #1 on Fri 20 Feb 2004 09:38 PM (UTC)  quote  ]
Message
Do this:


world.Send "mnk " & world.GetVariable("Target") & " left "


However, more simply, do this:


Send: mnk @target left
Send to: world
Expand variables: checked



- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Zendu   (66 posts)  [Biography] bio
Date Reply #2 on Sun 22 Feb 2004 09:38 AM (UTC)  quote  ]
Message
All the items in the game have numberic id's so could i save vial12345 as health and then

get @health from pack


God im helpless
Currently using MushClient 3.46 on Win Xp pro on [url=www.aetolia.com]Aetolia[/url]
[Go to top] top

Posted by Nick Gammon   Australia  (18,800 posts)  [Biography] bio   Forum Administrator
Date Reply #3 on Sun 22 Feb 2004 11:58 PM (UTC)  quote  ]
Message
Yes. Why don't you try it rather than asking here? No harm can come.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] 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.


1,537 views.

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]