Welcome to the Builder Academy

Question Trigger of the Day - If Elseif Else End Example

More
01 Dec 2012 16:43 #1106 by Rumble
Code:
Name: 'if/elseif/else Example', VNum: [ 93], RNum: [ 93] Trigger Intended Assignment: Rooms Trigger Type: Enter , Numeric Arg: 100, Arg list: None Commands: if %actor.is_pc% wait 1 sec if %actor.sex% == male %echo% male elseif %actor.sex% == female %echo% elseif female else %echo% else neutral end else %echo% mob 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.354 seconds