646
mIRC/pawn Scripting / [RESOLVED] Killingspree
« on: June 30, 2008, 11:36:11 am »
How can i make a killingspree code?
i'm using GUS. Can someone help me?
i'm using GUS. Can someone help me?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
alias vcmp.speed {it says (when im driving to fast):Unknow - New Warns: 1/3 , Reason: to hight speed , By Admin: thijn
var %name = $vcmp.name($1)
var %x = $vcmp.location($1,x),%y = $vcmp.location($1,y),%z = $vcmp.location($1,z),%a = $calc(%x - $2),%b = $calc(%y - $3),%c = $calc(%z - $4),%d = $round($sqrt($calc(%a * %a + %b * %b + %c * %c)),2)
vcmp.say $vcmp.name($1) - Speed: $round($calc(%d / 0.27777778),2) Kilometers Per Hour
if $round($calc(%d / 0.27777778),2) > 200 {
vcmp.warn %name Server To high speed
}
alias vcmp.speed {
var %x = $vcmp.location($1,x),%y = $vcmp.location($1,y),%z = $vcmp.location($1,z),%a = $calc(%x - $2),%b = $calc(%y - $3),%c = $calc(%z - $4),%d = $round($sqrt($calc(%a * %a + %b * %b + %c * %c)),2)
vcmp.say $vcmp.name($1) - Speed: $round($calc(%d / 0.27777778),2) Kilometers Per Hour
if $round($calc(%d / 0.27777778),2) is higher then 200 {
vcmp.warn .....
}
}
on *:SIGNAL:vcmp.text:{
if ($findtok(fuck shit bastard,$2-,1,32)) vcmp.warn $vcmp.getid(%name) Autowarn Using bad language
var %name = $left($1,-1)
vcmp.check.timer %name
vcmp.check.spam %name
echo -a 14 $+ %name $+ : $2- $+
if ($2 == brb) vcmp.say %name will Be Right Back! Reason: $iif($3-,$v1,None)
elseif ($2 == bbs) vcmp.say %name will Be Back Soon! Reason: $iif($3-,$v1,None)
elseif ($2 == bbl) vcmp.say %name will Be Back Later! Reason: $iif($3-,$v1,None)
elseif ($2 == fuck) vcmp.warn $vcmp.getid(%name) Server Using bad language
elseif (($2 == back) && ($3- == $null)) vcmp.say %name is Back!
}