Register to post in forums, or Log in to your existing account
 
:
Search found 16 matches for:
Page 1 of 1
Author Message
  Topic: syntax issue with variable assignment
thomaspepon

Replies: 3
Views: 2003

PostForum: CMUD General Discussion   Posted: Mon Dec 29, 2008 2:55 am   Subject: syntax issue with variable assignment
Thanks for the assistance calesta. I'm not sure about the scope issue. I had
these assignment errors all over the place. I tried creating the variable in class
practice by adding the extra parame ...
  Topic: syntax issue with variable assignment
thomaspepon

Replies: 3
Views: 2003

PostForum: CMUD General Discussion   Posted: Sat Dec 27, 2008 3:52 am   Subject: syntax issue with variable assignment
I'm trying to convert to CMUD from zMUD, and am working on some of the syntactical differences,
but I have come across what seems to be a simple variable assignment that isn't working correctly.

I ...
  Topic: odd scripting latency
thomaspepon

Replies: 5
Views: 3108

PostForum: zMUD General Discussion   Posted: Fri Dec 05, 2008 7:37 pm   Subject: odd scripting latency
After more tweaking and timing, my gold_run_new alias code ended up as:

#VAR gold_run {"#ti 0;wa;.dss;#6 dr jug;fil jug"|"ca 'gate' captain;get coins safe"|"ca 'gate' mistress;n;op e;e;get coins ch ...
  Topic: odd scripting latency
thomaspepon

Replies: 5
Views: 3108

PostForum: zMUD General Discussion   Posted: Fri Dec 05, 2008 7:20 pm   Subject: odd scripting latency
I've tried a different application of your solution earlier, and ran into syntax errors anytime I used a # command, like the repeats.
I found that by putting an #exec in front of the %pop statement, ...
  Topic: odd scripting latency
thomaspepon

Replies: 5
Views: 3108

PostForum: zMUD General Discussion   Posted: Tue Nov 18, 2008 6:24 pm   Subject: odd scripting latency
I've done a variable as a list, but didn't know you could work it as a stack.
Of course, even if I had known that, I probably would have used wait and
run into the same issue.

Thanks for the help ...
  Topic: odd scripting latency
thomaspepon

Replies: 5
Views: 3108

PostForum: zMUD General Discussion   Posted: Tue Nov 18, 2008 12:10 am   Subject: odd scripting latency
I have a trigger, with a pretty simple script afterwards, and I was just watching it, and it
taking a lot longer than it should have to run. It wasn't a problem with the mud. While the
script was ...
  Topic: #timer example needed
thomaspepon

Replies: 2
Views: 2116

PostForum: zMUD General Discussion   Posted: Thu Oct 02, 2008 2:06 am   Subject: #timer example needed
I need an example of using the #timer command

I use it often just as #ti 0 and #ti 1 to turn the timer on and off

I'd like to use the whole syntax so I can set the command on it, too, but can't ...
  Topic: trigger question with variable comparison
thomaspepon

Replies: 1
Views: 1558

PostForum: zMUD General Discussion   Posted: Wed Sep 10, 2008 3:36 am   Subject: trigger question with variable comparison
Ok, right after I wrote the message, and clicked post, I figured out what was happening, the alias was sending the d command,
and then evaluating @hobgoblin_count before the mud returned the room de ...
  Topic: trigger question with variable comparison
thomaspepon

Replies: 1
Views: 1558

PostForum: zMUD General Discussion   Posted: Wed Sep 10, 2008 3:33 am   Subject: trigger question with variable comparison
I am building a simple combat bot to kill hobgoblins, however the hobgoblins assist each other,
so when there are more than 2 in a room, I don't want to attack.

I've put the following together.
...
  Topic: trigger to assign alias with a variable name to be parsed later
thomaspepon

Replies: 8
Views: 3929

PostForum: zMUD General Discussion   Posted: Sat Sep 06, 2008 2:12 am   Subject: trigger to assign alias with a variable name to be parsed later
A variable for the target, that's it, and if it's blank, no worries.
That's part of why I asked on the forums, I just wanted a good way
to manage the issue.

I'd still like to be able to set my va ...
  Topic: trigger to assign alias with a variable name to be parsed later
thomaspepon

Replies: 8
Views: 3929

PostForum: zMUD General Discussion   Posted: Fri Sep 05, 2008 7:50 pm   Subject: trigger to assign alias with a variable name to be parsed later
ok, I think I see where the disconnect is here...

right now I have
variable @spell = "haste"
alias action = ca '<@spell>'

and in my practice trigger, which I didn't show, my loop
was se ...
  Topic: trigger to assign alias with a variable name to be parsed later
thomaspepon

Replies: 8
Views: 3929

PostForum: zMUD General Discussion   Posted: Fri Sep 05, 2008 7:31 pm   Subject: trigger to assign alias with a variable name to be parsed later
*gasp* I'm sorry, I put it in the wrong forum. I am using zMUD 7.21

And I understand that assigning ca '<@spell>' several times would be redundant, my problem is that
next time, I may need ...
  Topic: trigger to assign alias with a variable name to be parsed later
thomaspepon

Replies: 8
Views: 3929

PostForum: zMUD General Discussion   Posted: Fri Sep 05, 2008 7:06 pm   Subject: trigger to assign alias with a variable name to be parsed later
the trigger is just supposed to assign the value

ca '<@spell>'

to the alias.

All I'm really looking for is how to assign that string to an alias through a script without
zMUD expandin ...
  Topic: trigger to assign alias with a variable name to be parsed later
thomaspepon

Replies: 8
Views: 3929

PostForum: zMUD General Discussion   Posted: Fri Sep 05, 2008 5:14 pm   Subject: trigger to assign alias with a variable name to be parsed later
I am practicing a spell, and when the spell reaches 100%, I want to change the spell I am practicing.

What I have set up currently:
variables
.....@spell = "haste"
alias
.....@action = "ca '< ...
  Topic: Newbie question - session based triggers
thomaspepon

Replies: 3
Views: 2101

PostForum: zMUD General Discussion   Posted: Thu Sep 04, 2008 9:07 pm   Subject: Newbie question - session based triggers
Thanks Shalimar, I'm going to implement it that way for now,
but I get the feeling that there is a better way to handle it.

I'm looking for an improvement over copy/pasting if statements
to han ...
  Topic: Newbie question - session based triggers
thomaspepon

Replies: 3
Views: 2101

PostForum: zMUD General Discussion   Posted: Thu Sep 04, 2008 6:57 pm   Subject: Newbie question - session based triggers
Hi all, and thanks in advance for any help.

I'm running zMUD 7.21, and I'm trying to figure out the best way to do something.

I have written a set of scripts for one character to auto-practice s ...
 
Page 1 of 1
All times are GMT
© 2009 Zugg Software. Hosted on Wolfpaw.net