Register to post in forums, or Log in to your existing account
 
:
Search found 94 matches for:
Page 1 of 4 Goto page 1, 2, 3, 4  Next
Author Message
  Topic: something not quite working
stark62

Replies: 5
Views: 8644

PostForum: zMUD General Discussion   Posted: Thu Sep 20, 2012 5:40 pm   Subject: something not quite working
ok i solved like this not sure if its the best way but at least it works

#if (%numitems( @list1)>0) {#FOR @list1 {#SEND %db( @HerbDB, %i)}} {#IF (%numitems( @list2)>0) {#FOR @list2 {#SEND %db ...
  Topic: something not quite working
stark62

Replies: 5
Views: 8644

PostForum: zMUD General Discussion   Posted: Thu Sep 20, 2012 3:14 pm   Subject: something not quite working
tried another way also

#forall @symptom {#if %ismember( %i, @list1) {match={7}} {#if %ismember( %i, @list2)} {match={6}} {#if %ismember( %i, @list3) {match=SEND %db( @HerbDB, %i)}}}

Nothing stil ...
  Topic: Extracting multiple info
stark62

Replies: 8
Views: 13667

PostForum: zMUD General Discussion   Posted: Thu Sep 20, 2012 1:41 am   Subject: Extracting multiple info
Thanks Matt - got it to work but like you said it only works if the full pattern is correct.

Thanks anyway as if nothing else I am slowly picking up how things logically work.
  Topic: something not quite working
stark62

Replies: 5
Views: 8644

PostForum: zMUD General Discussion   Posted: Thu Sep 20, 2012 1:28 am   Subject: something not quite working
sorry i have a spell mistake it is list1 not dlist1 but it still doesnt work
  Topic: something not quite working
stark62

Replies: 5
Views: 8644

PostForum: zMUD General Discussion   Posted: Thu Sep 20, 2012 1:27 am   Subject: something not quite working
Thanks - changed it around but still not working

alias test

value

#if (%ismember( @symptom, @Dlist1)) {7} {#if (%ismember( @symptom, @list2)) {6} {#if (%ismember( @sympton, @list3)) {#SEND %d ...
  Topic: something not quite working
stark62

Replies: 5
Views: 8644

PostForum: zMUD General Discussion   Posted: Wed Sep 19, 2012 11:15 pm   Subject: something not quite working
ok got an alias

value is

#if (%ismember( @clist1, @symptom)) {7} {#if (%ismember( @clist2, @symptom)) {6} {#if (%ismember( @clist3, @symptom)) {#SEND %db( @HealDB, %i)} {noop}}}

got three str ...
  Topic: Using the Data record Variable
stark62

Replies: 4
Views: 7261

PostForum: zMUD General Discussion   Posted: Thu Sep 13, 2012 8:47 am   Subject: Using the Data record Variable
Ok - thanks (MY Help was not working as I had to download new help as my Windows Vista need new version) Now I have help on zmud not just here.

getting there but still not getting it working -

# ...
  Topic: Using the Data record Variable
stark62

Replies: 4
Views: 7261

PostForum: zMUD General Discussion   Posted: Wed Sep 12, 2012 11:23 pm   Subject: Using the Data record Variable
This might seem stupid Matt but where is the good info in stringlists and how to use them - i know its there somewhere in Zmud manual on site??
  Topic: Using the Data record Variable
stark62

Replies: 4
Views: 7261

PostForum: zMUD General Discussion   Posted: Wed Sep 12, 2012 9:33 pm   Subject: Using the Data record Variable
Ok Zmud Gods - can you help me get going with Variables and the data record option

OK I can get triggers to capture 2 items it seems

#addkey cnames %1 %2

this gives me a variable data record ...
  Topic: Multiple Variable Camparrisons
stark62

Replies: 1
Views: 4360

PostForum: zMUD General Discussion   Posted: Sun Sep 09, 2012 11:39 pm   Subject: Multiple Variable Camparrisons
Thought another way if its easier - have text thats says

Barry Evil Mages
Bob Good Wizard
Greg Good Sorcerer
Bill Evil Knight
Lucie Good Paladin

ok so i could group and check magic v fighter ...
  Topic: Multiple Variable Camparrisons
stark62

Replies: 1
Views: 4360

PostForum: zMUD General Discussion   Posted: Sun Sep 09, 2012 9:48 pm   Subject: Multiple Variable Camparrisons
Not sure how easy or not this is -

OK I put names into variables

@knighs (Bill|Bob|Greg)
@Bards (Barry|Des|Lloyd)
@Mages (Lucie|Zac)

ok so as people change profession sometimes I wanted to ...
  Topic: #IF multiple times
stark62

Replies: 6
Views: 9056

PostForum: zMUD General Discussion   Posted: Fri Sep 07, 2012 5:14 pm   Subject: #IF multiple times
OK got it working now thanks Embarassed Embarassed
  Topic: #IF multiple times
stark62

Replies: 6
Views: 9056

PostForum: zMUD General Discussion   Posted: Fri Sep 07, 2012 4:13 pm   Subject: #IF multiple times
sorry cant get it working - I got the Charneus code working to do all items at one go but can not get it to work using Daern for the first item from Healing using commands in HealDB ???? tried it a mi ...
  Topic: #IF multiple times
stark62

Replies: 6
Views: 9056

PostForum: zMUD General Discussion   Posted: Fri Sep 07, 2012 12:40 pm   Subject: #IF multiple times
thanks
  Topic: #IF multiple times
stark62

Replies: 6
Views: 9056

PostForum: zMUD General Discussion   Posted: Fri Sep 07, 2012 11:54 am   Subject: #IF multiple times
Awesome - so what would the alias be if I just wanted to take the first on the list from @healing (first time i seen or used a data record which is awesome)

so

heal2 would take first item from ...
  Topic: #IF multiple times
stark62

Replies: 6
Views: 9056

PostForum: zMUD General Discussion   Posted: Thu Sep 06, 2012 9:44 pm   Subject: #IF multiple times
Im trying to get multiple tasks done with one alias so

I am putting conditon and cure in an #if

so if i use alias heal I tried

#if (%ismember( chunder, @healing)) {cast sp3} {}
#if (%ismembe ...
  Topic: Commands from a stringlist variable
stark62

Replies: 3
Views: 6625

PostForum: zMUD General Discussion   Posted: Wed Sep 05, 2012 7:56 pm   Subject: Commands from a stringlist variable
sorry it works great - its me that doesnt always work well

Thanks
  Topic: Commands from a stringlist variable
stark62

Replies: 3
Views: 6625

PostForum: zMUD General Discussion   Posted: Wed Sep 05, 2012 7:14 pm   Subject: Commands from a stringlist variable
nearly but not working
I am using zmud 7.21 if that makes a difference

it seems to send the alias name to the mud but does not actually fire them

eg i see a3 a2 g3 but the mud does not recogniz ...
  Topic: Commands from a stringlist variable
stark62

Replies: 3
Views: 6625

PostForum: zMUD General Discussion   Posted: Wed Sep 05, 2012 10:30 am   Subject: Commands from a stringlist variable
Im guessing this is basic and i just cant find the correct helpfile

Ok I have a variable say @Test1
I want to put alias's in it which look like a1, a2, a3 etc
then I wish to send the alias stored ...
  Topic: Extracting multiple info
stark62

Replies: 8
Views: 13667

PostForum: zMUD General Discussion   Posted: Wed Aug 29, 2012 12:36 pm   Subject: Extracting multiple info
Sorry whats the repeat within line - and where do i find it pls??
  Topic: Extracting multiple info
stark62

Replies: 8
Views: 13667

PostForum: zMUD General Discussion   Posted: Wed Aug 29, 2012 11:06 am   Subject: Extracting multiple info
OK been trying all sorts of stuff and nothing really works for me

What I am trying to do is this - I get this text

Pouch #1262 contains 133 batches of Acaana, 86 batches of Ajkara, 77 batches of ...
  Topic: #delitem variables
stark62

Replies: 3
Views: 6112

PostForum: zMUD General Discussion   Posted: Wed Aug 22, 2012 12:52 pm   Subject: #delitem variables
ok thanks - but I was not clear I think

You see no "potion1111" to drink or sup from.

is shown any time a potion is empty but I wish to delitem from the correct variable - if that is any clearer ...
  Topic: #delitem variables
stark62

Replies: 3
Views: 6112

PostForum: zMUD General Discussion   Posted: Wed Aug 22, 2012 9:24 am   Subject: #delitem variables
ok I got a trigger for potions when one is empty - trouble is it I have a lot of potions so this is what I got

I have a few alias for sipping potions (sipHp or sipMana or sipHeal)
which have value ...
  Topic: #IF ! or #IF that is the question
stark62

Replies: 2
Views: 4239

PostForum: zMUD General Discussion   Posted: Tue Feb 02, 2010 5:50 pm   Subject: #IF ! or #IF that is the question
Wow getting better at this solved it eventually with trial and error error error error

#IF ((@HP1 <= 800) AND (@HD1=1)) {siphealth:play dead;HD1=0} {dead}
  Topic: #IF ! or #IF that is the question
stark62

Replies: 2
Views: 4239

PostForum: zMUD General Discussion   Posted: Tue Feb 02, 2010 5:28 pm   Subject: #IF ! or #IF that is the question
OK no takers on that problem how about this IF also

#IF {%if( (HP1<=800) AND (HD1=1))} {siphealth;play dead;HD1=0} {play dead}

can not get the AND working with HP1 or HD1
 
Page 1 of 4 Goto page 1, 2, 3, 4  Next
All times are GMT
© 2009 Zugg Software. Hosted on Wolfpaw.net