PHP urlfetch $(touser) not working as should?

What am I doing wrong here?

Custom Nightbot command for !test

$(urlfetch$(querystring $(touser)))

Code on

echo "hello " . $_GET['user'];
  • When giving !test it will nicely echo back "hello username*

  • Problem… When a user does !test blabla it will echo back “hello blabla


Use $(querystring $(user)) instead of $(querystring $(touser))

1 Like

Will give it a go.

Thank you.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.