Register to post in forums, or Log in to your existing account
 
:
Search found 8 matches for:
Page 1 of 1
Author Message
  Topic: [2.36] temporary triggers created with alarm don't compile
Alvar

Replies: 8
Views: 5350

PostForum: CMUD General Discussion   Posted: Fri Aug 29, 2008 6:30 am   Subject: [2.36] temporary triggers created with alarm don't compile
The #ALARM is not eating any whitespace that it shouldn't

I'm not so sure about that. The formatting of the trigger generated by the #alarm is different from the code inside the original trigger. I ...
  Topic: [2.36] temporary triggers created with alarm don't compile
Alvar

Replies: 8
Views: 5350

PostForum: CMUD General Discussion   Posted: Thu Aug 28, 2008 6:52 am   Subject: [2.36] temporary triggers created with alarm don't compile
Now that did it. The problem was not with the braces after the #alarm or #if statements but the two braces between the true and false branch of the #if statement. Putting them on the same line helped. ...
  Topic: [2.36] temporary triggers created with alarm don't compile
Alvar

Replies: 8
Views: 5350

PostForum: CMUD General Discussion   Posted: Wed Aug 27, 2008 1:21 pm   Subject: [2.36] temporary triggers created with alarm don't compile
I have tried writing a trigger that will cause some action to happen after a few seconds:

#alarm {+3}
{ #if (@somevar = "somevalue")
{ do one thing
}
{
do some other thing
}
}
...
  Topic: How to do comparison of values in #IF?
Alvar

Replies: 5
Views: 4394

PostForum: CMUD General Discussion   Posted: Tue Jun 12, 2007 7:54 pm   Subject: How to do comparison of values in #IF?
Okay, using the parentheses works.

The colons in the assignments don't make a difference, but according to the help file they're allowed as an alternative syntax and I prefer to make a clear distin ...
  Topic: How to do comparison of values in #IF?
Alvar

Replies: 5
Views: 4394

PostForum: CMUD General Discussion   Posted: Tue Jun 12, 2007 7:20 pm   Subject: How to do comparison of values in #IF?
Hmm. Removing the semicolons gives me a "illegal character in expression: =" error message.
  Topic: How to do comparison of values in #IF?
Alvar

Replies: 5
Views: 4394

PostForum: CMUD General Discussion   Posted: Tue Jun 12, 2007 7:02 pm   Subject: How to do comparison of values in #IF?
I've got the following code snippet in a trigger that just won't do what I want.

#say @nummade
#say @numwanted
#if {@numwanted <= @nummade}
{numwanted := 0;
numma ...
  Topic: [1.33] Wrong Password
Alvar

Replies: 4
Views: 4282

PostForum: CMUD General Discussion   Posted: Wed Jun 06, 2007 4:37 pm   Subject: [1.33] Wrong Password
That is what I meant with changing the password in the session parameters. Changing the value in the password field doesn't change anything.

What surprises me is that when I imported the zMud sessi ...
  Topic: [1.33] Wrong Password
Alvar

Replies: 4
Views: 4282

PostForum: CMUD General Discussion   Posted: Tue Jun 05, 2007 7:52 pm   Subject: [1.33] Wrong Password
I had to reinstall cMud and recreate my session due to a disk failure. On the second login the autolog wizard came on and presented me with the correct values for the login. I saved those.

Now when ...
 
Page 1 of 1
All times are GMT
© 2009 Zugg Software. Hosted on Wolfpaw.net