1
Modifications / Re: *Scripting Thread*
« on: February 19, 2018, 08:57:21 am »I need a little help with using game chat as a trigger to set a numeric variable, basically I would like to be able to type: /left 5 and /right 6 and have it set a global that I can then use later:
(try_begin),
(eq, "$g_left", 5),
(try_begin),
(eq, "$g_right", 6),
But only so admins can use it, so maybe just checking admin chat would be the easiest (would probably help if all players could see the change).
You can use WSE https://forums.taleworlds.com/index.php/topic,324890.0.html