Register to post in forums, or Log in to your existing account
 
:
Search found 14 matches for:
Page 1 of 1
Author Message
  Topic: auto spellup woes and an abstract error
bartistcs

Replies: 1
Views: 2450

PostForum: zMUD General Discussion   Posted: Thu Aug 31, 2006 1:03 am   Subject: auto spellup woes and an abstract error
This is my auto spell script, and I have it set to recast failed spells


#CLASS {SPELLUP}
#ALIAS spellup {#FORALL @list1 {#VAR spell_casted = 0;#WHILE (@spell_casted != 1& ...
  Topic: Comparing strings
bartistcs

Replies: 1
Views: 2579

PostForum: zMUD General Discussion   Posted: Sun Jul 30, 2006 10:10 pm   Subject: Comparing strings
Maybe strings is a bit misleading...

I want to compare my prompt which looks like this:

[493:493|360:378|137:355|807|0]

with the 807 being my exp to next level (TNL). Because the battle syste ...
  Topic: Creating a list from the contents of a container
bartistcs

Replies: 20
Views: 25645

PostForum: zMUD General Discussion   Posted: Sat Sep 24, 2005 4:07 am   Subject: Creating a list from the contents of a container
got it! used %quote(s) syntax around my two variables for output.

thanks everybody for your help!
  Topic: Creating a list from the contents of a container
bartistcs

Replies: 20
Views: 25645

PostForum: zMUD General Discussion   Posted: Sat Sep 24, 2005 12:51 am   Subject: Creating a list from the contents of a container
Ok nailed the problem down. Thanks to vijilante with the " " around the %i i also used a #priority when capturing the cards. but this is the problem:

the " " in certain card names are killing it. m ...
  Topic: Creating a list from the contents of a container
bartistcs

Replies: 20
Views: 25645

PostForum: zMUD General Discussion   Posted: Fri Sep 23, 2005 12:35 am   Subject: Creating a list from the contents of a container
It's not a matching issue because the funky values are the same throughout. There are no wrapping issues involved because i put ' ' around it and everything stayed on lined spaced nicely. As for the # ...
  Topic: Creating a list from the contents of a container
bartistcs

Replies: 20
Views: 25645

PostForum: zMUD General Discussion   Posted: Thu Sep 22, 2005 9:11 pm   Subject: Creating a list from the contents of a container
My actual trigger to capture the items works fine. The variable populates perfectly. I checked it manually and found no errors. During the comparison, there seems to be an error. My capture trigger is ...
  Topic: Creating a list from the contents of a container
bartistcs

Replies: 20
Views: 25645

PostForum: zMUD General Discussion   Posted: Thu Sep 22, 2005 7:42 pm   Subject: Creating a list from the contents of a container
Ok I got this working. I forgot to change my two variables to have the same matching patterns. I used #ADDITEM containerlist (%1 %2) so it would have the format 001 Card Name. Works great.

Only pro ...
  Topic: Creating a list from the contents of a container
bartistcs

Replies: 20
Views: 25645

PostForum: zMUD General Discussion   Posted: Wed Sep 21, 2005 7:37 pm   Subject: Creating a list from the contents of a container
I tried both using #ADDITEM no dice. not sure what's going on. I almost think it doesn't want to add %2. If I echo it to my terminal, I get the right name.
  Topic: Creating a list from the contents of a container
bartistcs

Replies: 20
Views: 25645

PostForum: zMUD General Discussion   Posted: Wed Sep 21, 2005 7:12 am   Subject: Creating a list from the contents of a container
Ok, one more question :) I have the following trigger:

~(~#(%d)~) (*) ~*Smurfemon Card~*$

and i do #ADDITEM containerlist %1

What I would like to do is add both the %d and * into one line int ...
  Topic: Creating a list from the contents of a container
bartistcs

Replies: 20
Views: 25645

PostForum: zMUD General Discussion   Posted: Wed Sep 21, 2005 6:40 am   Subject: Creating a list from the contents of a container
I got it working spot in. Found out that my container var wasn't filling because it was INSIDE the class I was enabling, causing me some issues with triggering the blank line. Moved things around and ...
  Topic: Creating a list from the contents of a container
bartistcs

Replies: 20
Views: 25645

PostForum: zMUD General Discussion   Posted: Mon Sep 19, 2005 10:04 pm   Subject: Creating a list from the contents of a container
I need the cardlist variable because zmud defaults 001 to 1 and 099 to 99 and the keywords for these cards are 200-001. Unless I can force zmud to register 001 AS 001 I don't know any other way around ...
  Topic: Creating a list from the contents of a container
bartistcs

Replies: 20
Views: 25645

PostForum: zMUD General Discussion   Posted: Sun Sep 18, 2005 8:54 pm   Subject: What a headache
Ok, I am posting my script in all it's glory because nothing is working now. Nexela's script only sends me into an infinite trigger loop that can only be shut down when zMUD asks me to disable the tri ...
  Topic: Creating a list from the contents of a container
bartistcs

Replies: 20
Views: 25645

PostForum: zMUD General Discussion   Posted: Sat Sep 17, 2005 4:38 am   Subject: Creating a list from the contents of a container
I got 2/3 working...the #FORALL is screwing me up. In it's current state:


#FORALL @containerlist {#if %ismember( %i, @cardlist) {#ECHO Missing Cards:} {#ECHO Missi ...
  Topic: Creating a list from the contents of a container
bartistcs

Replies: 20
Views: 25645

PostForum: zMUD General Discussion   Posted: Sat Sep 17, 2005 1:43 am   Subject: Creating a list from the contents of a container
I'm trying to create a list variable from the contents of a container. A portion of the container is:

A Card Collector contains:
(#001) Card 1
(#002) Card 2
&# ...
 
Page 1 of 1
All times are GMT
© 2009 Zugg Software. Hosted on Wolfpaw.net