Author |
Message |
Topic: Trigger loop |
ShadowsPirate
Replies: 5
Views: 11276
|
Forum: zMUD General Discussion Posted: Tue Apr 28, 2009 3:20 pm Subject: Trigger loop |
from 'crosstoos' to the 'netq' is his alias, I imagine. The alias names are the ones that aren't directions or commands, and they go until the next odd name. |
Topic: Only showing specific line of variable. |
ShadowsPirate
Replies: 2
Views: 5142
|
Forum: zMUD General Discussion Posted: Tue Dec 02, 2008 12:46 am Subject: Only showing specific line of variable. |
Is there any way to check just one line of a variable that is a record? I'd like to check to see how many of an item I'll need, and was wondering if I could just do it without having to make a DB or s ... |
Topic: Using the repeat(#) in different ways. |
ShadowsPirate
Replies: 1
Views: 4197
|
Forum: zMUD General Discussion Posted: Mon Oct 13, 2008 2:24 am Subject: Using the repeat(#) in different ways. |
#if (@amount>=6) {#6 {blah}} {#@amount {blah}}
Trying to make it so if its, obviously, greater then or equal to 6, it does it 6 times. If not, it ... |
Topic: Zmud or Map program on a Flash Drive? |
ShadowsPirate
Replies: 8
Views: 12784
|
Forum: zMUD General Discussion Posted: Mon Jun 09, 2008 6:17 am Subject: Zmud or Map program on a Flash Drive? |
I have Zmud on more then a few of my flash drives....and it works just fine? Dont see what the problem is. |
Topic: Some Regex help assistance- |
ShadowsPirate
Replies: 9
Views: 18114
|
Forum: zMUD General Discussion Posted: Tue May 20, 2008 12:18 am Subject: Some Regex help assistance- |
I was kind of hoping to avoid all of the different triggers, which is why I had (badly) attempted to make a regex with optional items. |
Topic: Some Regex help assistance- |
ShadowsPirate
Replies: 9
Views: 18114
|
Forum: zMUD General Discussion Posted: Tue May 13, 2008 9:33 pm Subject: Some Regex help assistance- |
Well..., I hadn't realized the thing about the hyphens but I do see it in the function now. But, none of them numbers will be above 10. IE-10 copper=1 silver, 10 silver=1 gold, and there definitely wo ... |
Topic: Some Regex help assistance- |
ShadowsPirate
Replies: 9
Views: 18114
|
Forum: zMUD General Discussion Posted: Tue May 13, 2008 1:52 pm Subject: Some Regex help assistance- |
Oh, I was somehow thinking they could be used together, and there aren't any hyphenated words in any of the examples I had provided....so not sure where you're getting the hyphen from. |
Topic: Some Regex help assistance- |
ShadowsPirate
Replies: 9
Views: 18114
|
Forum: zMUD General Discussion Posted: Tue May 13, 2008 1:29 am Subject: Some Regex help assistance- |
So, and I know it probably has a ton of errors the non regex eye such as mine doesn't spot, is my pattern alright then? |
Topic: Some Regex help assistance- |
ShadowsPirate
Replies: 9
Views: 18114
|
Forum: zMUD General Discussion Posted: Fri May 09, 2008 9:43 pm Subject: Some Regex help assistance- |
This is my first shot at a regex, so yeah...
I am using this pattern
^There is a total of (%w) {gold|silver|copper} ((,)? ((and)? ((%w) { ... |
Topic: multi-line variable capture |
ShadowsPirate
Replies: 1
Views: 5396
|
Forum: zMUD General Discussion Posted: Thu Apr 24, 2008 12:58 am Subject: multi-line variable capture |
Background:While picking herbs and toxins or whatever, you have a command to tell you whats in your area. The only bad thing is that it gives a general message and then says how many of each, each wit ... |
Topic: Group checking and putting in variables. |
ShadowsPirate
Replies: 2
Views: 5708
|
Forum: zMUD General Discussion Posted: Mon Mar 24, 2008 1:08 am Subject: Group checking and putting in variables. |
As I said in my first post, thank you ever so much, Fang, works like a charm.
Edit:I didn't typo when I put it said, "You not following anyone." in the prompt. Horrible english, but it threw me for ... |
Topic: Group checking and putting in variables. |
ShadowsPirate
Replies: 2
Views: 5708
|
Forum: zMUD General Discussion Posted: Sat Mar 22, 2008 2:59 am Subject: Group checking and putting in variables. |
What I want to do is I can check the command gr(group), then have all the names put into a variables(s) so that if something is killed by them, a command is fired, but if it isn't part of the group th ... |
Topic: #when? |
ShadowsPirate
Replies: 27
Views: 35637
|
Forum: zMUD General Discussion Posted: Sat Jan 12, 2008 1:43 am Subject: #when? |
In the picture, in your code, you have your if statement....but all its doing is "if @variable and @variable and @variable" etc, but not checking it against anything. I believe it thinks, "if 1 and 1 ... |
Topic: Trigger and wildcard help |
ShadowsPirate
Replies: 2
Views: 5479
|
Forum: zMUD General Discussion Posted: Mon Jul 30, 2007 12:43 am Subject: Trigger and wildcard help |
Works like a charm, thanks. |
Topic: Trigger and wildcard help |
ShadowsPirate
Replies: 2
Views: 5479
|
Forum: zMUD General Discussion Posted: Sun Jul 29, 2007 10:25 pm Subject: Trigger and wildcard help |
Allright, I'm trying to trigger a line of text to put into variables, then show me what it is. I can get everything working except for the last number, which works for numbers smaller then 10, but not ... |
Topic: Word number convert to actual number |
ShadowsPirate
Replies: 1
Views: 4615
|
Forum: zMUD General Discussion Posted: Fri Jul 27, 2007 11:20 pm Subject: Word number convert to actual number |
So in the mud I play, instead of "Tom hands you 14 gold coins", it comes
out at "Tom hands you fourteen gold coins". And I was wondering if anyone
had a way to capture the words and change them to ... |
Topic: Script running over If statement |
ShadowsPirate
Replies: 2
Views: 5889
|
Forum: zMUD General Discussion Posted: Mon Jun 25, 2007 9:38 pm Subject: Script running over If statement |
At the middle of the bottom, you have this line.
#TRIGGER {RemoveLoseItems} {#IF (@iLooseGemActual) {
I could be mistaken, but should "RemoveloseItems" be "RemovelooseItems"? Maybe just a typo? |
|