Author |
Message |
Topic: Seeking Assistance debugging a few Triggers for Achaea |
Hazmeech
Replies: 4
Views: 8523
|
Forum: zMUD General Discussion Posted: Sun May 01, 2005 2:59 am Subject: Seeking Assistance debugging a few Triggers for Achaea |
where it says #if (%1 = 2),
it should be #if ("%1" = 2)
:OP
edit your alias and put these three lines at the start so you can test which values are true and what is the parameter that is being pa ... |
Topic: timestamping my prompt with #SAYP - zmud too slow |
Hazmeech
Replies: 14
Views: 18126
|
Forum: zMUD General Discussion Posted: Sun May 01, 2005 2:40 am Subject: timestamping my prompt with #SAYP - zmud too slow |
You could make an alarm that blurts out all your desired details at your set interval |
Topic: Command stacking accidentally stopped |
Hazmeech
Replies: 3
Views: 5926
|
Forum: zMUD General Discussion Posted: Sun May 01, 2005 2:23 am Subject: Command stacking accidentally stopped |
Maybe you turned off commandline parsing which is activated/de-activated by the little computer icon at the bottom right of your window beside the gun |
Topic: Killing Script help. |
Hazmeech
Replies: 6
Views: 10353
|
Forum: zMUD General Discussion Posted: Wed Apr 27, 2005 10:38 pm Subject: Killing Script help. |
try something like
#CLASS {summoning}
#ALIAS summoning {numooze = 10
numbats = 50
numknights =100
oozelost = 0}
#VAR numooze {10}
#VAR numbats {50}
#VAR numknights {100}
#VAR oozelost {0}
... |
Topic: Time on counter |
Hazmeech
Replies: 2
Views: 6084
|
Forum: zMUD General Discussion Posted: Wed Apr 27, 2005 9:40 pm Subject: Time on counter |
Your connection time in seconds is available at any time through the %ctime predefined variable
#ALIAS checktime {timeon = %format( 2, %eval( %float( %ctime)/60))
#ECHO Connected @timeon minutes}
... |
Topic: Scrip to enter guildhall |
Hazmeech
Replies: 0
Views: 7309
|
Forum: Finished MUD Scripts Posted: Sun Apr 24, 2005 9:33 pm Subject: Scrip to enter guildhall |
Copy all the script and enter it directly into your command line in zmud and hit enter.
simply type:
touch pool
to make it work
#CLASS {PoolTrig}
#ALIAS touch {#IF ("%1" = pool) {touchpool = ... |
Topic: Problem with capturing a line from a mud |
Hazmeech
Replies: 5
Views: 8716
|
Forum: zMUD General Discussion Posted: Wed Mar 30, 2005 5:26 pm Subject: Problem with capturing a line from a mud |
One thing though, this small script doesn't take lag into consideration so if the mud has a prompt I can make the script work more efficiently and it will not do anything if there is lag. |
Topic: Problem with capturing a line from a mud |
Hazmeech
Replies: 5
Views: 8716
|
Forum: zMUD General Discussion Posted: Wed Mar 30, 2005 5:19 pm Subject: Problem with capturing a line from a mud |
Where it says "unwantedpersonsname" you would put the persons name
which IS case sensitive, and where it says "cast spell" you would put the action you want to do if the person is not present.
To ac ... |
Topic: #FUNCTION argument problem? |
Hazmeech
Replies: 3
Views: 6607
|
Forum: zMUD General Discussion Posted: Wed Mar 30, 2005 4:44 pm Subject: #FUNCTION argument problem? |
update
change you subchar line to
%subchar( %lower( @%-1), ",".~-", "") |
Topic: #FUNCTION argument problem? |
Hazmeech
Replies: 3
Views: 6607
|
Forum: zMUD General Discussion Posted: Wed Mar 30, 2005 4:36 pm Subject: #FUNCTION argument problem? |
Or like this and if you type: strip item
it will strip the @item variable
#CLASS {testdoc}
#ALIAS strip {#EVAL @strip(%-1)}
#VAR strip {%subchar( %lower( @%-1), ",".-", "")}
#VAR item {testing ... |
Topic: How to end a macro while running? |
Hazmeech
Replies: 3
Views: 5510
|
Forum: zMUD General Discussion Posted: Wed Mar 30, 2005 4:31 pm Subject: How to end a macro while running? |
It would be best if you post the script so we can make a real solution.
With the information you gave I could say make it a #while loop and then you can turn it off by changing the #while condition ... |
Topic: #FUNCTION argument problem? |
Hazmeech
Replies: 3
Views: 6607
|
Forum: zMUD General Discussion Posted: Wed Mar 30, 2005 4:28 pm Subject: #FUNCTION argument problem? |
I was playing around with it and got lucky.
You forgot a " in your list1 also
#CLASS {testdoc}
#ALIAS stripping {#EVAL @strip(item)}
#VAR strip {%subchar( %lower( @%-1), ",".-", "")}
#VAR item ... |
Topic: reset of a multi state trigger |
Hazmeech
Replies: 12
Views: 15271
|
Forum: zMUD General Discussion Posted: Wed Mar 30, 2005 4:15 am Subject: reset of a multi state trigger |
Phew |
Topic: reset of a multi state trigger |
Hazmeech
Replies: 12
Views: 15271
|
Forum: zMUD General Discussion Posted: Wed Mar 30, 2005 3:52 am Subject: reset of a multi state trigger |
no.
you can set the idea if you open up your settings window and finding the trigger in your settings and in
OPTIONS-->ID bloodbathloops
the trigger will use the same Id for all states |
Topic: reset of a multi state trigger |
Hazmeech
Replies: 12
Views: 15271
|
Forum: zMUD General Discussion Posted: Wed Mar 30, 2005 3:30 am Subject: reset of a multi state trigger |
well I can see that you trigger doesn't have an ID but it needs one.
You main trigger is
#TRIGGER {^Tiax tells the group 'tier 4 tokens'.}
{stand;w;w;n;e;e;e;n}
But it should be
#TRIGGER ... |
Topic: Problem with capturing a line from a mud |
Hazmeech
Replies: 5
Views: 8716
|
Forum: zMUD General Discussion Posted: Wed Mar 30, 2005 3:09 am Subject: Problem with capturing a line from a mud |
On your mud you type a command to look in your room?
It's best if there is a command that just lists the people in the room so that you can capture their names.
You should give an exact example of ... |
Topic: Window Menu - Move needed |
Hazmeech
Replies: 5
Views: 12612
|
Forum: General zApp Discussion Posted: Wed Mar 30, 2005 2:23 am Subject: Window Menu - Move needed |
Oi it's a mis post on my part |
Topic: reset of a multi state trigger |
Hazmeech
Replies: 12
Views: 15271
|
Forum: zMUD General Discussion Posted: Wed Mar 30, 2005 2:20 am Subject: reset of a multi state trigger |
If you go check the trigger in your settings and verify that options->Id = bloodbathloops
then this alias should work
#ALIAS resetblood {
#SET bloodbathloops 0 0
#STATE bloodbathloops
... |
Topic: reset of a multi state trigger |
Hazmeech
Replies: 12
Views: 15271
|
Forum: zMUD General Discussion Posted: Wed Mar 30, 2005 12:35 am Subject: reset of a multi state trigger |
#SET id 0 0
#STATE id
if you do those two commands it resets the trigger to waiting in the first state |
Topic: Alt-Tab shows two zMUD icons |
Hazmeech
Replies: 6
Views: 8303
|
Forum: zMUD General Discussion Posted: Tue Mar 29, 2005 10:44 pm Subject: Alt-Tab shows two zMUD icons |
hmm I unchecked all the boxes and the next time I opened a window it reset it's checkbox in the preferences even after I saved everything and locked layout |
Topic: Window Menu - Move needed |
Hazmeech
Replies: 5
Views: 12612
|
Forum: General zApp Discussion Posted: Tue Mar 29, 2005 10:20 pm Subject: Window Menu - Move needed |
HI
Mine isn't missing but I can't click move if the window is maximized because it is fit to screen.
version 7.05 |
Topic: how can i make a trigger fire only every 8 messages. |
Hazmeech
Replies: 3
Views: 7519
|
Forum: zMUD General Discussion Posted: Tue Mar 29, 2005 10:17 am Subject: how can i make a trigger fire only every 8 messages. |
I don't get all the details so I'm just going to give you what I can.
#CLASS {testing}
#ALIAS Potgame {
#T+ Pottrig
#SET pottrig 0 0
#STATE Pottrig
}
#TRIGGER "pottrig" {^The pot has ... |
Topic: Not sure how to improve this triggers |
Hazmeech
Replies: 6
Views: 9431
|
Forum: zMUD General Discussion Posted: Tue Mar 29, 2005 1:24 am Subject: Not sure how to improve this triggers |
new technique for me there
If someonething comes up like: Judas says, 'doc bless'
then it would be this way that I just learned thanks to Nexela
#TRIGGER {^({@Clan}) says, '{@self} ({@Spellup})' ... |
Topic: Not sure how to improve this triggers |
Hazmeech
Replies: 6
Views: 9431
|
Forum: zMUD General Discussion Posted: Tue Mar 29, 2005 12:54 am Subject: Not sure how to improve this triggers |
or this one
#TRIGGER {(%x) says, '(%w) (%w)'} {#IF %ismember( %1, @clan) {#IF (%lower( %2) = %lower(@self)) {cast ~'%3~' %1}}} |
Topic: Not sure how to improve this triggers |
Hazmeech
Replies: 6
Views: 9431
|
Forum: zMUD General Discussion Posted: Tue Mar 29, 2005 12:08 am Subject: Not sure how to improve this triggers |
#CLASS {testdoc}
#VAR clan {Judas|Smartie|Killer}
#TRIGGER {(%w) says, (%w) (%w).$} {#IF %ismember( %1, @clan) {#IF (%lower( %2) = doc) {cast ~'%3~' %1}}}
#CLASS 0 |
|