Skip to content

Deno library to ease the creation of RhostMUSH Execscripts

License

Notifications You must be signed in to change notification settings

RhostMUSH/deno-rhost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a library for Deno[1] to make it easier to write execscript scripts for
RhostMUSH[2], by pre-processing the myriad environment variables, and giving a
print() function that munges Unicode into the Rhost-native markup.

[1] https://deno.land/
[2] http://rhostmush.com/

Sample of use:

const Rhost = await import("https://raw.githubusercontent.com/RhostMUSH/deno-rhost/master/rhost.js")
try {
	var environment = Rhost.environment()
	Rhost.print(`You are using a server with execscript version: ${environment.version}`)
} catch(e) {
	Rhost.print("Failed parsing Rhost execscript data")
	Rhost.print(e)
}

About

Deno library to ease the creation of RhostMUSH Execscripts

Resources

License

Stars

Watchers

Forks

Packages

No packages published