Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Tutorials
[CEEJAY]Quickie V26 Coding[CEEJAY]
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Ceejay" data-source="post: 26023" data-attributes="member: 908"><p>Well, After a friend said he didn't know howto code C# I thought I'd be lkind and just make a little rough coding thing (MADE IN PASTEBIN SO DO NOT SKIT!!) About how to code c#, I'm not going to do some long tutorial But i've put litle comments on the code So you can learn easier. I might Make a video Soon enough.</p><p></p><p>[PHP][QUOTE]#region See i'l help you</p><p>case "command-name-here": // Put your command name here E.G boom and It will be :boom :)</p><p>{ // Always have opening bracket</p><p>if (_Rank > 5) // Making sure they are admin</p><p>{ // Open Brackets FTW!</p><p>DatabaseClient dbClient = Eucalypt.dbManager.GetClient() // This is Connecting to DB</p><p>VirtualUser User = UserManager.getUser(args[1]); // User = Target (Clicked) User</p><p>{ // Always put another Opening bracket</p><p>string something = dbClient.getString("SELECT 1 FROM 2 WHERE name = '" + User._Username"'"); // Replace 1 with the Collum E.G sex, And replace 2 With the DB E.G Users This is for checking something later</p><p>{ // Once again Another Opening bracket</p><p>if (something == "?") // Replace "something" With the string you put above, And replace "?" With whatever it is E.G 1 2 3 etc..</p><p>{ // Opening bracket Again once you've done if (Whatever == Whatever)</p><p>// All you're command shit here E.G sending an alert</p><p>User.SendData("BK" + "text here"); // Send a hotel alert themed alert to the target user</p><p>// End your command or whatever</p><p>} // Haveto do the same amount of closed brackets as open.</p><p>} // Haveto do the same amount of closed brackets as open.</p><p>} // Haveto do the same amount of closed brackets as open.</p><p>} // Haveto do the same amount of closed brackets as open.</p><p>} // Haveto do the same amount of closed brackets as open.</p><p>break; // Ending the command</p><p>#endregion // Ending the region of the command ((regions help tidy up coding))[/QUOTE][/PHP]</p></blockquote><p></p>
[QUOTE="Ceejay, post: 26023, member: 908"] Well, After a friend said he didn't know howto code C# I thought I'd be lkind and just make a little rough coding thing (MADE IN PASTEBIN SO DO NOT SKIT!!) About how to code c#, I'm not going to do some long tutorial But i've put litle comments on the code So you can learn easier. I might Make a video Soon enough. [PHP][QUOTE]#region See i'l help you case "command-name-here": // Put your command name here E.G boom and It will be :boom :) { // Always have opening bracket if (_Rank > 5) // Making sure they are admin { // Open Brackets FTW! DatabaseClient dbClient = Eucalypt.dbManager.GetClient() // This is Connecting to DB VirtualUser User = UserManager.getUser(args[1]); // User = Target (Clicked) User { // Always put another Opening bracket string something = dbClient.getString("SELECT 1 FROM 2 WHERE name = '" + User._Username"'"); // Replace 1 with the Collum E.G sex, And replace 2 With the DB E.G Users This is for checking something later { // Once again Another Opening bracket if (something == "?") // Replace "something" With the string you put above, And replace "?" With whatever it is E.G 1 2 3 etc.. { // Opening bracket Again once you've done if (Whatever == Whatever) // All you're command shit here E.G sending an alert User.SendData("BK" + "text here"); // Send a hotel alert themed alert to the target user // End your command or whatever } // Haveto do the same amount of closed brackets as open. } // Haveto do the same amount of closed brackets as open. } // Haveto do the same amount of closed brackets as open. } // Haveto do the same amount of closed brackets as open. } // Haveto do the same amount of closed brackets as open. break; // Ending the command #endregion // Ending the region of the command ((regions help tidy up coding))[/QUOTE][/PHP] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Tutorials
[CEEJAY]Quickie V26 Coding[CEEJAY]
Top