Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » Finished MUD Scripts
Vitae
Enchanter


Joined: 17 Jun 2005
Posts: 673
Location: New York

PostPosted: Fri Jun 24, 2005 6:35 pm   

Alerts for Aard (doubles, gqs, quests)
 
I've had this since I started using zmud. It was a port over from when i used TinyFugue.
Yeah, I know, pretty damned big and takes up the screen.
But hella better than a GQ autojoin ;-)

Code:
#CLASS {ALERTS}
#var onglobal {}
#trigger {You have now joined the quest. See 'help gquest' for available commands.} {#var onglobal true}
#ALIAS /doubleexp {
 #say " #######  ##     ##"
 #say "##     ##  ##   ##"
 #say "       ##   ## ##"
 #say " #######     ###"
 #say "##          ## ##"
 #say "##         ##   ##"
 #say "######### ##     ##"
}
#ALIAS /over {
 #say " #######  ##     ## ######## ########"
 #say "##     ## ##     ## ##       ##     ##"
 #say "##     ## ##     ## ##       ##     ##"
 #say "##     ## ##     ## ######   ########"
 #say "##     ##  ##   ##  ##       ##   ##"
 #say "##     ##   ## ##   ##       ##    ##"
 #say " #######     ###    ######## ##     ##"
}
#TRIGGER {^QUEST: You may now quest again.} {
 #say " #######"
 #say "##     ##"
 #say "##     ##"
 #say "##     ##"
 #say "##  ## ##"
 #say "##    ##"
 #say " ##### ##"
 spouse QUEST TIME!!!!!!
}
#TRIGGER {^INFO: 5 minutes remaining of bonus experience.} {
 #say "########"
 #say "##"
 #say "##"
 #say "#######"
 #say "      ##"
 #say "##    ##"
 #say " ######"
}
#TRIGGER {^INFO: 1 minute remaining of bonus experience.} {
 #say "  ##"
 #say "####"
 #say "  ##"
 #say "  ##"
 #say "  ##"
 #say "  ##"
 #say "######"
}
#TRIGGER {^Global Quest: Global quest ~# %d has been declared for levels (%d) to (%d).} {
 #say " ######    #######"
 #say "##    ##  ##     ##"
 #say "##        ##     ##"
 #say "##   #### ##     ##"
 #say "##    ##  ##  ## ##"
 #say "##    ##  ##    ##"
 #say " ######    ##### ##"
}
#TRIGGER {^Global Quest: The global quest for levels (%d) to (%d) has now started.} {gq i}
#TRIGGER {^INFO: Bonus experience has now expired.} {/over}
#TRIGGER {^Aardwolf rejoices in the death of another MILLION monsters.} {/doubleexp}
#TRIGGER {^Below the flare, you hear * scream *} {/doubleexp}
#TRIGGER {^Global Quest: The global quest has been won by *.} {#if (@onglobal="true") {/over;#var onglobal {}}}
#TRIGGER {^Global Quest: The global quest has expired. There is no winner.} {/over}
#CLASS 0


Edit:
WHOOPS! Forgot to add in a change to the code where the OVER for the GQ only shows up if you were actually IN the GQ.
As it is now, since aard always shows a gq win even if you couldn't join it, then your gonna get the msgs.
I'll fix it up later.

EDIT #2
Changes made.
Created var called onglobal. that when you join a GQ will set itself to true. when the global finishes you will get the OVER msg, but only if you joined.
For those wondering where the msgs came from check out:
http://www.schnoggo.com/figlet.html
Put in your parameters font type etc and ya can generate yer own.
I don't know what I used because I had this set up when i used TF and I set it up about 6yrs ago.
_________________
http://www.Aardwolf.com
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » Finished MUD Scripts All times are GMT
Page 1 of 1

 
Jump to:  
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

© 2009 Zugg Software. Hosted by Wolfpaw.net