All pastes #772948 Raw Edit

Someone

public cpp v1 · immutable
·published 2007-11-14 04:31 UTC
rendered paste body
#include <iostream.h>int main(){	typedef unsigned short int sint;	enum client_type { normal_user=0, registered_user=50, oper=100, admin=500 };	client_type input;	sint input_;	cout << "This test program will tell you what sort of authentication you need"		"to use to prove who you are.\nPlease input your client type by number...\n"		"0 = New user, 50 = user who has registered, 100 = network staff, 500 = administrator.\n";	cin >> input_;	input = client_type(input_);	if (input == normal_user) {		cout << "New users should register. Type /msg NickServ HELP REGISTER.\n";	}	else if (input == registered_user) {		cout << "If you are registered with NickServ, type /msg NickServ IDENTIFY your_password\nto identify for your nickname.\n";	}	else if (input == oper) {		cout << "You must have a set oper username and pass to identify yourself as network\nstaff. Use the /oper command like this: /oper user_name your_password.\n";	}	else if (input == admin) {		cout << "Lies.\n";	}	else { return 1; }}