How would you check if a server has an add on client sided?
I imagine, this is to check for an add-on, you will make? if so, as phflack said, you would need serversided code, something as simple as
function serverCmdMyModCheck(%client)
{
commandToClient(%client, 'HasMyMod', 1);
}
then on you're client-sided script
function checkForMyMod()
{
commandToServer('myModCheck');
}
function clientCmdHasMyMod()
{
//if has mod
doStuff();
}
So uppon joining the server, you would call checkForMyMod(), then this would send the command to the server, if the server has the mod, the server will reply activating the clientCmdHasMyMod()
Hope this helps :)