Kurofly Posted August 2, 2015 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 283 Reputation: 31 Joined: 07/08/14 Last Seen: January 15, 2022 Share Posted August 2, 2015 File Name: warn.txt File Submitter: Kurofly File Submitted: 10 Jun 2015 File Category: Utilities Content Author: KuroflyIt's a really simple script which warns some players when used.I made use of it to be warned if something didn't go right in some big scripts where you can be lost.It helped to correct some bugs more easily and to catch some people trying to cheat It's used like this: callfunc "WarnMe","this is a test","<your player name>","<other player name>"{,"<other player name>",{...}};//it will send a notification to all players mentionned, if they're not connected they'll receive it on relog I'll give you an example: while (getvariableofnpc(.battle,getarg(0))) { if (getpetinfo(0) != getvariableofnpc(.pet_gid,getarg(0))) { callfunc "WarnMe",""+strcharinfo(0)+" a change de pokemon","kuro" ; dispbottom "C'est pas bien d'essayer de tricher...",0xffff00 ; end; } It tells me if someone changes his pet during a pokemon fight and so I can punish him Well it's not something you'd often use but it can be ueful sometimes. Click here to download this file Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.