Help with Custom API

I need a command that allows you to type !exp # (example 20) !exp 20
And it outputs 2/3s of the number on both sides.

Example:
!exp 20
You can hunt with anyone from Level: 13 - Level: 31 at Level: 20.

Is this a possibility? I’ve tried to read everywhere and can’t find it.

You should take a look at [CustomAPI] Math expressions.

Here is a quick example that just about matches what you asked for:
You can hunt with anyone from Level: $(urlfetch http://twitch.center/customapi/math?expr=round($(querystring)*2/3)) - Level: $(urlfetch http://twitch.center/customapi/math?expr=round($(querystring)/(2/3))) at Level: $(querystring).

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