Welcome to the Builder Academy

Question Trigger of the Day - Room Command Look

More
21 Feb 2014 17:17 #4709 by Rumble
Code:
Name: 'Command Example', VNum: [ 25], RNum: [ 25] Trigger Intended Assignment: Rooms Trigger Type: Command , Numeric Arg: 100, Arg list: l Commands: * By Rumble of The Builder Academy tbamud.com 9091 * A command trigger to demonstrate basic usage. The Arg list 'l' will capture * any 'l' word. We are looking specifically for the MUD command (all commands * are listed under COMMANDS) 'look' with the abbreviated argument of 'window.' if %cmd.mudcommand% == look && window /= %arg% %echo% %actor.name% typed %cmd% to %cmd.mudcommand% at the %arg%. else * Without this return zero a player would be unable to look at anything else * in the room, leave, list, etc. return 0 end
If this was helpful please vote or leave a review for TBA.

Rumble
The Builder Academy
tbamud.com 9091
rumble@tbamud.com

Please Log in or Create an account to join the conversation.

Time to create page: 0.194 seconds