Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
edge
Beginner


Joined: 16 Sep 2002
Posts: 10
Location: USA

PostPosted: Mon Sep 16, 2002 11:35 am   

zmud commands syntax
 
I Have The Syntax Right I Believe But It Fails To Register My Commands As Such
example trigger=you say '(%w) (%d)' action=global %1 %2+1;say %1 %2
how would i do this the math commands and any variable i try to include in the trigger arent expanded and the commands are sent thru as normal i examined other help files but i havent seen anywhere in zmud that looks like i could place a program of that type there (clueless)

edge of insanity
Reply with quote
edge
Beginner


Joined: 16 Sep 2002
Posts: 10
Location: USA

PostPosted: Mon Sep 16, 2002 11:40 am   
 
global is the name of an alias i use to write a spell every page in the spell has to have a target 1 larger than the last ie. 1,2,3,4,5 ect is there a way for me to make one trigger and have it add the # to the say command at the end +1


edge of insanity
Reply with quote
Castaway
GURU


Joined: 10 Oct 2000
Posts: 793
Location: Swindon, England

PostPosted: Mon Sep 16, 2002 12:25 pm   
 
Instead of just writing '%2+1' you need to use the #ADD command, otherwise it just sends the contents of %2 and '+1' to your alias..
So do this:
Temp=%2
#ADD Temp 1
global %1 @Temp
say %1 %2

Lady C.
Reply with quote
edge
Beginner


Joined: 16 Sep 2002
Posts: 10
Location: USA

PostPosted: Mon Sep 16, 2002 1:39 pm   
 
[You say '(%w) (%d)'.-> TEMP=55;global bandit @TEMP;#ADD TEMP 1;say bandit @TEMP]
global bandit 55
say bandit 55
this is the trigger shown as you see the variables arent expanding i have it checked in general dono whats wrong commands are echoed and never fire?



edge of insanity
Reply with quote
edge
Beginner


Joined: 16 Sep 2002
Posts: 10
Location: USA

PostPosted: Mon Sep 16, 2002 2:04 pm   
 
variable is expanding but the #add TEMP 1
isnt going thru i keep saying the same number
over and over again


edge of insanity
Reply with quote
edge
Beginner


Joined: 16 Sep 2002
Posts: 10
Location: USA

PostPosted: Mon Sep 16, 2002 3:08 pm   
 
anyone know? I Have never been able to get a command to execute which severely limits me and makes writting triggers and aliases long and tiresome. i hope someone out there understands my problem and can explane why the commands are going thru and being ignored instead of executing

edge of insanity
Reply with quote
Castaway
GURU


Joined: 10 Oct 2000
Posts: 793
Location: Swindon, England

PostPosted: Mon Sep 16, 2002 4:02 pm   
 
Hmm.. you've not changed the command special character, have you? (The '#'), or turned it off?

Very strange..

Lady C.
Reply with quote
edge
Beginner


Joined: 16 Sep 2002
Posts: 10
Location: USA

PostPosted: Tue Sep 17, 2002 12:59 am   
 
no it'll still set to all the defaults it doesnt read it as a string it just doesnt read it
i'ts really getting on my nerves every command hapens this way


edge of insanity
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Tue Sep 17, 2002 1:08 am   
 
Ok, sorry for being repetitive and asking what you have said again, but we need to eliminate all doubt about this. Does entering this in the command line:
#SAY Testing

display the word "Testing" in a light cyan color on your screen? Or does it display "#SAY Testing" in yellow color on the screen?

If the latter is true, try clicking on the Prefs button and selecting Special Characters. Is there a checkmark on the Enabled checkbox for Command Char? Is the character that appears in the box for Command Char a "#"?

Next, although I seriously doubt this is the cause of your problem, is there a picture of a little computer on the bottom right of the zMUD window with a red X over it? If so, click on the picture of the computer.

Finally, try the thing I talked about (#SAY Testing) in a blank window. To get this window, open zMUD and hit ESC in the Character Selection screen. A blank window with no settings whatsoever will be opened. Type the command into the command line and see what happens.

Again, sorry for being repetitive and hope you don't take any of this the wrong way. If it still doesn't work, try e-mailing Zugg directly about this.

Kjata
Reply with quote
edge
Beginner


Joined: 16 Sep 2002
Posts: 10
Location: USA

PostPosted: Tue Sep 17, 2002 1:21 am   
 
ok #SAY TESTING doesnt even go thru mud doesnt move nothings shows i checked pref special characters and # is the special characteri'm using win 98 so there shouldnt be any compatability problems should there?
still clueless

edge of insanity
Reply with quote
edge
Beginner


Joined: 16 Sep 2002
Posts: 10
Location: USA

PostPosted: Tue Sep 17, 2002 1:23 am   
 
when part of a trigger and show triggers is enabled i get the command in cyan but when just a commandline command i get nothing at all it's like zmud recognizes it's a command but doesnt care

edge of insanity
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Tue Sep 17, 2002 2:29 am   
 
Did it happen too with the blank window (the one you get by hitting ESC in the Character Selection screen)?

Anyway, try e-mailing Zugg on this to see what he has to say.

Kjata
Reply with quote
edge
Beginner


Joined: 16 Sep 2002
Posts: 10
Location: USA

PostPosted: Tue Sep 17, 2002 3:54 am   
 
nothing happens when i hit esc at the character selection screen i am using 3.62

edge of insanity
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Tue Sep 17, 2002 4:12 am   
 
There we go. Why don't you try upgrading to a newer version? There are so much differences between 3.62 and the newer versions that it makes helping you out in here practically impossible. I, for one, am not able to test things out in 3.62 so I can't help you with it. Since 3.62 is free and unsupported, you are pretty much on your own, except for someone in here that might be able to test your problem with 3.62. Sorry I'm not able to help, but I do recommend you upgrade to a newer version, since zMUD is really cheap.

Kjata
Reply with quote
edge
Beginner


Joined: 16 Sep 2002
Posts: 10
Location: USA

PostPosted: Tue Sep 17, 2002 6:11 am   
 
ya but banks and credit cards are not mayby they take moneyorders dono i check into it
last thing i need is having to relearn the code


edge of insanity
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Wed Sep 18, 2002 12:50 am   
 
Please, don't use other posts to bring attention to yours.

Kjata
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net