Author |
Message |
Topic: Javascripting |
Killfile
Replies: 2
Views: 4035
|
Forum: zMUD General Discussion Posted: Thu Feb 20, 2003 2:03 pm Subject: Javascripting |
So as it turns out Zmud has javascript support. Whoda thunk?
I've started messing with this (as Javascript is much better for complex logical constructions than Zscript) but have run into a proble ... |
Topic: Auto Carrige Return |
Killfile
Replies: 6
Views: 8630
|
Forum: zMUD General Discussion Posted: Wed Feb 12, 2003 1:45 pm Subject: Auto Carrige Return |
To rephrase, I think
You want Zmud to take a string and count off 78 characters.
You then want it to return to the begining of whatever word
its in and insert a hard return.
Right?
--Killfi ... |
Topic: Return? Something like that? |
Killfile
Replies: 1
Views: 3272
|
Forum: zMUD General Discussion Posted: Wed Feb 05, 2003 1:21 am Subject: Return? Something like that? |
#IF (@InNoCapList( %1)) {
#ABORT
}
:Messages: #SAY Message Here
#ALARM +5 {MOTD = %concat( "1 Min Average: ", %format( "&7.0n", @AExp30))}
What I'm trying to do is ... |
Topic: Copyover (may be Godwars specific) |
Killfile
Replies: 0
Views: 6450
|
Forum: Finished MUD Scripts Posted: Mon Feb 03, 2003 3:04 pm Subject: Copyover (may be Godwars specific) |
This script (or set of scripts) is generaly for immortals. It takes a single parameter and preforms necessary steps for a copyover, allowing an abort if necessary.
Some of the commands in this scr ... |
Topic: No idea if anyone asked this before |
Killfile
Replies: 8
Views: 8445
|
Forum: zMUD General Discussion Posted: Mon Feb 03, 2003 2:33 pm Subject: No idea if anyone asked this before |
Well this might help you out...
Most muds force a gramerical construct... so tells look like (in zmud speak)
%w tells you '*.'
If you check for that last quote and period at the end of the li ... |
Topic: Color Function |
Killfile
Replies: 0
Views: 6328
|
Forum: Finished MUD Scripts Posted: Mon Feb 03, 2003 2:18 pm Subject: Color Function |
It's not terribly innovative, but this function takes makes color ranges much easier to read than a series of chained if statements and %ansi functions.
#VAR ColorScale10 {%ansi( high, cyan)%if( %1 ... |
Topic: On Connect?? |
Killfile
Replies: 2
Views: 4206
|
Forum: zMUD General Discussion Posted: Tue Jan 14, 2003 4:17 pm Subject: On Connect?? |
Thank you so much :-)
--Killfile |
Topic: On Connect?? |
Killfile
Replies: 2
Views: 4206
|
Forum: zMUD General Discussion Posted: Tue Jan 14, 2003 1:49 pm Subject: On Connect?? |
I know I happened upon an alias, trigger, or somesuch that executes automagicly upon connection to a mud. At least, I did once upon a time. Now that I need it, however, I can't find it and my search ... |
Topic: Window Settings and Docked Windows |
Killfile
Replies: 1
Views: 3172
|
Forum: zMUD General Discussion Posted: Mon Jan 13, 2003 2:28 pm Subject: Window Settings and Docked Windows |
Here's one that's been vexing me for some time now. I use several docked windows to capture output from a particular mud including channels, tells, log messages, and info messages. These are sent to ... |
Topic: Trigger |
Killfile
Replies: 2
Views: 4462
|
Forum: zMUD General Discussion Posted: Wed Dec 18, 2002 3:25 pm Subject: Trigger |
The real hard part of this trigger is getting the names the mobs respond to from the long names. For example
A horrid ball of slime rests here, oozing in its own muck.
What does this respond to ... |
Topic: Substution and Number Formating |
Killfile
Replies: 1
Views: 3260
|
Forum: zMUD General Discussion Posted: Wed Dec 18, 2002 2:27 pm Subject: Substution and Number Formating |
I've noticed that as I've gained size on a particular mud the numbers involved become more and more difficult to read. Experiance is displayed in the hundreds of millions instead of millions, etc.
... |
Topic: Another Question %roomflags() |
Killfile
Replies: 3
Views: 4924
|
Forum: zMUD General Discussion Posted: Thu Nov 21, 2002 6:11 pm Subject: Another Question %roomflags() |
I tried that...
%roomflags(%roomnum(),"This is a test")
Does not set the flag. If I do a
#SA %roomflags(%roomnum())
after that it just echos a blank line
--Killfile |
Topic: Another Question %roomflags() |
Killfile
Replies: 3
Views: 4924
|
Forum: zMUD General Discussion Posted: Thu Nov 21, 2002 5:44 pm Subject: Another Question %roomflags() |
I'm trying to set roomflags as part of a trigger set. I can read them just fine, but setting seems not to be working.
My current syntax is:
%roomflags(%roomnum(),@ValueHere)
Where ValueHere ... |
Topic: From Automap to Install: a few quick questions |
Killfile
Replies: 1
Views: 4334
|
Forum: zMUD General Discussion Posted: Thu Nov 21, 2002 12:38 pm Subject: From Automap to Install: a few quick questions |
Question 1 - My automap includes a lot of "portal rooms." These are rooms which contain, well, several portals, each of which leads to a different zone. I'm having a lot of problems gettin ... |
Topic: global aliases and zone aliases |
Killfile
Replies: 3
Views: 5403
|
Forum: zMUD General Discussion Posted: Thu Nov 14, 2002 4:03 pm Subject: global aliases and zone aliases |
Theres a few ways you could do this. One would be using the %zonename() or %zonenum() function as part of a conditional...
#IF (%zonename() = "In Town") {
RECALL;
#RECALL;
}
#I ... |
Topic: Alice or Eliza bots put in zmud |
Killfile
Replies: 15
Views: 19275
|
Forum: zMUD General Discussion Posted: Thu Nov 14, 2002 4:32 am Subject: Alice or Eliza bots put in zmud |
I think a more interesting take on this might be to ensure that you forumlate responces to the typical imm queries which are both dismissive and polite. Most imms don't take well to being told to go ... |
Topic: Database Math |
Killfile
Replies: 4
Views: 5734
|
Forum: zMUD General Discussion Posted: Thu Nov 14, 2002 4:24 am Subject: Database Math |
I resolved the issue thanks in lage part to your advice lightbulb.
The solution is mostly what you have above in your last post with one addition...
I stored the record number to a variable u ... |
Topic: Database Math |
Killfile
Replies: 4
Views: 5734
|
Forum: zMUD General Discussion Posted: Wed Nov 13, 2002 5:14 pm Subject: Database Math |
No luck....
My current script reads as follows
#IF (%query( ((&Room = %roomnum( )) & (&Zone = %zonename( ))), ALL) = "") {
#ADDKEY NewMob HP %1
#SAY No Mobs Previousl ... |
Topic: Database Math |
Killfile
Replies: 4
Views: 5734
|
Forum: zMUD General Discussion Posted: Wed Nov 13, 2002 4:17 pm Subject: Database Math |
The mud I play on has a randomizer to change the hitpoints of the mobs in a room within a range computed by a forumla I don't have access to.
I'm trying to use the database to read in hitpoint valu ... |
Topic: Multipule Windows and Variables |
Killfile
Replies: 7
Views: 9553
|
Forum: zMUD General Discussion Posted: Fri Nov 08, 2002 12:10 am Subject: Multipule Windows and Variables |
Thanks! That works perfectly! Now I can complete me self aware trigger set and take over the world!
:-)
--Killfile |
Topic: Multipule Windows and Variables |
Killfile
Replies: 7
Views: 9553
|
Forum: zMUD General Discussion Posted: Thu Nov 07, 2002 10:44 pm Subject: Multipule Windows and Variables |
Got a challenge for you people....
I've got a multi-window system set up. Text is echoed to one of several windows based on what is happening in the main mud window.
I'm trying to set up a menu ... |
Topic: #CAP |
Killfile
Replies: 4
Views: 6995
|
Forum: zMUD General Discussion Posted: Thu Nov 07, 2002 10:43 pm Subject: #CAP |
I do this with out using #CAP
(%w) tells you (*).
:TellsWindow: #SA %1 Tells you %2
:TellsWindow: //color commands here
Works for me....
--Killfile |
Topic: Maping Headache |
Killfile
Replies: 3
Views: 4733
|
Forum: zMUD General Discussion Posted: Thu Nov 07, 2002 2:16 am Subject: Maping Headache |
So there's no way to prevent this sort of thing from happening over and over again? The mapper seems pre-disposed to create new rooms....
--Killfile
--Killfile |
Topic: Maping Headache |
Killfile
Replies: 3
Views: 4733
|
Forum: zMUD General Discussion Posted: Wed Nov 06, 2002 8:10 pm Subject: Maping Headache |
So I've decided to start mucking about with the automapper. I've found some issues which are making my life hard and I wondered if anyone knows how to solve them.
Primarily the issue is one way ex ... |
Topic: Optional Paramaters |
Killfile
Replies: 1
Views: 3463
|
Forum: zMUD General Discussion Posted: Mon Nov 04, 2002 4:14 pm Subject: Optional Paramaters |
I'm trying to write an alias to chant spells from a tome. Currently the alias allows one target
get tome container
wear tome
turn tome 1
chant %1
turn tome 5
chant %1
rem tome
put tome cont ... |
|