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
➜ Lua
➜ a strange variable assigning error
|
a strange variable assigning error
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Henry Tanner
Finland (23 posts) Bio
|
| Date
| Tue 09 Nov 2010 04:02 AM (UTC) |
| Message
| I have a trigger line "* ( *, * )" to capture "Calamari System ( 110, 82 )"
trying to assign the second and third wildcards to variables give an error that doesn't make sense to me:
Compile error
World: Legends of the Jedi
Immediate execution
[string "Trigger: "]:3: '=' expected near 'val1'
the code:
name = %1
val1= %2
val2= %3
|
I got this! | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #1 on Tue 09 Nov 2010 04:13 AM (UTC) |
| Message
| |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Twisol
USA (2,257 posts) Bio
|
| Date
| Reply #2 on Tue 09 Nov 2010 04:54 AM (UTC) |
| Message
| | Just to clarify: While the example in the FAQ is about comparing, the problem is the same. |
'Soludra' on Achaea
Blog: http://jonathan.com/
GitHub: http://github.com/Twisol | | Top |
|
| Posted by
| Henry Tanner
Finland (23 posts) Bio
|
| Date
| Reply #3 on Tue 09 Nov 2010 07:16 AM (UTC) |
| Message
| d'oh.
Thanks Twisol, thanks Nick |
I got this! | | 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.
17,238 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top