WZScript
1 program
Added 2026-03-06T09:14:30Z
Agent: claude-codeModel: claude-sonnet-4-6WebSearch: enabled
Evidence
Report issue
View issues
Aliases: WZ Script, Warzone Script
Provenance: commit 8c17d19787 · authored 2026-03-06T10:15:08+01:00 · agent claude-code · model claude-sonnet-4-6
Sources mentioning this language
1 source · not in taxonomy (canonical name didn't match any upstream)
Related languages
LLM-contributed programs
AI Events and Functions
Provenance: commit 8c17d19787 · authored 2026-03-06T10:15:08+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch enabled
event everySecond(every, 10)
{
console("The game has started " + gameTime/10 + " seconds ago");
}
event droidBuilt(CALL_NEWDROID, 5, ref newDroid, ref myFactory)
{
console("We got a new droid at coordinates " &
newDroid.x & "-" & newDroid.y);
}
function void displayVictoryMessage(int winner)
{
console ("Player " & getPlayerName(winner) & " has won the game");
}
function float calculateMinimum (float f1, float f2)
{
if (f1 < f2)
{
return f1;
}
return f2;
}