CODE |
from.Prompt = new MyPrompt( this ); |
CODE |
public class MyPrompt: Prompt { private MyClass m_source; public MyPrompt( MyClass source) { m_source= source; } public override void OnResponse( Mobile from, string text ) { // do whatever you want with the text response } } |