Menu

commands

Help
2003-03-08
2003-03-10
  • Nobody/Anonymous

    hello,
    it's possible to do that if i type in mirc "func op("#channel","nick")" bot ops nick on #channel?

     
    • Nobody/Anonymous

      $funk = 'op("#channel","nick")';
      $func = "$irc->".$funk

      how to run $func? possible?
      thank you

       
    • Mirco Bauer

      Mirco Bauer - 2003-03-10

      what you probably want is the eval() function in PHP.. check the PHP maual for that...

       
    • Nobody/Anonymous

      can u write example? because it do not wanna work to me, maybe i do something wrong...
      thank you

       
    • Mirco Bauer

      Mirco Bauer - 2003-03-10

      learn PHP and read the PHP manual... SmartIRC has more than enough examples and documentation...

       

Log in to post a comment.