|
thanotos Newbie
Joined: 12 Oct 2002 Posts: 6 Location: USA
|
Posted: Sat Oct 12, 2002 9:27 am
plze help lots of very newb/hard questions |
i dont know how to program really at all. a friend has helped me with what i have done already..i have a lot of questions...heres the first, and plze try to explain as simply as possible :) thanks
QUESTION NUMBER 1)
In my MUD whenever someone logs in the game it says SOANDSO joins the adventure.
whenever they disconnect it says SOANDSO has disconnected. Whenever they logoff the game it says SOANDSO returns home after a hard day of adventuring.I would like for it to squeelch out or remove so they dont appear on the screen all of this EXCEPT when my friends login/logoff/disconnect.
So in the end. The only people I see login/logoff/disconnect are Person A B C friends in the game.
QUESTION NUMBER 2)
Ive been trying to make a few pulldown menu buttons...labeled ROAR and DANCE
I want to be able to click on Roar or dance and have a list of commands under it which can be selected. Such as I click on Roar and a pulldown menu appears then I click on DANCE SWAN (OR) DANCE WOLVERINE (OR) DANCE DRAGON ETC. and it puts the command into the game "DANCE SWAN", "DANCE WOLVERINE" ETC
QUESTION NUMBER 3)
In my game after you do certain things such as HIDE, there is a ROUNDTIME or waiting time until you can do another command. such as:
You melt into the background, convinced that your attempt to hide went
unobserved.
Roundtime: 9 sec.
HR>hide
...wait 8 seconds.
HR>unhide
...wait 6 seconds.
I would like a gauge/ or bar if this is possible, with a Countdown decreasing the bar like this for a crude example:
[>>>>>>5] then [>>>>4 ]
until it reaches 0. Everytime a roundtime is given in the game it says Roundtime: whatever ammount of seconds.
QUESTION NUMBER 4)
Whenever you DIE/ARE STUNNED/ARE HIDDEN/ARE INVISIBLE/ARE BLEEDING. in the original program for the game I used to run there was a Picture at the Top displaying such as a skull,blood,a bush for hiding, a invisible sign. so you know your invisible etc at all times. I would like some way to put like a button maybe? that displays YOU ARE HIDDEN, OR DEAD, BLEEDING, OR INVISIBLE. whenever this is true.
Whenever I am dead it displays DEAD> or HIDDEN it displays H> ETC. on the status prompt, Does anyone know how I could do this so that when it sees this it will display YOU ARE HIDDEN or whatever on the top.
LAST QUESTION)
is there anyway to do a rainbow like affect with text?
example.
The words: Wizard casts a spell on you!
could you make each letter of the word "Spell" kind of blink indepentadly with the right timing to make it look kinda like a rainbow affect using different shades of a certain color
Thanks for reading this and any help you can give me, sorry if it was confusing. thanks.
-newbie |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Sat Oct 12, 2002 8:23 pm |
1)
#trigger{(*) ({joins the adventure|has disconnected|returns home after a hard day of adventuring}.)} {#if (%ismember("%1",@Friends)) {#noop do display stuff here, such as sending it to another window} {#gag}}
li'l shmoe of Dragon's Gate MUD |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Sat Oct 12, 2002 9:23 pm |
2) This is just a simple substitution in the sample script provided in the #MENU helpfile
quote: #CLASS MySubMenu {menu}
#MENU "Eat bread" {eat bread}
#MENU "Eat meat" {eat meat}
#MENU "Eat %selword" {eat %selword}
#CLASS 0
#MENU "Eat" {} "" "MySubMenu"
#CLASS MySubMenu {menu}
#MENU "Dance swan" {dance swan}
#MENU "Dance wolverine" {dance wolverine}
#MENU "Dance dragon" {dance dragon}
#MENU "Dance %selword" {dance %selword}
#CLASS 0
#MENU "Dance" {} "" "MySubMenu"
3) It's possible. Use a trigger (#TR) to store the roundtime in a variable (#VAR), and use an alarm (#ALA) to decrement the variable every second, stopping at 0. Display it with a gauge (#GAUGE or #BUTTON) or in the status line/window (#ST or #STW). I'll leave it to you to work out the details.
#ALA *1 {#IF (@roundtime > 0) {#ADD roundtime -1}}
4) Is it really that hard to just read the prompt? Again, use triggers to capture the information you want and you can use #MESSAGE as one method to display it.
#TR {^DEAD>} {#MESS "You are DEAD!"} {} {nocr|prompt}
#TR {^H>} {#MESS "You are HIDDEN"} {} {nocr|prompt}
5)You can't make letters blink independently. All blinking text blinks at the same time.
If you "don't know how to program really at all", I'd suggest you stop trying to be so fancy and learn some basics instead.
LightBulb
Senior Member |
|
|
|
thanotos Newbie
Joined: 12 Oct 2002 Posts: 6 Location: USA
|
Posted: Sun Oct 13, 2002 2:17 am |
i didnt think id be able to figure it out, but with the information you guys provided my friend should be able to tell me how to do it in depth. thanks.
|
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|