Adminmod Scripting

MayhemMayhem Join Date: 2002-11-28 Member: 10128Members
Does anyone know if execclient is disabled for ns? I'm writing a script that uses it and the client's console log shows the server running XXX command for it. The client sees the command in console but nothing happens. It won't even output a say command from execclient.. Is there anything special I gotta do to make that work? Also I've seen AMX-MOD has a client_cmd that apparently works according to another script bundle in these forums.. <!--emo&::gorge::--><img src='http://www.unknownworlds.com/forums/html/emoticons/pudgy.gif' border='0' valign='absmiddle' alt='pudgy.gif'><!--endemo--> Help the fatty out!

Comments

  • r3v0luti0nr3v0luti0n Join Date: 2002-12-11 Member: 10528Members
    what command are you trying to do?
  • j0ej0e Join Date: 2002-11-01 Member: 2840Banned
    admin_execclient works in NS
  • HtNickoliHtNickoli Join Date: 2002-11-24 Member: 9786Members
    Yes both admin_execclient and admin_execclientall works on admin_mod for me. Of course you must go through the server console todo it. Or rcon admin_command admin_execclient.
  • MayhemMayhem Join Date: 2002-11-28 Member: 10128Members
    I was using execclient(User, Command); I guess I'll try admin_execclient(); Thanks for the suggestion
  • MayhemMayhem Join Date: 2002-11-28 Member: 10128Members
    I haven't been able to use rcon admin_command admin_execclient in my script, whats the trick?
  • BioHazardBioHazard Join Date: 2002-11-07 Member: 7495Members
    you dont need to do admin_rcon
    setup your user.ini correctly and you can use for example.

    a user named joe is being a butt and you want to help him leave your server without looking mean because after all he is a friend but you do want him gone you could do

    admin_execclient joe quit

    that would cause the user to quit out of halflife fully. so.. you didnt ban him or kick him but his HL just shutdown. he steps back and goes "uh oh.. my HL just quit, i better check for virii"

    anyways.. all you need to do is admin_execclient "wonid" "command"
    if you need help with adminmod or the scripting just im me through the board or email me at biohazard@clan-dg.net this isn't the place for AM questions.
  • r3v0luti0nr3v0luti0n Join Date: 2002-12-11 Member: 10528Members
    what command in the script are you trying to run?
  • j0ej0e Join Date: 2002-11-01 Member: 2840Banned
    <!--QuoteBegin--BioHazard+Jan 8 2003, 10:35 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (BioHazard @ Jan 8 2003, 10:35 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->a user named joe is being a butt<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    hey! <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' valign='absmiddle' alt='tounge.gif'><!--endemo-->
  • BioHazardBioHazard Join Date: 2002-11-07 Member: 7495Members
    oops.. my bad <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo-->

    it was a different joe i swear...

    /me slaps self with a trout
  • ArkaineArkaine Join Date: 2002-07-12 Member: 914Members
    edited January 2003
    Have you enabled it in the configuration file? <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo-->
    I believe it's <b>allow_client_exec 1</b>.
Sign In or Register to comment.