[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]  Lua
. . -> [Subject]  why can`t i run my Script

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?
(New message)
Subject: why can`t i run my Script
Name:
Your forum user name.
Register forum user name
Password:
Your forum password.
Forgotten password?
Message:
Message to be posted (in English, please).
Forum codes:
Check this if your message uses 'forum codes' or templates (auto-detected for new posts).
Forum codes Templates

Save this message ...


Subject review (reverse sequence)

Posted by Fiendish   USA  (848 posts)  [Biography] bio   Global Moderator
Date Wed 09 May 2012 11:57 PM (UTC)  quote  ]
Message
You said the code is in a document. Please show the whole document, not just the part you think is important.

http://aardwolfclientpackage.googlecode.com/
[Go to top] top

Posted by Xmarine   (3 posts)  [Biography] bio
Date Wed 09 May 2012 02:45 PM (UTC)  quote  ]
Message
what`s your mean sir ?
[Go to top] top

Posted by Fiendish   USA  (848 posts)  [Biography] bio   Global Moderator
Date Sun 22 Apr 2012 05:42 PM (UTC)  quote  ]
Message
So in some file like MUSHclient/worlds/myworld.mcl ?
Can you show the entire document contents? (make sure it does not include any passwords or anything)

http://aardwolfclientpackage.googlecode.com/
[Go to top] top

Posted by Xmarine   (3 posts)  [Biography] bio
Date Sun 22 Apr 2012 05:37 PM (UTC)  quote  ]
Message
in the document "world" of mushclient
[Go to top] top

Posted by Fiendish   USA  (848 posts)  [Biography] bio   Global Moderator
Date Sun 22 Apr 2012 05:04 PM (UTC)  quote  ]
Message
It seems to me that some information is missing.
Where did you put this bit of code? In a plugin? In an alias?

http://aardwolfclientpackage.googlecode.com/
[Go to top] top

Posted by Xmarine   (3 posts)  [Biography] bio
Date Sun 22 Apr 2012 09:45 AM (UTC)  quote  ]
Message
here is my code:
-----------------------------------
require "wait"



function test()

wait.make (function () --- coroutine below here

Execute("say Hello")

wait.time (5)

Execute("say I love MUSH")

end) -- end of coroutine



end

-------------------------------------
but the mush give such message:

Compile error
World: XXXX
Immediate execution
[string "Command line"]:1: '=' expected near '<eof>'

who can tell me why ?
[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.


955 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]