Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add old GMCP Enabled Script #91

Open
iLPdev opened this issue Jul 20, 2020 · 0 comments
Open

Add old GMCP Enabled Script #91

iLPdev opened this issue Jul 20, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request someday maybe Possible features and possible projects

Comments

@iLPdev
Copy link
Owner

iLPdev commented Jul 20, 2020

This is the XML for my old GMCP Enabled script. It's technically more accurate that what is in discMapper currently, because it only runs when the sysProtocolEnabled event fires and the protocol is, in fact, GMCP. I'm just too tired ATM to mess with it.

<Script isActive="no" isFolder="no">
	<name>dsGMCPEnabled</name>
	<packageName></packageName>
	<script>function dsGMCPEnabled(_, protocol)
		if protocol == "GMCP" then
		map.echo("  - GMCP Enabled")
	end
end</script>

<eventHandlerList>
	<string>sysProtocolEnabled</string>
</eventHandlerList>
@iLPdev iLPdev added enhancement New feature or request someday maybe Possible features and possible projects labels Jul 20, 2020
@iLPdev iLPdev self-assigned this Jul 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request someday maybe Possible features and possible projects
Projects
None yet
Development

No branches or pull requests

1 participant