*Fix* Call admin (side chat)

2 posts • Page 1 of 1

*Fix* Call admin (side chat)

Postby Peakz » Mon Nov 24, 2014 11:29 pm

Replace the code in your "bwspysettings"
with this one, and it will notify you whenever someone says "!admin" in side chat! ;)

Code: Select all
// The Call parameter takes a URL, you can use <Base64Content> as a variable

class bWSpySettings{

   class Log{
      Enable="1"
      LogPath="Logs\"
      FileMask="<ServerDescription>_<Date>_<Type>.txt"
      DateMask="%yyyy-%mm-%dd"
      TimeMask="(%hh:%ii:%ss) : "
   }

   class Triggers{
      class trigger0{
         Type="Log"
         Pattern="logged in"
         Call=""
         Sound="Resources\drum.wav"
      }
      
      class trigger1{
         Type="Chat"
         Pattern="!admin"
         Call=""
         Sound="Resources\drum.wav"
         Script="Scripts\TriggerScripts\callAdmin.bs"
      }
      
      class trigger2{
         Type="Log"
         Pattern="!admin"
         Call=""
         Sound="Resources\drum.wav"
         Script="Scripts\TriggerScripts\callAdmin.bs"
      }

   }

}
Peakz
 
Posts: 1
Joined: Mon Nov 24, 2014 11:15 pm

Re: *Fix* Call admin (side chat)

Postby Krankey » Sat Sep 12, 2015 10:29 pm

I've been trying to get this to forward the playername to the script that it runs.

Is that possible? I want it to say more than just "someone needs you" and in future perhaps call another external script.
Krankey
 
Posts: 1
Joined: Sat Sep 12, 2015 10:09 pm


2 posts • Page 1 of 1
Return to battleWarden:Spy

Who is online

Users browsing this forum: No registered users and 1 guest
cron
battleWarden is used by more than 10,000 gaming administrators worldwide! Learn why here!
15% OFF - Enter the coupon code BATTLEWARDEN-PROMO-2017 at checkout to get discount. Purchase Now!