public override void OnTimerTick() { if (this.int_2 <= 0) { if (base.method_3() != null && base.method_3().list_0.Count > 0) { RandomSpeech @class = base.method_3().method_3(); base.GetRoomUser().HandleSpeech(null, @class.Message, @class.Shout); } this.int_2 = HabboIM.smethod_5(0, 150); } else { this.int_2--; } if (this.int_3 <= 0) { int int_ = HabboIM.smethod_5(0, base.method_1().RoomModel.int_4); int int_2 = HabboIM.smethod_5(0, base.method_1().RoomModel.int_5); base.GetRoomUser().MoveTo(int_, int_2); this.int_3 = HabboIM.smethod_5(0, 30); } else { this.int_3--; } }
public override void OnTimerTick() { if (this.int_2 <= 0) { if (base.method_3().list_0.Count > 0) { RandomSpeech @class = base.method_3().method_3(); base.GetRoomUser().HandleSpeech(null, @class.Message, @class.Shout); } this.int_2 = HabboIM.smethod_5(10, 300); } else { this.int_2--; } if (this.int_3 <= 0) { string text = base.method_3().WalkMode.ToLower(); if (text != null && !(text == "stand")) { if (!(text == "freeroam")) { if (text == "specified_range") { int int_ = HabboIM.smethod_5(base.method_3().min_x, base.method_3().max_x); int int_2 = HabboIM.smethod_5(base.method_3().min_y, base.method_3().max_y); base.GetRoomUser().MoveTo(int_, int_2); } } else { int int_ = HabboIM.smethod_5(0, base.method_1().RoomModel.int_4); int int_2 = HabboIM.smethod_5(0, base.method_1().RoomModel.int_5); base.GetRoomUser().MoveTo(int_, int_2); } } this.int_3 = HabboIM.smethod_5(1, 30); } else { this.int_3--; } }