| Author |
Message |
Topic: Little help with an Alias please... |
kidaraine
Replies: 10
Views: 16755
|
Forum: zMUD General Discussion Posted: Thu Aug 30, 2012 12:25 am Subject: Little help with an Alias please... |
Oh, now that makes sense. And yes the variable is foodlist.
And now it works! Thank you so very much for the help. |
Topic: Little help with an Alias please... |
kidaraine
Replies: 10
Views: 16755
|
Forum: zMUD General Discussion Posted: Wed Aug 29, 2012 11:33 pm Subject: Little help with an Alias please... |
So, should I take out the first one? Something like this:
#Class {Standard Aliases}
#ALIAS eat {#IF (%ismember(%1, @foodlist)) {get %1 from pouch; ~eat %1}
#noop %-2}
#Class 0
Or this:
... |
Topic: Little help with an Alias please... |
kidaraine
Replies: 10
Views: 16755
|
Forum: zMUD General Discussion Posted: Wed Aug 29, 2012 10:41 pm Subject: Little help with an Alias please... |
| Ok, I must ask you to bare with me as I have very little idea of what I am doing. I know I don't need the class but I have several other things going in it later to keep things organized for my sanity ... |
Topic: Little help with an Alias please... |
kidaraine
Replies: 10
Views: 16755
|
Forum: zMUD General Discussion Posted: Wed Aug 29, 2012 6:14 pm Subject: Little help with an Alias please... |
| Wouldn't that select anything in the pouch though? My confusion lies in getting it to select only the food items in a variable list depending on which food is currently in the pouch, and not selecting ... |
Topic: Little help with an Alias please... |
kidaraine
Replies: 10
Views: 16755
|
Forum: zMUD General Discussion Posted: Wed Aug 29, 2012 5:00 pm Subject: Little help with an Alias please... |
I've been trying to figure this out for a couple hours now.
I get that I need some sort of variable or %item or something like that, maybe.
What I am trying to do is set up an eat alias. When ... |
| |