![]() |
|
[.NET] Making a Mod tool Console Applacation - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [.NET] Making a Mod tool Console Applacation (/showthread.php?tid=5142420) |
Making a Mod tool Console Applacation - Snowdrop14 - Jan 21, 2016 hello im making a mod tool And i need help on how to corectly use the If Statement Here is my code Code Module Module1* - Hawk HF - Jan 21, 2016 Unfortunately you don't even have an if statement. * - Ninja - Jan 22, 2016 Console.ReadLine() returns a value. So do something like; String input = Console.ReadLine() * - $lick - Jan 22, 2016 So you know memory manipulation but don't know how to use if statements? I'm sceptical to say the least. * - Hoody - Jan 22, 2016 Low key feel like he posted this just so people can look at his youtube channel... * - Ninja - Jan 23, 2016 (Jan 22, 2016 12:46 PM)Nexus™  Wrote: So you know memory manipulation but don't know how to use if statements? if statements > memory manipulation. * - ProtectNull™ - Jan 23, 2016 (Jan 21, 2016 09:16 PM)Snowdrop14 Wrote: hello im making a mod tool And i need help on how to corectly use the If Statement So far you've only gotten the aesthetics done, do the main parts. * - AimBRoT - Jan 23, 2016 something like "if console.readline = "God" then godmodeon() elseif console.readline ="NoClip" then noclip() end if" * - Ninja - Jan 23, 2016 (Jan 23, 2016 04:58 AM)AimBRoT Wrote: something like "if console.readline = "God" then That wouldn't work. You have to store Console.Readline() in a string and then use that. because this way if you dont type 'God' Console.Readline() is called twice and that wouldn't work. * - AimBRoT - Jan 23, 2016 (Jan 23, 2016 06:49 AM)Tyranitar Wrote: That wouldn't work. You have to store Console.Readline() in a string and then use that. because this way if you dont type 'God' Console.Readline() is called twice and that wouldn't work. This was an example, i didn't want to spoonfeed him 🤝 * - SilentCode - Jan 24, 2016 Code string command = console.ReadLine();But... You don't know how IF statements work and you've made a hack? Wot |