Code:
Name: 'Mob Greet Example', VNum: [ 66], RNum: [ 66]
Trigger Intended Assignment: Mobiles
Trigger Type: Greet , Numeric Arg: 100, Arg list: None
Commands:
* By Rumble of The Builder Academy tbamud.com 9091
* To make a trigger fire only on players use:
if %actor.is_pc%
say Hello, and welcome, %actor.name%
end
* Check what direction they came from.
if %direction%
say Hello, %actor.name%, how are things to the %direction%?
else
* If the character popped in (word of recall, etc) this will be hit
say Where did YOU come from, %actor.name%?
end
if %direction% == down
say Ah, hello %actor.name% I have been waiting for you. Go learn to build.
%teleport% %actor% 1300
%force% %actor% look
end
if %actor.name% == Rumble
say Make yourself comfortable %actor.name%.
else
say get lost %actor.name%.
end
for TBA.