Jump to content

Utility: warn.txt


Kurofly

Recommended Posts


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  283
  • Reputation:   31
  • Joined:  07/08/14
  • Last Seen:  

File Name: warn.txt

File Submitter: Kurofly

File Submitted: 10 Jun 2015

File Category: Utilities

Content Author: Kurofly


It'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 :P

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 :lol:

Well it's not something you'd often use but it can be ueful sometimes.



Click here to download this file

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...