Author |
Message |
Topic: Stop Myself |
Kru
Replies: 3
Views: 6313
|
Forum: zMUD General Discussion Posted: Sat Mar 02, 2002 8:12 am Subject: Stop Myself |
My suggestion is to make a stringlist variable with all the things you don't want to train. You can do this via #ADDITEM noTrainList {SomeSkillINeverWantToTrain}
do this for each skill you don't wan ... |
Topic: Inheritence (global triggers?) |
Kru
Replies: 1
Views: 3620
|
Forum: zMUD General Discussion Posted: Sat Mar 02, 2002 7:11 am Subject: Inheritence (global triggers?) |
I have two chars on the same mud. I want both to share every setting (EXCEPT variables, which will be unique). I want both to be connected at the same time from the same instance of zMud. I want to ... |
Topic: Floating Point Variables & Rounding |
Kru
Replies: 3
Views: 4515
|
Forum: zMUD General Discussion Posted: Sat Mar 02, 2002 7:01 am Subject: Floating Point Variables & Rounding |
This is cheese but here:
#FU {GiveMeaName} {%word("%1",1,".").%if(%right(%left(%word("%1",2,"."),2),1)>4,%eval(%left(%word("%1",2,".") ... |
Topic: HARD problem! (long post) |
Kru
Replies: 9
Views: 13038
|
Forum: zMUD General Discussion Posted: Sat Mar 02, 2002 6:43 am Subject: HARD problem! (long post) |
Yeah, you should enable GSx when playing DR. It can turn the really complicated thing that Ton and Vigilante are trying to do to into this:
#TR {You have (*)} {#SUB {You have:%char(10)%replace(&qu ... |
Topic: I'm a %w... |
Kru
Replies: 3
Views: 5540
|
Forum: zMUD General Discussion Posted: Mon Feb 25, 2002 12:20 pm Subject: I'm a %w... |
(%w) tells you '(%w)'
cast '%2' %1
:)
|
Topic: how to write kills counter ? a challenge? |
Kru
Replies: 5
Views: 6776
|
Forum: zMUD General Discussion Posted: Sun Feb 24, 2002 8:30 am Subject: how to write kills counter ? a challenge? |
Hmm.. I don't want to jump a thread, but what is the difference in memory between a database and several record variables?
My mud has a somewhat intricate skill system, whereby doing actions relat ... |
Topic: True division |
Kru
Replies: 1
Views: 3798
|
Forum: zMUD General Discussion Posted: Tue Feb 12, 2002 4:50 am Subject: True division |
I don't have access to the developer board. I don't really want it either (I have no intention of getting the dev kit).. But here's a suggestion of a useful plugin. A plugin that will do true divisi ... |
Topic: howto list the keys of a data record..? |
Kru
Replies: 2
Views: 4295
|
Forum: zMUD General Discussion Posted: Mon Feb 11, 2002 6:48 pm Subject: howto list the keys of a data record..? |
How do I list only the keys of a data record variable?
(for (keys(%hash)) {print $_;}) that type of thing
|
Topic: How do I know when #WALK has finished? |
Kru
Replies: 2
Views: 4711
|
Forum: zMUD General Discussion Posted: Sat Feb 09, 2002 9:23 pm Subject: How do I know when #WALK has finished? |
thank you, that will work
|
Topic: How do I know when #WALK has finished? |
Kru
Replies: 2
Views: 4711
|
Forum: zMUD General Discussion Posted: Sat Feb 09, 2002 8:03 pm Subject: How do I know when #WALK has finished? |
Say I want to issue a #walk 344 command to have my character slowwalk to room 344. How do I know when I've arrived in room 344?
I could make a trigger on some line that is in the room, but that is ... |
Topic: Multiple #if |
Kru
Replies: 3
Views: 6264
|
Forum: zMUD General Discussion Posted: Sat Feb 09, 2002 7:33 pm Subject: Multiple #if |
Here is the colorful way that I would do it.
#ALIAS healme {#CASE (((@baseHealth-@myHealth)>0 and (@baseHealth-@myHealth)<100) OR ((@baseHealth-@myHealth)>100 and (@baseHealth-@myHealth)&l ... |
Topic: Need help with Simple Alarm/trigger |
Kru
Replies: 3
Views: 5638
|
Forum: zMUD General Discussion Posted: Sat Feb 09, 2002 5:03 pm Subject: Need help with Simple Alarm/trigger |
The #IF command works with brackets. You have your if set up like the %if function, which is slightly different.
You want this.
#ALARM *1 {#IF (@move=stop){#ECHO DONE!}{go;#ADD moves 1}}
|
Topic: Number of lines recieved from mud |
Kru
Replies: 3
Views: 5356
|
Forum: zMUD General Discussion Posted: Sat Feb 09, 2002 8:19 am Subject: Number of lines recieved from mud |
Isn't using a trigger that captures every line of input a bad thing? I remember it used to bring zmud to its knees to do that..
|
Topic: Need help with what "should" be a simple trigger |
Kru
Replies: 3
Views: 4435
|
Forum: zMUD General Discussion Posted: Sat Feb 09, 2002 8:10 am Subject: Need help with what "should" be a simple trigger |
I don't know how your propmt shows up in relation to the room itself. However, I think its a good idea to have zmud keep track of the variables in your prompt at all times, so its ok to have a sepera ... |
Topic: Number of lines recieved from mud |
Kru
Replies: 3
Views: 5356
|
Forum: zMUD General Discussion Posted: Sat Feb 09, 2002 7:48 am Subject: Number of lines recieved from mud |
Here is my dilemma. I have a bunch of triggers that each add their own item to a stringlist. I have an alias which is run every second, that checks to see if the stringlist contains any items. If i ... |
Topic: trigger timing problem? |
Kru
Replies: 11
Views: 20381
|
Forum: zMUD General Discussion Posted: Wed Nov 14, 2001 11:07 pm Subject: trigger timing problem? |
Where do I find out about these state triggers?
:) |
|