1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | function PlatzerLogic { You.SmokeWeed = 1; if ( !You.SmokeWeed ) { sprintf ("You're a saint you've payed well and you're free to go."); end; else if ( You.SmokeWeed ) { sprintf ("You cannot do anything valuable in your life."); sprintf ("\r you now deserve to be in jail."); end; } } } stclair,0,0,0 script CourtRoom -,{ OnInit: callfunc ("PlatzerLogic"); end; } |