#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include "myfuncs.h" using namespace std; string ucase (string str) { string temp=str; for (int i=0;i=0; i--) if (temp[i]!=' ') break; temp=temp.substr(0,i+1); return temp; } string ltrim (string str) { int i; for (i=0;i=0; i--) if (str[i]!=' ') break; return str.substr(0,i+1); } string split (string& in) { in=ltrim(in); string out; int i; i=in.find(' '); if (i==string::npos) { out=in; in=""; return out; } out=in.substr(0,i); //01234 89; for (;ikey.length()) { if (what.substr(key.length(),1)==" ") return true; } else //keine parameter { return true; } } return false; } string ntharg(string str, int n) { for (int i=1;i parsemodes (string params) { string modes=ntharg(params,2); int param_no=3; //start with second param bool plus=true; list l; ircmode_t tmp; for (int i=0;i