Jump to content
Sign in to follow this  
heroji

@spy command

Recommended Posts

@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.


 

Edited by heroji

Share this post


Link to post
Share on other sites

[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 : }

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.