Register to post in forums, or Log in to your existing account
 
:
Search found 8 matches for:
Page 1 of 1
Author Message
  Topic: Multiple #if
Berion

Replies: 3
Views: 5454

PostForum: zMUD General Discussion   Posted: Sat Feb 09, 2002 8:04 pm   Subject: Multiple #if
Oh, I see you got the variables straight, i wish i read this before replying to your other post :p

This should work:

#IF (@myhealth=@basehealth) {#ECHO You are already healed!}
#IF (@myhealth&l ...
  Topic: Help with macro/varibale combo
Berion

Replies: 4
Views: 5699

PostForum: zMUD General Discussion   Posted: Sat Feb 09, 2002 7:16 pm   Subject: Help with macro/varibale combo
I'm a bit confused.. If you already have this in a status window, haven't you already captured the values to variables?

I assume you mean some sort of status command on the mud. In that case your t ...
  Topic: Help pls - Firewall (I think) Problem
Berion

Replies: 1
Views: 3639

PostForum: zMUD General Discussion   Posted: Sat Feb 09, 2002 6:16 pm   Subject: Help pls - Firewall (I think) Problem
Have you entered the ip of the proxy in the Proxy Firewall setup of zmud? You can find it under General Preferences/Connection.
You can use either socks4 or telnet ports,
but i recommend socks4.

...
  Topic: Triggers.. groan...
Berion

Replies: 4
Views: 7993

PostForum: zMUD General Discussion   Posted: Sun Feb 03, 2002 5:20 pm   Subject: Triggers.. groan...
Wouldn't it have to be:
(*) says 'heal'
to store the name in the %1 variable?

Also, if you want to limit it even more,
you can use
^(%w) says 'heal'.
The ^ forces it to start at the beginni ...
  Topic: Nesting #IFs
Berion

Replies: 9
Views: 15095

PostForum: zMUD General Discussion   Posted: Mon Nov 12, 2001 2:51 am   Subject: Nesting #IFs
Yes it works fine. Just put the entire second #if between one of the {} of the first one.

It will look like this:

#if expression {what to do if true} {#if secondexpression {What to do if seconde ...
  Topic: Capturing info
Berion

Replies: 1
Views: 6981

PostForum: zMUD General Discussion   Posted: Mon Nov 12, 2001 2:29 am   Subject: Capturing info
You can do it like this, with two triggers.

Trigger pattern: ~ Enemy: ~(None~)
#VARIABLE hp %1
#VARIABLE maxhp %1
#VARIABLE enemy None
#VARIABLE enemycon None

Trigger pattern: ~ Enemy: (%*) ...
  Topic: Appending to a certain line in a file
Berion

Replies: 4
Views: 12085

PostForum: zMUD General Discussion   Posted: Sun Nov 11, 2001 12:31 am   Subject: Appending to a certain line in a file
How would I make something like this in a database? I haven't used the database much, so i could use some pointers.
So if anyone has any idea how i could make this work, i'd like to know.

  Topic: Appending to a certain line in a file
Berion

Replies: 4
Views: 12085

PostForum: zMUD General Discussion   Posted: Sat Nov 10, 2001 9:16 pm   Subject: Appending to a certain line in a file
I'm trying to make a list of alts, characters played by the same person.
The way i want it to work is by storing them in a textfile with one line per person, so that all the alts of each person is st ...
 
Page 1 of 1
All times are GMT
© 2009 Zugg Software. Hosted on Wolfpaw.net