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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
alaric
Novice


Joined: 13 Aug 2005
Posts: 32
Location: Cherry Point, NC

PostPosted: Thu Oct 20, 2005 9:38 pm   

complex gaging
 
On my MUD, we type spell to see a list of available spells to be learned at various levels. Does anyone know if there is a way to make a gag that I can type spell or some alias to that extent...then the specific spell I am looking for, and it will gag everything but the line that spell is on? Example:

spell acid blast or
spell infravision

This is what my spell list looks like.

Code:
Innate    - detect magic        (mastered)    faerie fire         (mastered)   
            faerie fog          (mastered)   
Amateur   - armor               (mastered)    change sex          (good)       
            detect buried       (mastered)    magic missile       (fair)       
            ventriloquate       (very good)   
Novice    - color spray         (superb)      continual light     (very good)   
            detect hidden       (mastered)    detect invis        (mastered)   
            fly                 (mastered)    invis               (mastered)   
Initiate  - enlarge             (mastered)    giant strength      (fair)       
            identify            (mastered)    infravision         (superb)     
            shrink              (superb)      sleep               (good)       
Apprentice- acid blast          (mastered)    cancellation        (mastered)   
            mirror image        (mastered)    shield              (mastered)   
            teleport            (superb)      understand          (superb)     
Journeyman- airy water          (mastered)    charm person        (superb)     
            dispel magic        (mastered)    etherealform        (mastered)   
            haste               (average)     tongues             (superb)     
Veteran   - locate object       (good)        mass invis          (very good)   
            polymorph           (mastered)    summon              (superb)     
Expert    - detect aura         (not learned) enchant armor       (superb)     
            enchant weapon      (superb)      recharge            (good)       
Mentor    - depetrification     (not learned) gate                (superb)     
            petrification       (not learned) spell ward          (superb)     
Master    - final strike        (not learned)
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Fri Oct 21, 2005 1:43 am   
 
Try this...

#TR SpellGag {(*)} {#IF (%pos(@MySpell, %1) == 0) {#GAG } }

Of course you'll have to turn on this trigger well when you issue the spells command.
_________________
Asati di tempari!
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion 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