I advise you to learn how to c++ program very well before you attempt to post some fixes to eqemulatr. The major thing i suggest if you wish to be a junior dev is to spend alot of time looking through the EQEmu code. Even if your an excelent coder if you know nothing about how this program works you will always fail. Nobody who is a junior dev / dev is very new they have spent weeks and weeks working on code, also if you post too many more examples like the one about you will get a reputation of being a complete idiot and basicaly every time you post people will make fun of you so as a word of advice learn before you post, and make sure its something useful.
Second of all the code yo posted will not do anything at all whatsoever, i'll tell you why. First of all you dont need the
Code:
using namespace std;
second of all your syntax on the if statements is incorrect,
Code:
{ if(b == a)
cout<<"Find me my Onyx staff & i'll reward you.";
}
should be
Code:
if(b == a){
cout<<"find me my Onyx staff & i'll reward you.";
}
and unless you want it all on one line you need to put