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
Jebikoje
Beginner


Joined: 07 Feb 2004
Posts: 10
Location: USA

PostPosted: Tue Mar 23, 2004 10:26 pm   

Can someone please help me with this?
 
I want to create my own dictionary in zmud, but I cannot figure out how to use #ONINPUT so that everyone else sees the word that replaces what I typed. Basically, I want to know how to make it so that if I type:

say Hello there.

It can replace it with this for everyone else to see:

say Greetings fellows.

That's just an example, sorry it's so lame, but I wanna be able to not only replace the first word, but additional words after that in the same sentence. I'm having a hell of a time trying to get it to work. Please help me, and make sure that the letters that I capitalize are actually capitalized. For instance:

say Hello there. I'm with the War Clan.

And it spits out:

say Greetings fellows. I'm with the Warrior Cabal.

I dunno, if you have questions, you can either email me or just post here again. Jebikoje@hotmail.com Thanks for any help you can give me.
Reply with quote
Talahaski
Enchanter


Joined: 10 Oct 2000
Posts: 656
Location: USA

PostPosted: Tue Mar 23, 2004 10:37 pm   
 
You can use a Alias instead of using ONIMPUT. Honestly I have never used onimput.

For a alias, try setting something like this.

Alias: say
Script:#if ({%1}="Hello there.") {#send ~say Greetings fellows}



don't forget the ~ in front of the "say Greetings fellows", else you could end up with a loop.
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