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


Joined: 29 Dec 2000
Posts: 146
Location: USA

PostPosted: Tue Nov 21, 2006 1:31 am   

input window ?
 
This must be a strange request, cause I've searched, and can't find antything on it.

I have a set of identify triggers that I use to automatically enter items into a DB when I identify them.

The issue is, the mudd has a lot of quests, and being able to find small items is very helpfull. -- Nowhere in the identify process does it list any info about where the item came from.

What I would like to do is setup something that when I identify something, It pops back a question window saying where did you find @item. but I can't find any way to do this in zmud.

also -- the mudd is large enough, that I go days without getting back to town, and carying 100 identify scrolls around get cumbersome, so I keep items in my inventory, and identify them when I get to town.

any help would be appreciated.
thanks
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Tue Nov 21, 2006 3:40 am   
 
Sounds like a perfect situation for %prompt().

Answer = %prompt(optional_default_value, "text to show the user, explaining what to do")

I would make an #oninput trigger for the identify command with a second state equating to your prompt. In this prompt state, you'd then do the %prompt() stuff and handle all your add-to-DB stuff.
_________________
EDIT: I didn't like my old signature
Reply with quote
ecourt
Apprentice


Joined: 29 Dec 2000
Posts: 146
Location: USA

PostPosted: Tue Nov 21, 2006 2:08 pm   
 
cool -- that works like a charm -- thanks much
I had searched through the list of commands for a while, but could never find it.

Thanks!
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