0 Members and 2 Guests are viewing this topic.
Alias:alias vcmp.warns !return $iif($readini(vcmp.warns.ini,WARNS,$vcmp.name($1)),$v1,0)alias vcmp.warn { if ($vcmp.warns($1) >= 2) { !writeini -n vcmp.warns.ini WARNS $vcmp.name($1) 3 vcmp.adminmsg Warning $vcmp.name($1) - New Warns: $vcmp.warns($1) $+ /3 $+ , Reason: $iif($3-,$v1,None) $+ , By Admin: $iif($2,$v1,Unknown) vcmp.adminmsg Kicking $vcmp.name($1) - Reason: Warn Limit Reached $+ , By Admin: $iif($2,$v1,Unknown) vcmp.kick $1 } else { !writeini -n vcmp.warns.ini WARNS $vcmp.name($1) $calc($vcmp.warns($1) + 1) vcmp.adminmsg Warning $vcmp.name($1) - New Warns: $vcmp.warns($1) $+ /3 $+ , Reason: $iif($3-,$v1,None) $+ , By Admin: $iif($2,$v1,Unknown) }}alias vcmp.unwarn { !writeini -n vcmp.warns.ini WARNS $vcmp.name($1) 0 vcmp.say $vcmp.name($1) Unwarned - New Warns: 0/3 $+ , Reason: $iif($3-,$v1,None) $+ , By Admin: $iif($2,$v1,Unknown)}
if ($par($vcmp.deathreason($4)) == (DriveBy)) vcmp.warn %idk Drive-bying is not allowed.