Toribash
Original Post
Lua: Calling mod name?
I'm not really a beginner, but I want to get back in to scripting, and I think making scripts for Toribash may be a good start.
But how would I call the name of the current mod on a multiplayer game?
Like... if I wanted to show what the mod was, how would I do that without going to the Game Rules menu, and have it shown in the chat?
I know how to show things in the chat, but that's all.
The get_game_rules() function returns a table containing a bunch of game rule info.
To get the current mod, you'd use something like:

lua code:
current_mod = get_game_rules().mod
echo("current mod: " .. current_mod)
multiple texture uploader! updated: multiple texture remover!
updated pretty colorlist!

<BobJoelZ> ok ive just rebooted my pc and ive tried to activate my reflex on yahoo internet explorer :/ no luck

<Aracoon> I do not enjoy having anal sex with multiple men