I have watched alot of people come into the server and type !t !ct into chat expecting to be moved to the team they wish. so i have created a basic eventscripts mod to do this.
these commands are now active in the dust2 server.Code:block load { sm_say swap 1.0.Beta by siosios/n00b Unlimited Loaded } event round_end { es_delayed 20 es_xmsg #multi #green [Team-Swap] #default If you would like to swap teams use !t !ct or !spec in chat } event player_say { if (event_var(text) == !t) do { es_changeteam event_var(userid) 2 es_msg #multi #green [Team-Swap] #default Swapping Player #lightgreen event_var(es_username) #default To team #green T! } if (event_var(text) == !ct) do { es_changeteam event_var(userid) 3 es_msg #multi #green [Team-Swap] #default Swapping Player #lightgreen event_var(es_username) #default To team #green CT! } if (event_var(text) == !spec) do { es_changeteam event_var(userid) 1 es_msg #multi #green [Team-Swap] #default Swapping Player #lightgreen event_var(es_username) #default To team #green spectator! } }
in chat type one of the following in order to change teams: !t !ct !spec
thanks & have fun
siosios
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks