Top Mud Sites Forum Return to TopMudSites.com
  Top Mud Sites Forum > Mud Development and Administration > MUD Coding
Read-only archive
The Top Mud Sites forum is closed.
Posting, registration and logins are disabled.

 
Old 03-16-2003, 01:25 AM   #1
Jaegar
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
 
Old 04-03-2003, 06:41 PM   #2
LordKiev
New Member
 
Join Date: Apr 2002
Location: Atlanta, GA
Posts: 8
LordKiev is on a distinguished road
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.
 



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


All times are GMT -4.


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Style based on a design by Essilor
Copyright Top Mud Sites.com 2022