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
Morten
Apprentice


Joined: 17 Feb 2001
Posts: 119
Location: Denmark

PostPosted: Tue Feb 05, 2002 11:28 pm   

#gag
 
how can i gag this:

Weight (in lbs): You[352] + EQ[50] = Total[402], Capacity[26%]
[+-+ General items +-+]
(1) Yellow healing herb
(3) Willow bark
(4) Mandrake root
(1) Yellow cactus
(1) Blue daisy
(1) Dwarf pinecone
(1) Silver edelweis
(1) Tinning kit (kept)
[+-+ Gems +-+]
(1) Large clear rock crystal
(2) Huge bright green emerald
(1) Huge yellowish pearl
(1) Large pastel blue quartz
[+-+ Weapons +-+]
(1) Yugo's shamanic staff (wielded)
[+-+ Armors +-+]
(1) Lightning Belt (kept)
(1) Quarks Demonhide (kept)
(1) Whispering ring (kept)
(1) Ruby ring (kept)
(1) Dragon Leggings (kept)
(1) Silver helm (kept)
(1) Twisted gloves of Kraag (kept)
(1) Ceremonial Armbands of Mitra (kept)
(1) White stole of a priest of Mitra (kept)
(1) Elaborate boots of Frith (kept)
(1) Really Wicked Witch Robe (kept)
(1) Stylish pair of spectacles (kept)
(1) Small iron amulet (kept)
HP 946/946 SP: 1476/1476>

i just want it to gag when i press a special button and not if i want to see the inv.

Yugo Sangori
Reply with quote
TonDiening
GURU


Joined: 26 Jul 2001
Posts: 1958
Location: Canada

PostPosted: Tue Feb 05, 2002 11:47 pm   
 
Depends how much of it you wish to #gag.
I would make a class folder with the triggers
in it and a button to toggle it on/off.

You could clear a lot of it up with
#TRIGGER {^~(%d~) } {#GAG} "gaginvclassfolder"
#TRIGGER (^~[~+~-~+} {#GAG} "gaginvclassfolder"


That would leave you the weight and categories.
Weight (in lbs): You[352] + EQ[50] = Total[402], Capacity[26%]

added 6:49pm
Forgot the button:
#BU InvGaggerButton {InvGag Off} {#T+ gaginvclassfolder} {InvGag On} {#T- gaginvclassfolder}
TonDiening
Uses 6.16
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Wed Feb 06, 2002 6:50 pm   
 
If your MUD supplies a blank line following the prompt you could use the #GAGBLOCK before the inventory command in your button.

Otherwise, you can use #GAGON before the inventory command with a prompt trigger to do #GAGOFF when you receive the prompt.

LightBulb
All scripts untested unless otherwise noted
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