heroji 2 Posted May 4, 2020 (edited) View File @spy command It allows you to listen to other players' conversations in real-time! Features: Can hook up to 5 players online! (adjustable depends on your pc) It detects All/Pm/Guild&Party chatlogs. View logs players by name or all. Added a Clean chat command. Use protection with password. (Account Based) No source edit! Have fun! How to use: First of all you have to install it in game by typing the command @spy <(password)> (in this case the pw is .heroji ). Now you can use the command: @spy ( disconnect all the players hooked or show online players) @spy <name> ( hook the player to spy ) @spy .clean ( clean chatlog screen ) @spy .logsall ( show all chatlogs saved ) @spy .logs <name> (show all chatlogs of a player ) @spy .logsdrop ( will drop all the chatlogs saved in the table sql *use carefully no backup!* ) Enjoy! i tested it on @anacondaq RO server configuration..and works fine. if you are getting [obfuscate] messages, its happening when the player is spamming the chat or you hook yourself. P.s: This is my first script and I just started a month ago into scripting so if you find bug, issue or comment just post it, I would really appreciate it. Submitter heroji Submitted 05/04/20 Category Utility Edited May 4, 2020 by heroji Quote Share this post Link to post Share on other sites
testconta 0 Posted June 6, 2020 [Error]: Loading NPC file: npc/custom/@spy.txt script error on npc/custom/@spy.txt line 87 parse_callfunc: expected ')' to close argument list 82 : .@qs = query_sql("SELECT `char_id`, `name`, `account_id`, `online` FROM `char` WHERE `name` = '"+escape_sql(.@input$+" "+.@input1$[1])+"' LIMIT 5", .@c ids, .@name$, .@aids, .@online); //edit Limit 5 PLAYERS 83 : if (.@atcmd_numparameters <= 0 ) { 84 : dispbottom " "; 85 : message(strcharinfo(PC_NAME), .b2$+" "+.c1$+" "+.a2$+"."); 86 : .v1$ = setchar("ady", "vb", 0); * 87 : message(strcharinfo(PC_NAME), sprintf(_$'('"Usage: %s <Name>"), .@atcmd _command$)); 88 : atcommand("@who"); 89 : if(.@qs == 0){ 90 : set .spyoff, 1; 91 : end; 92 : } Quote Share this post Link to post Share on other sites