|
alaric Novice
Joined: 13 Aug 2005 Posts: 32 Location: Cherry Point, NC
|
Posted: 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) |
|
|
|
|
Tech GURU
Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: 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! |
|
|
|
|
|