All public logs
From Dark Signs Online
Jump to navigationJump to search
Combined display of all available logs of Dark Signs Online. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).
- 17:50, 5 April 2024 Doridian talk contribs deleted page Nested loops (content was: "=== The nested loops trick === == Intro == Nested loops in Dark Signs Online is currently impossible as just a FOR loop, if you put a FOR inside one other FOR, it wont work, it will ignore the outer FOR condition There is only one discovered way to get around this. == Code == <pre>@loop Action @nested-loop Nested-Action IF Nested-Action is not complete...", and the only contributor was "Doridian" (talk))
- 05:42, 19 March 2024 Doridian talk contribs created page URLENCODE (Created page with "''string'' '''URLENCODE'''(''string'' message) Returns the given string URL encoded. == Parameters == ''message'' String to URL encode. == Example == <pre>$i = "a b" $i = URLENCODE($i) SAY $i // Prints "a+b"</pre>")
- 05:09, 19 March 2024 Doridian talk contribs created page SERVERTOKEN (Created page with "''string'' '''SERVERTOKEN'''() Get a short lived server verification token == Example == Creates a server token and sends it to a remote server for validation <pre> $token = SERVERTOKEN() WAIT FOR $token $token = URLEncode($token) $data = DOWNLOAD(https://www.example.com/?dsouser=$token) WAIT FOR $data SAY $data</pre> == Validation == The token is a JWT standard token signed with the RS256 algorithm. The public can to verify the token can be found here: https://da...")
- 05:22, 18 March 2024 Doridian talk contribs created page Remote function (Created page with "Remote functions are functions that have to connect to an internet server, to send and/or receive data, before returning a value. To wait for the function to finish connecting and return the value properly, you must use the WAIT FOR function. <pre> WAIT FOR $var</pre> For example: <pre> $ip = 102.142.61.88 $var = ping($ip) WAIT FOR $var //continue...</pre> The variable contains the value "[loading]" while waiting...")
- 05:21, 18 March 2024 Doridian talk contribs created page REGISTER (Created page with "== Syntax == <pre>REGISTER [name].[tld]</pre> == Parameters == '''[name]''' Desired name for your website. '''[tld]''' Top-level domain. Examples: ''.com'', ''.net'', ''.dsn'' == Example == <pre>REGISTER google.com</pre> == Prices == The current prices are displayed at the COMM window. Current prices are: {| class="wikitable" |- ! TLD ! Price |- | .com | $120 |- | .net | $80 |- | .org | $80 |- | .edu | $299 |- | .mil | $1499 |- | .gov | $1499 |- | .dsn | $12999 |}")
- 05:19, 18 March 2024 Doridian talk contribs created page RUN (Created page with "'''RUN''' ''filename'' Runs the specified file as a script. The script can also be ran by simply typing its filename into the console. == Parameters == ''filename'' The file to run.<br /> '''NOTE:''' RUN executes a file as if it were a script, so a file ''must'' be a script in order to run correctly. If you wish to simply view the contents of a file in the console, use CAT instead. == Example == Run the script "test.ds" <pre>RUN test.ds</pre>")
- 05:18, 18 March 2024 Doridian talk contribs created page SAYLINE (Created page with "== Usage == SAYLINE ''string'' == Parameters == ''string'' - the string or other data to print == Example == The following code: <pre>SAY "Hello" SAY "Howdy" SAYLINE "GoodBye"</pre> Produces the following output: <pre>Hello GoodBye</pre> == Other Notes == SAYLINE will also replace itself, so you can use SAYLINE repeatedly to change the last line of text displayed in the console. '''Warning:''' Certain functions/commands can stop...")
- 05:17, 18 March 2024 Doridian talk contribs created page SAY (Created page with "'''SAY''' {''[optional] text formatting codes''} ''any value'' Outputs what ever comes after the SAY command to the console == Parameters == ''any value'' - this can be an ''int'', a ''string'', or anything else. ''text formatting codes'' - optional codes that change the text color, font, and size. Note that the smallest fontsize you can use 8 and the largest is 144 == Example == Displays "Hello world" in the console. <pre>SAY Hello world.</pre>")