I basically need just the access token for this, looking to make things a bit easier.

Code:
http://localhost/#access_token=THIS_IS_WHAT_I_NEED&scope=channel_read+channel_editor+channel_subscriptions+channel_check_subscription


Is it possible to remove "http://localhost/#access_token=" and "&scope=channel_read+channel_editor+channel_subscriptions+channel_check_subscription" from this when someone does something like

!token http://localhost/#access_token=THIS_IS_W...ck_subscription

that way when they do the !token it'll write just their token to the ini file I have?

EDIT:

So... Yet again, not doing enough searching of the right stuff... If you want something like this use $remove... Sorry.

Code:
 $remove($2-,http://localhost/#access_token=,&scope=channel_read+channel_editor+channel_subscriptions+channel_check_subscription) 



Last edited by Bramzee; 29/03/17 07:52 PM.