combat_acc Posted November 3, 2016 Share Posted November 3, 2016 i press attack on other player and it would make my player say the targets name Quote Link to comment Share on other sites More sharing options...
Chris Posted November 3, 2016 Share Posted November 3, 2016 http://osbot.org/api/org/osbot/rs07/api/model/Player.html Quote Link to comment Share on other sites More sharing options...
Zappster Posted November 3, 2016 Share Posted November 3, 2016 http://osbot.org/api/org/osbot/rs07/api/model/Player.html What he means is, when he presses "attack" on someone it sends it to his slaves in CC like "!attack Chris" You need Player, you need to filter and you need to use the mouse listener to find out who you clicked 1 Quote Link to comment Share on other sites More sharing options...
Chris Posted November 3, 2016 Share Posted November 3, 2016 String ezbaby = plater#getName; typeInstant(ezbaby); antiban--; 2 Quote Link to comment Share on other sites More sharing options...
Muffins Posted November 4, 2016 Share Posted November 4, 2016 String ezbaby = plater#getName; typeInstant(ezbaby); antiban--; ANTIBAN Quote Link to comment Share on other sites More sharing options...
Trees Posted November 4, 2016 Share Posted November 4, 2016 Use the mouse listener to find out when the mouse is clicked. Then use the menu to verify it was an attack, then use mouse.getEntitiesOnCursor() to find the player and player name. Quote Link to comment Share on other sites More sharing options...
Juggles Posted November 4, 2016 Share Posted November 4, 2016 I don't understand why people need stuff like this Quote Link to comment Share on other sites More sharing options...
Mr Pro Pop Posted November 4, 2016 Share Posted November 4, 2016 (edited) I don't understand why people need stuff like this lol maybe he wants to log players who he attacked and also typing it as an chat responder or something Edited November 4, 2016 by Mr Pro Pop Quote Link to comment Share on other sites More sharing options...