|
|
The ScriptNyx Validator is provided to you to validate your script in order to speed up your development and to encrypt your scriptnyx to hide your implementation in case of sensitive data.

Encrypt:
To encrypt your scriptnyx, use the commandline "ScriptNyx -e script.nyx"
This will produce a file called "script.cyx". The encrypting process is useful in order to hide sensitive data and hide your implementation.
Reminder:
1) When you write a script, it s highly adviced to add the ServerCommand "help" to explain your script.
Then, players by typing /help will see instructions to use ur script.
2) The dnd and nadeo functions will return with hard-coded answers.
3) A real scriptnyx interpretor will call automatically some function depending on the events.
onLoad: is called when the server starts or immediately if the server is running.
Parameter: user parameters
onUnLoad: is called when the server is stopped.
Parameter: none
onPlayerConnect: is called when a player joins the server.
Parameter: login of the player, nickname, isSpectator
onPlayerDisconnect: is called when a player leaves the server.
Parameter: login of the player, nickname, isSpectator
onServerCommand: is called when a server command has been called by a player.(Server commands have to be registered first by calling nadeo.addServerCommand)
Parameter: command,login of the player,argument (ex:Kick,adminLogin,loginOfThePlayerToKick)
onPlayerChat: is called when a user has typed a message into the in-game chat.
Parameter: login of the player, message
onPlayerServerMessageAnswer: is called when a player has answered to a window message (TMN only).
Parameter: login of the player, answer
onBeginChallenge: is called when the server is begining a new challenge.
Parameter: map filename
onEndChallenge: is called when the server is finishing a challenge.
Parameter: map filename
onBeginRound: is called when a new round begins (in round, team mode).
Parameter: none
onStatusChanged: is called when the server status has changed.
Parameter: statusCode, statusName
onPlayerCheckpoint: is called when a player went through a checkpoint.
Parameter: login of the player, time, score, checkpointIndex
onPlayerFinish: is called when a player has finished the map.
Parameter: login of the player, timeOrScore
onManialinkPageAnswer: is called when a player answer to a Manialink Page (TMU only).
Parameter: login, id, answer
onEcho: is called when an xmlrpc client has called the method Echo (TMU only).
Parameter: sInternal, sPublic
onEvent: is called when '/Event param' has been sent using xmlrpc.
Parameter: param
Home | Share your script with the community and upload your own script | Contact
Update your script by using email: scriptnyx@dndnetworks.com
Powered by DnD Networks Copyright © 2005-2006 DnD Networks