Welcome to the Builder Academy

Question Trigger of the Day - TBA Immortal Greeting

More
17 Apr 2014 14:18 #4850 by Rumble
Code:
Name: 'TBA Greeting - 1301', VNum: [ 1305], RNum: [ 371] Trigger Intended Assignment: Mobiles Trigger Type: Act , Numeric Arg: 1, Arg list: arrives entered appears Commands: * By Rumble of The Builder Academy builderacademy.net 9091 * TBA start room greeting for anyone that enters, poofs, or is transferred. * Simple remote to remember if this is a newbie or someone returning. * Only fire on players. if %actor.is_pc% wait 1 sec * If they have already been greeted welcome them back. if %actor.varexists(TBA_greeting)% say Welcome back %actor.name%. Read through these rooms whenever you need a refresher. * First greeting, give them instructions. else say Welcome to The Builder Academy %actor.name%. wait 1 sec say Within this zone you can learn all the immortal commands and how to build. wait 2 sec say This zone is like a newbie zone, except for gods. All you have to do is walk through the zone and read every room description. wait 3 sec say Be sure to do everything the room descriptions tell you to do. You should read and comprehend everything contained within these walls. * Now create a variable to remember they have been greeted. set TBA_greeting 1 * Save it to the player file. remote TBA_greeting %actor.id% * Give them a trial vnum assigner if they don't have one yet. if !%actor.has_item(1332)% %load% obj 1332 %actor% inv end end 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.

More
18 Apr 2014 03:37 #4851 by Parnassus
Parna's watch list:

Remote: note how it looks for varexists. If variable exists, welcome the person back. If it does not, welcome the person and remote it to the person's file.

Ifcheck for item (also the use of ! for the negative) along with loading it into inventory.

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

Time to create page: 0.169 seconds