User contributions for Doridian
From Dark Signs Online
Jump to navigationJump to search
5 April 2024
- 17:5317:53, 5 April 2024 diff hist −220 Functions List No edit summary current
- 17:5217:52, 5 April 2024 diff hist +8 DSO User Manual No edit summary current
- 17:5017:50, 5 April 2024 diff hist −51 Main Page No edit summary current
- 17:4917:49, 5 April 2024 diff hist −4 API No edit summary current
19 March 2024
- 19:4019:40, 19 March 2024 diff hist +86 API No edit summary
- 18:4218:42, 19 March 2024 diff hist 0 Main Page No edit summary
- 18:4118:41, 19 March 2024 diff hist 0 SERVERTOKEN No edit summary current
- 18:4118:41, 19 March 2024 diff hist +20 Functions List →Connection Functions
- 05:4405:44, 19 March 2024 diff hist +12 SERVERTOKEN No edit summary
- 05:4205:42, 19 March 2024 diff hist +218 N 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>" current
- 05:4105:41, 19 March 2024 diff hist +60 Functions List →String Functions
- 05:1005:10, 19 March 2024 diff hist +10 SERVERTOKEN No edit summary
- 05:0905:09, 19 March 2024 diff hist +1,007 N 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:0405:04, 19 March 2024 diff hist +29 Functions List →Connection Functions
- 05:0405:04, 19 March 2024 diff hist +145 Functions List →Connection Functions
- 05:0405:04, 19 March 2024 diff hist −145 Functions List →Misc. Functions Tag: Manual revert
- 05:0305:03, 19 March 2024 diff hist +145 Functions List No edit summary Tag: Reverted
- 03:5603:56, 19 March 2024 diff hist +74 Global variables →Server Specific Variable current
18 March 2024
- 07:0707:07, 18 March 2024 diff hist +1 DSO User Manual No edit summary
- 06:2106:21, 18 March 2024 diff hist +1 Functions List No edit summary
- 06:2106:21, 18 March 2024 diff hist +8 Commands List No edit summary current
- 06:2106:21, 18 March 2024 diff hist +1 Global variables No edit summary
- 06:2006:20, 18 March 2024 diff hist +1 API No edit summary
- 06:1906:19, 18 March 2024 diff hist +84 Main Page No edit summary
- 06:1706:17, 18 March 2024 diff hist +3 Main Page →Legacy Version
- 06:1706:17, 18 March 2024 diff hist +148 Main Page No edit summary
- 05:2205:22, 18 March 2024 diff hist +1,140 N 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..." current
- 05:2105:21, 18 March 2024 diff hist +478 N 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 |}" current
- 05:1905:19, 18 March 2024 diff hist +471 N 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>" current
- 05:1805:18, 18 March 2024 diff hist +551 N 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..." current
- 05:1705:17, 18 March 2024 diff hist −1 SAY No edit summary current
- 05:1705:17, 18 March 2024 diff hist +467 N 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>"
- 05:1605:16, 18 March 2024 diff hist +276 N SAYCOMM Created page with "'''SAYCOMM''' ''any value'' Outputs what ever comes after the SAYCOMM command to the comm == Parameters == ''any value'' - this can be an ''int'', a ''string'', or anything else. == Example == Displays "Hello world" in the comm. <pre>SAYCOMM Hello world.</pre>" current
- 05:1605:16, 18 March 2024 diff hist +57 N TIME Created page with "Displays the current system time. Requires no parameters." current
- 05:1505:15, 18 March 2024 diff hist +142 N USERNAME Created page with "Use to enter your username to login with. Used in conjunction with '''PASSWORD'''. <pre>USERNAME [your username goes here]</pre>" current
- 05:1105:11, 18 March 2024 diff hist +836 N Port Scanner Created page with "This script scans a server to check all ports for open or closed status. == Script == <pre>// scanner.ds domain/ip start_port end_port // $1 = domain/ip // $2 = start_port // $3 = end_port IF $2 = "" $2 = 1 ENDIF IF $3 = "" $3 = 65536 ENDIF $domain = GETDOMAIN($1) $ip = GETIP($1) WAIT FOR $domain, $ip SAY Domain : $domain SAY IP Address : $ip SAY SAY Scanning... FOR $curPort = $2 to $3 $ping = PINGPORT($1, $curPort) WAIT FOR $ping..." current
- 05:1005:10, 18 March 2024 diff hist +487 N PINGPORT Created page with "''int'' '''PINGPORT'''(''string'' server, ''int'' port) Pings the specified port on the specified server, returning 0 when there is no script running on the port, or 1 when there is. == Parameters == ''server'' The server where the request will be sent. Can be an IP address or domain name.<br /> ''port'' The port to ping. == Example == Check if the site that is given has this port open. <pre>$v = PINGPORT(1.1.1.1, 80) WAIT FOR $v SAY Response : $v on IP 1.1.1.1 P..." current
- 05:0905:09, 18 March 2024 diff hist +343 N PING Created page with "''int'' '''PING'''(''string'' server) Pings the specified server, returning 0 if the server doesn't exist and 1 if it does. == Parameters == ''server'' The server to ping. Can be an IP address or domain name. == Example == Check if the site that is given exists. <pre>$v = PING(1.1.1.1) WAIT FOR $v SAY Response : $v on IP 1.1.1.1</pre>" current
- 05:0805:08, 18 March 2024 diff hist +142 N PASSWORD Created page with "Use to enter your password to login with. Used in conjunction with '''USERNAME'''. <pre>PASSWORD [your password goes here]</pre>" current
- 05:0605:06, 18 March 2024 diff hist +60 N MYDOMAINS Created page with "Lists the domains you currently own. Requires no parameters." current
- 05:0605:06, 18 March 2024 diff hist +222 N MUSIC Created page with "'''MUSIC''' ''command'' Controls the music playing. == Parameters == ''command'' this can be one of: OFF, ON, NEXT, PREV == Usage == Go to the next track <pre>MUSIC NEXT</pre> Turn off the music <pre>MUSIC OFF</pre>" current
- 05:0505:05, 18 March 2024 diff hist +102 N MD Created page with "MD <Directory name> Creates a directory named <directory name> in your current directory." current
- 05:0405:04, 18 March 2024 diff hist +105 N LOOKUP Created page with "LOOKUP <ip or domain name> Displays info about the <ip or domain name> in the status window." current
- 05:0305:03, 18 March 2024 diff hist +126 N LOGOUT Created page with "LOGOUT logs you off the DSO network. You have to run this before changing username and password if you are already logged in." current
- 05:0205:02, 18 March 2024 diff hist +129 N LOGIN Created page with "Logs in to the DSO network, but only if '''USERNAME''' and '''PASSWORD''' is set. No parameters needed." current
- 05:0005:00, 18 March 2024 diff hist +344 N LISTKEYS Created page with "Display the available shortcut keys and their actions in the console. Requires no parameters. '''Output:''' <pre> Dark Signs Keyboard Actions Page Up: Scroll the console up. Page Down: Scroll the console down. Shift + Page Up: Decrease size of the COMM. Shift + Page Down: Increase size of the COMM. F11: Toggle maximum console display. </pre>" current
- 04:5904:59, 18 March 2024 diff hist +61 N LISTCOLORS Created page with "Lists the color codes in the console. Requires no parameters." current
- 04:5804:58, 18 March 2024 diff hist +15 N LINEUP Not current
- 04:5704:57, 18 March 2024 diff hist +320 N LCASE Created page with "''string'' '''LCASE'''(''string'' message) Returns the given string in lowercase. == Parameters == ''message'' String to put in lowercase. == Example == Sample input, now it wont matter if the user inputs '''y''' instead of '''Y''' <pre>$i = INPUT(Register Y/N?) $i = LCASE($i) IF $i = y THEN //Do something.</pre>" current
- 04:5604:56, 18 March 2024 diff hist +498 N IPFinder Created page with "This script searches all IPs and PINGs them to build a list of open or closed IPs (Currently in version 2) == Script == <pre>$q=0 $w=0 $e=0 $r=0 $ip=$q.$w.$e.$r @IPLOOP IF $r > 255 $r=0 $e=$e+1 $ip=$q.$w.$e.$r SAY $ip ENDIF IF $e > 255 $e=0 $w=$w+1 $ip=$q.$w.$e.$r SAY $ip ENDIF IF $w > 255 $w=0 $q=$q+1 $ip=$q.$w.$e.$r SAY $ip ENDIF $r=$r+1 $ip=$q.$w.$e.$r IF PING($ip) = 1 Say $IP OPEN ENDIF IF $q < 256..." current