# SMS_schedules if $ARGS[0] = 'cikl': if nerd_game['invite_day'] < daystart and week = 1: if nerd_game['first_SMS_received'] = 0: if arrpos('$contact', 'A152') = -1: gs 'telefon', 'AddContact', 'A152', 'icon_na', 1 gs 'telefon', 'SetSMSSchedule', 'A152', "", "0", "gs 'nerd_game_night', 'game_invite_sms_switch'", "totminut > <>" end if year = 2017 and month = 6 and gopnikbandQW['on_tour'] = 0: gopnikbandQW['on_tour'] = 1 if npc_rel['A144'] >= 50 and arrpos('$contact', 'A144') < 0: gs 'telefon', 'AddContact', 'A144', 'icon_na', 1 elseif gopnikbandQW['on_tour'] = 1 and year = 2017 and month = 8 and day => 19: gopnikbandQW['on_tour'] = 0 end if gopnikbandQW['on_tour'] = 1 and npc_rel['A144'] >= 50 and anushkaQW['tour_SMS_send'] < daystart and anushkaQW['num_tour_SMS_send'] < 11: if anushkaQW['num_tour_SMS_send'] <= 9 and week = 6: gs 'telefon', 'SetSMSSchedule', 'A144', "", "0", "gs 'band_tour_anushka_SMS', 'start'", "totminut > <>" elseif anushkaQW['num_tour_SMS_send'] = 10 and week = 2: gs 'telefon', 'SetSMSSchedule', 'A144', "", "0", "gs 'band_tour_anushka_SMS', 'start'", "totminut > <>" end end end --- SMS_schedules ------------------------------------------