Jerkuh
Knight

This script i wrote is a server side script, it sends a message to all the players who create the poll and where he votes for.
It simply sends the message that is added in the server log to all the players.
This is handy for the battle against poll abuse so you can talk straight to the people that keep calling polls every new map.
you need to add the part between "#Begin Send Log Message" and "#End Send Log Message" on the location where it is now.
You can find this code in module_scripts.py in the game receive message script.
Experiencing any problems please report to me and I'll try to help you.
It simply sends the message that is added in the server log to all the players.
This is handy for the battle against poll abuse so you can talk straight to the people that keep calling polls every new map.
you need to add the part between "#Begin Send Log Message" and "#End Send Log Message" on the location where it is now.
You can find this code in module_scripts.py in the game receive message script.
Code:
(assign, "$g_multiplayer_poll_running", 1),
(assign, "$g_multiplayer_poll_ended", 0),
(assign, "$g_multiplayer_poll_num_sent", 0),
(assign, "$g_multiplayer_poll_yes_count", 0),
(assign, "$g_multiplayer_poll_no_count", 0),
(assign, "$g_multiplayer_poll_to_show", ":value"),
(assign, "$g_multiplayer_poll_value_to_show", ":value_2"),
(try_begin),
(eq, ":value", 3),
(assign, "$g_multiplayer_poll_value_2_to_show", ":value_3"),
(assign, "$g_multiplayer_poll_value_3_to_show", ":value_4"),
(else_try),
(eq, ":value", 4),
(assign, "$g_multiplayer_poll_value_2_to_show", ":value_3"),
(assign, "$g_multiplayer_poll_value_3_to_show", -1),
(else_try),
(assign, "$g_multiplayer_poll_value_2_to_show", -1),
(assign, "$g_multiplayer_poll_value_3_to_show", -1),
(try_end),
(store_add, ":poll_disable_until", ":mission_timer", multiplayer_poll_disable_period),
(player_set_slot, ":player_no", slot_player_poll_disabled_until_time, ":poll_disable_until"),
(store_add, "$g_multiplayer_poll_end_time", ":mission_timer", 60),
(get_max_players, ":num_players"),
(try_for_range, ":cur_player", 0, ":num_players"),
(player_is_active, ":cur_player"),
(player_set_slot, ":cur_player", slot_player_can_answer_poll, 1),
(val_add, "$g_multiplayer_poll_num_sent", 1),
(multiplayer_send_4_int_to_player, ":cur_player", multiplayer_event_ask_for_poll, "$g_multiplayer_poll_to_show", "$g_multiplayer_poll_value_to_show", "$g_multiplayer_poll_value_2_to_show", "$g_multiplayer_poll_value_3_to_show"),
#Begin Send Log Message
(try_begin),
(eq, ":value", 1), #kicking a player
(multiplayer_send_string_to_player, ":cur_player", multiplayer_event_show_server_message, "str_poll_kick_player_s1_by_s0"),
(else_try),
(eq, ":value", 2), #banning a player
(multiplayer_send_string_to_player, ":cur_player", multiplayer_event_show_server_message, "str_poll_ban_player_s1_by_s0"),
(else_try),
(eq, ":value", 0), #vote for map
(multiplayer_send_string_to_player, ":cur_player", multiplayer_event_show_server_message, "str_poll_change_map_to_s1_by_s0"),
(else_try),
(eq, ":value", 3), #vote for map and factions
(multiplayer_send_string_to_player, ":cur_player", multiplayer_event_show_server_message, "str_poll_change_map_to_s1_and_factions_to_s2_and_s3_by_s0"),
(else_try),
(eq, ":value", 4), #vote for number of bots
(multiplayer_send_string_to_player, ":cur_player", multiplayer_event_show_server_message, "str_poll_change_number_of_bots_to_reg0_and_reg1_by_s0"),
(try_end),
#End Send Log Message
(try_end),
(try_end),
Experiencing any problems please report to me and I'll try to help you.