Hey guys, Which color do I use when trying to find a PM in the chatbox? Since this function was written, the ability to change text color was added, so I'm not sure if clfriend will still work.
Thanks in advance,
Footy
Hey guys, Which color do I use when trying to find a PM in the chatbox? Since this function was written, the ability to change text color was added, so I'm not sure if clfriend will still work.
Thanks in advance,
Footy
Thx Euphemism and Vinyl for the awesome siggy and avatar!
I just grab whatever color I want to check for, for example for urns I use this:
Simba Code:Function FindRedChatMessage(ChatMsg: string): Boolean;
Begin
Result := (Pos(ChatMsg, GetChatBoxText(7, 127)) > 0);
If Not Result Then
Result := (Pos(ChatMsg, GetChatBoxText(8, 127)) > 0);
End;
127 is the color I got from using the color picker
Red & Green Salamander Hunter // Construction // Gilded Altar // Major help w/ Kyles Runespan // VWB Smither // PhoenixFeathers // GemCutter // Bonfire // LRC Miner // Spell Tab Maker // ApeAtollAgility // IvyWC // RoguesCooker // Herblore // AshamanButterfly // AshamanPowerMiner // Fletcher // LividFarm
Alright, I'll try that. Thanks!
Thx Euphemism and Vinyl for the awesome siggy and avatar!
You can change private chat to black. Then you can / to the private chat window and use FindBlackChatMessage.
GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!
<BenLand100> we're just in the transitional phase where society reclassifies guns as Badâ„¢ before everyone gets laser pistols
There are currently 1 users browsing this thread. (0 members and 1 guests)