Misc

C# Methods for Core > Misc

Between

Returns a random int value between(including) min and max

public int Between(int min, int max)

EscapeString

public string EscapeString(string text)

GetVersion

Returns the SemVersion of the current Streamer.bot installation

0.2.4
public string GetVersion()

NextDouble

Returns a double type between 0 and 1. Often used for random percentages

public double NextDouble()

UrlEncode

public string UrlEncode(string text)

Wait

Will make the code wait for specified amount of time, in ms

public void Wait(int milliseconds)