Editing Commshare
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 33: | Line 33: | ||
|Kick || <var>playerID</var> || Forces <var>playerID</var> to unmerge, requires teamleader. | |Kick || <var>playerID</var> || Forces <var>playerID</var> to unmerge, requires teamleader. | ||
|- | |- | ||
− | |Remerge || None || Causes you to remerge if you were disconnected | + | |Remerge || None || Causes you to remerge if you were disconnected/kicked from game. |
|- | |- | ||
|Unmerge || None || Causes you to unmerge. | |Unmerge || None || Causes you to unmerge. | ||
|} | |} | ||
− | === Getting invites === | + | === TeamRulesParam: Getting invites === |
Invites are stored in <syntaxhighlight lang="lua" inline>TeamRulesParam</syntaxhighlight> as private data. It is stored as if it were an ordered table. | Invites are stored in <syntaxhighlight lang="lua" inline>TeamRulesParam</syntaxhighlight> as private data. It is stored as if it were an ordered table. | ||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
!Param!!class="unsortable"|Info!!class="unsortable"|Notes | !Param!!class="unsortable"|Info!!class="unsortable"|Notes | ||
|- | |- | ||
− | |<syntaxhighlight lang="lua" inline>commshare_invitecount</syntaxhighlight> || # of invites || Get this first, then do a <syntaxhighlight lang="lua" inline>for i = 1, commshare_invitecount</syntaxhighlight> loop. | + | |<syntaxhighlight lang="lua" inline>commshare_invitecount</syntaxhighlight> || # of invites || Get this first, then do a <syntaxhighlight lang="lua" inline>for i=1,commshare_invitecount</syntaxhighlight> loop. |
|- | |- | ||
|<syntaxhighlight lang="lua" inline>"commshare_invite_" .. i .."_id"</syntaxhighlight> || ID of the player who sent the invite || | |<syntaxhighlight lang="lua" inline>"commshare_invite_" .. i .."_id"</syntaxhighlight> || ID of the player who sent the invite || |