hello, it's possible to do that if i type in mirc "func op("#channel","nick")" bot ops nick on #channel?
$funk = 'op("#channel","nick")'; $func = "$irc->".$funk
how to run $func? possible? thank you
what you probably want is the eval() function in PHP.. check the PHP maual for that...
can u write example? because it do not wanna work to me, maybe i do something wrong... thank you
learn PHP and read the PHP manual... SmartIRC has more than enough examples and documentation...
Log in to post a comment.
hello,
it's possible to do that if i type in mirc "func op("#channel","nick")" bot ops nick on #channel?
$funk = 'op("#channel","nick")';
$func = "$irc->".$funk
how to run $func? possible?
thank you
what you probably want is the eval() function in PHP.. check the PHP maual for that...
can u write example? because it do not wanna work to me, maybe i do something wrong...
thank you
learn PHP and read the PHP manual... SmartIRC has more than enough examples and documentation...