Register to post in forums, or Log in to your existing account
 
:
Search found 17 matches for:
Page 1 of 1
Author Message
  Topic: Bug in #IF?
anylo

Replies: 8
Views: 9587

PostForum: zMUD General Discussion   Posted: Fri Mar 03, 2006 6:59 am   Subject: Bug in #IF?
From the

So I missed some information about "on" (just as I was suspecting).

Thanks to all.
  Topic: Bug in #IF?
anylo

Replies: 8
Views: 9587

PostForum: zMUD General Discussion   Posted: Thu Mar 02, 2006 7:51 am   Subject: Bug in #IF?
Also, you probably need to put quotes around the %1:

#IF ("%1" = "on") {#echo It's now %1}


Thanks, it works now. What confused me was that if the comparable value was something else than on or ...
  Topic: Bug in #IF?
anylo

Replies: 8
Views: 9587

PostForum: zMUD General Discussion   Posted: Wed Mar 01, 2006 2:32 pm   Subject: Bug in #IF?
Used in a trigger?

Nope, in alias

#ALIAS dig_grave {#if (%1 = "on") {#var dig_grave 1}}
  Topic: Bug in #IF?
anylo

Replies: 8
Views: 9587

PostForum: zMUD General Discussion   Posted: Wed Mar 01, 2006 12:14 pm   Subject: Bug in #IF?
Maybe I didn't notice some small "Don't use" text in somewhere but

#IF (%1 = "on") {#echo It's now %1}
#IF (%1 = "off") {#echo It's now %1} ...
  Topic: Ubuntu Linux "Breezy Badger" Running zMUD 7.21!
anylo

Replies: 19
Views: 64317

PostForum: zMUD General Discussion   Posted: Wed Mar 01, 2006 12:10 pm   Subject: Ubuntu Linux "Breezy Badger" Running zMUD 7.21!
Kudos to you, guys.

No I have something to do (instead of mudding). ;)
  Topic: Suggestion: %ansi(#FF0AEA)
anylo

Replies: 10
Views: 14801

PostForum: zMUD General Discussion   Posted: Tue Jul 05, 2005 7:21 am   Subject: Suggestion: %ansi(#FF0AEA)
Thanks mate, looked great.
  Topic: Suggestion: %ansi(#FF0AEA)
anylo

Replies: 10
Views: 14801

PostForum: zMUD General Discussion   Posted: Tue Jul 05, 2005 6:31 am   Subject: Suggestion: %ansi(#FF0AEA)
Here's example code where I would like to replace colors with RGB values.


#CLASS {Inform}
#TRIGGER {^* is in excellent shape.$} {#SUB %concat( ~[, %ansi( bol ...
  Topic: Suggestion: %ansi(#FF0AEA)
anylo

Replies: 10
Views: 14801

PostForum: zMUD General Discussion   Posted: Thu Jun 30, 2005 9:12 am   Subject: Suggestion: %ansi(#FF0AEA)
Those commands don't work with #SUB etc.

Anyway, %ansi accepting RGB code is only "nice to have" feature.
  Topic: Suggestion: %ansi(#FF0AEA)
anylo

Replies: 10
Views: 14801

PostForum: zMUD General Discussion   Posted: Wed Jun 29, 2005 9:54 am   Subject: Suggestion: %ansi(#FF0AEA)
Implement %ansi() function to accept RGB code, pretty please.
  Topic: Regex for different amount of parameters
anylo

Replies: 7
Views: 12014

PostForum: zMUD General Discussion   Posted: Fri Aug 27, 2004 11:18 am   Subject: Regex for different amount of parameters
Darn, way too easy solution.
  Topic: Regex for different amount of parameters
anylo

Replies: 7
Views: 12014

PostForum: zMUD General Discussion   Posted: Fri Aug 27, 2004 6:51 am   Subject: Regex for different amount of parameters
Do you want %1 to be whatever you're targetting, such as "ogre mage"? If so, then you can do it with a single parameter:
#REGEX {^Friend says 'target (.*)'} {use @attack_skill at %1}

Thanks mate, ...
  Topic: Regex for different amount of parameters
anylo

Replies: 7
Views: 12014

PostForum: zMUD General Discussion   Posted: Thu Aug 26, 2004 7:45 am   Subject: Regex for different amount of parameters
Well, the following commands are:

#var target %1
use @attack_skill at @target
  Topic: Regex for different amount of parameters
anylo

Replies: 7
Views: 12014

PostForum: zMUD General Discussion   Posted: Thu Aug 26, 2004 7:34 am   Subject: Regex for different amount of parameters
Is there any way to capture following lines with one regex?

Friend says 'target ogre'
Friend says 'target ogre 1'
Friend says 'target ogre mage'
  Topic: [6.40] Floats and integers
anylo

Replies: 4
Views: 5495

PostForum: zMUD General Discussion   Posted: Wed Jan 15, 2003 10:00 am   Subject: [6.40] Floats and integers
I'm trying to convert some ints into floats.

#show %eval(%float(1) / %float(3)) gives 1,0,0 instead of 0.33.

Am I doing something wrong or is this a bug related to locales?

  Topic: [6.40] Get/Set variables from VBScript
anylo

Replies: 2
Views: 6423

PostForum: zMUD General Discussion   Posted: Mon Jan 13, 2003 3:44 pm   Subject: [6.40] Get/Set variables from VBScript
Thanks, it worked fine.

Just made a trigger which replies the local weather to the teller, script can be found at http://www.cc.jyu.fi/~anjoylon/jumbo/weather.txt

  Topic: [6.40] Get/Set variables from VBScript
anylo

Replies: 2
Views: 6423

PostForum: zMUD General Discussion   Posted: Mon Jan 13, 2003 11:53 am   Subject: [6.40] Get/Set variables from VBScript
How can I access a variable from VBScript and change it?

Something like changing the value of the string etc.

  Topic: System Clock Error
anylo

Replies: 2
Views: 6458

PostForum: zMUD General Discussion   Posted: Tue Nov 20, 2001 5:34 pm   Subject: System Clock Error
I encountered similar message (changed clock backward while zMUD was running) and zMUD crashed. Luckily zMUD worked after that.

zMUD v6.22, W2K sp2

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