Ulysses

General => Developers Corner => Topic started by: Lisa Rompaey on January 28, 2015, 11:27:29 AM

Title: How do I make it so when someone joins a steam group, they gets points?
Post by: Lisa Rompaey on January 28, 2015, 11:27:29 AM
So basically I'd like to know what I need to add and to what lua code to give them points when they join the group.
I suppose it'd be in my cc_menus.lua folder where the command !steam is located.

This is my lua code:

Code: [Select]
function ulx.steam( calling_ply )

calling_ply:SendLua([[gui.OpenURL( "]] .. GetConVarString("steam_url") .. [[" )]])

end


local steam = ulx.command( "Menus", "ulx steam", ulx.steam, "!steam" )
steam:defaultAccess( ULib.ACCESS_ALL )
steam:help( "For joining the steam group." )
Title: Re: How do I make it so when someone joins a steam group, they gets points?
Post by: Bytewave on January 28, 2015, 02:33:02 PM
The search function of the forums is a beautiful tool. (http://forums.ulyssesmod.net/index.php/topic,7247.msg36521.html#msg36521)