Top Mud Sites Forum Return to
Go Back   Top Mud Sites Forum > Mud Development and Administration > MUD Coding
Click here to Register

Thread Tools
Old 03-16-2003, 01:25 AM   #1
New Member
Join Date: Apr 2002
Posts: 14
Jaegar is on a distinguished road
I am working on a Rom2.4 mud and have a builder asking if there is a way to add a command trigger into the mprog/oprog/rprog code.  Here is the note he left me.

The "command" flag.  this would make a prog trigger when the player enters a command.
Such as "enter waterfall".  By typing that, the player would trigger the program.

Does anyone have any idea how this could be accomplished?  Any assistance would be very much appreciated.

Thanks in advance,

Jaegar is offline   Reply With Quote
Old 04-03-2003, 06:41 PM   #2
New Member
Join Date: Apr 2002
Location: Atlanta, GA
Posts: 8
LordKiev is on a distinguished road
Send a message via AIM to LordKiev
I'm not sure, I'm not an MPROG person, but instead, look at the logical result of that command. Use 'act' for entering a waterfall (if act even travels on moves, I'm not sure) to grab player moves. I also know there's a trigger for exit/enter. But instead of catching 'give (xyz) 100 silvers', trigger on the result from that.
LordKiev is offline   Reply With Quote

Thread Tools

Command trigger for progs - Similar Threads
Thread Thread Starter Forum Replies Last Post
Trigger only Client Ozzyman MUD Coding 0 01-29-2006 05:07 PM
Some notes on mob progs {codeheavy} erdos MUD Coding 5 06-28-2004 09:15 AM
Jog Command Jaegar MUD Coding 4 04-09-2004 04:41 AM
ZMUD Trigger ?coding? Torridon Newbie Help 7 08-20-2003 11:54 AM
Switch command Verboden Faction MUD Coding 8 05-15-2003 09:31 PM

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

All times are GMT -4. The time now is 05:16 AM.

Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Style based on a design by Essilor
Copyright Top Mud 2014