Welcome to the Builder Academy

Question Trigger of the Day - Special Variables

More
22 Dec 2013 01:51 #4580 by Rumble
Code:
Name: 'Special Variables Example', VNum: [ 31], RNum: [ 31] Trigger Intended Assignment: Rooms Trigger Type: Speech , Numeric Arg: 100, Arg list: * Commands: * By Rumble of The Builder Academy tbamud.com 9091 * A listing and demonstration of all special variables. %echo% SELF ID: %self.id% %echo% HOUR: %time.hour% %echo% DAY: %time.day% %echo% MONTH: %time.month% %echo% YEAR: %time.year% %echo% PEOPLE: %people.3% %echo% RANDOM NUM: %random.99% %echo% RANDOM PC: %random.char% %echo% SPEECH: %speech% %echo% FINDOBJ: There are %findobj.3(33)% objects of vnum 33 in room 3. %echo% There are %findobj.3(guide)% objects of name guide in room 3. %echo% FINDMOB: There are %findmob.3(33)% mobs of vnum 33 in room 3.
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.170 seconds