Author | Message | ||
---|---|---|---|
[-TE-]-ßlå¢kMågî¢- Regular Posts: 78 | Im trying to alter the /ignore function in my client so that i can ignore OP's even as a normal user, i have tried a few bits of code but im still unable to do this. Ne1 got any ideas of how i can go about it please. | ||
Mickey Ametuar Posts: 115 | It is varying in different mods. | ||
[-TE-]-ßlå¢kMågî¢- Regular Posts: 78 | Its a mod of strongdc++ i managed to find this piece of code on there forum but it seems to be from an older version or summit as i cant find the code it describes: HubFrame.cpp: FIND: Code: if ( i >= 0 ) { UserInfo* ui = (UserInfo*)ctrlUsers.getItemData(i); if (!ignoreList.count(nick) || (ui->user->isSet(User::OP) && !client->getOp())) addLine(*x, WinUtil::m_ChatTextGeneral); REPLACE WITH: Code: if ( i >= 0 ) { if (!ignoreList.count(nick)) addLine(*x, WinUtil::m_ChatTextGeneral); FIND: Code: PMInfo* i = (PMInfo*)lParam; if(!ignoreList.count(Text::toT(i->user->getNick())) || (i->user->isSet(User::OP) && !client->getOp())) { if(i->user->isOnline()) { REPLACE WITH: Code: PMInfo* i = (PMInfo*)lParam; if(!ignoreList.count(Text::toT(i->user->getNick()))) { if(i->user->isOnline()) { | ||
Mickey Ametuar Posts: 115 | Search for !client->getOp()) in all files and then you will find. ;-) | ||
[-TE-]-ßlå¢kMågî¢- Regular Posts: 78 | kool ty Mickey | ||
Mickey Ametuar Posts: 115 |
Np. Good you've had success. Always search for client->getOp()) when you are looking for annything allowed only for OPs. :wink: | ||
[-TE-]-ßlå¢kMågî¢- Regular Posts: 78 | Yet another question, i have made the hub tabs smaler at the bottom of the client so lots more hubs are visible without having loads of lines of tabs. How can i make the text smaller in those tabs as its still the original size ? | ||
vickmaker Ametuar Posts: 127 | font = 6 (lol) j/k br0 sorry couldnt help it */v |