Alright so I have a script that *should* copy color from BRs into pastes into irc. key word... Should.
and when it does work it really does come in handy, it makes it much easier for others to read including myself and have seen others using them without any difficulties and was wondering if any of you could send one that works for you to me heres what i'm currently using and i'll show an example of what goes wrong
The Script:
The Error:
This is what I actually Copy and Pasted:
and when it does work it really does come in handy, it makes it much easier for others to read including myself and have seen others using them without any difficulties and was wondering if any of you could send one that works for you to me heres what i'm currently using and i'll show an example of what goes wrong
The Script:
Code:
on 1:INPUT:#:{
if (( [*] * allied * hostile staff. iswm $1- ) || ( [*] * allied * stole * land* iswm $1- )) { msg $active 3 $+ $1- | halt }
if (( [*] * hostile * allied staff. iswm $1- ) || ( [*] * hostile * stole * land* iswm $1- )) { msg $active 4 $+ $1- | halt }
if ( You gained isin $1-) { if ( effectiveness. isin $1- ) || (fame. isin $1-) || (lawfulness. isin $1-) { msg $active 3 $+ $1- | halt } }
if ( You lost isin $1-) { if ( effectiveness. isin $1- ) || (fame. isin $1-) || (lawfulness. isin $1-) { msg $active 4 $+ $1- | halt } }
if ( You stole * land. [*] tree.* iswm $1- ) { msg $active 3 $+ $1- | halt }
if ( ( *:*[*]*enemies* iswm $1- ) || ( *:*[*]*friendlies* iswm $1- )) {
var %match $1-
if ( ( *:*[*]*enemies* iswm $1- ) && ( *:*[*]*friendlies* iswm $1- )) { var %match $replace( %match , : , : $+ 04 ) | var %match $replace( %match , . , . $+ 03 ) }
if ( ( *:*[*]*enemies* iswm $1- ) && ( *:*[*]*friendlies* !iswm $1- )) { var %match $replace( %match , : , : $+ 03 ) }
if ( ( *:*[*]*enemies* !iswm $1- ) && ( *:*[*]*friendlies* iswm $1- )) { var %match $replace( %match , : , : $+ 04 ) }
msg $chan %match
halt
}
}
alias ps {
if (($1 = $null) || ($2 = $null) || ($3 = $null) ) { echo -a 4/PS <score> <land> <armod> }
else {
var %1 $remove( $1 ,$chr(44) )
var %1 $calc( $replace( %1 ,m,*1000000,b,*1000000000,k,*1000) )
var %2 $remove( $2 ,$chr(44) )
var %2 $calc( $replace( %2 ,m,*1000000,b,*1000000000,k,*1000) )
var %3 $remove( $3 ,$chr(44) )
echo -a 3For... Score: $bytes(%1,b) Land: $bytes( %2 ,b) AR Mod: $bytes(%3,b)
echo -a 7Land Score Dif: $bytes( $calc( ((%2 * %2 *20) - ( %2 * %2 *8 ))) ,b)
echo -a 12Effective Score: $bytes( $calc( %1 - ((%2 * %2 *20) - ( %2 * %2 *8 ))) ,b)
echo -a 6Score Required To AR on You: $bytes( $ceil( $calc( (%1 - ((%2 * %2 *20) - ( %2 * %2 *8 ))) *1.45* (1-( %3 /100)) )) ,b)
;//echo -a $comma( [ $calc( ( %1 - (%2 * %2 *20) - ( %2 * %2 *8 )) * 1.45 * (1-( %3 /100)) ) ])
}
}
The Error:
Code:
[ 18:52:46 ] (+Davis) [close] 2,500,000 hostile Attack Dog attacked, killing 6,121,087 allied staff.
[ 18:52:46 ] (+Davis) [close] 1,300,000 hostile Heavy Thug attacked, killing 129,267 allied staff.
[ 18:52:46 ] (+Davis) Died: 6,250,354 [£20,800,924,000] friendlies dead.
[ 18:52:46 ] (+Davis) You gained 3,328 effectiveness.
[ 18:52:46 ] (+Davis) Battle Report - Attacking xxx [xxx]
[ 18:52:46 ] (+Davis) [close] 2,500,000 hostile Attack Dog attacked, killing 6,121,087 allied staff.
[ 18:52:46 ] (+Davis) [close] 1,300,000 hostile Heavy Thug attacked, killing 129,267 allied staff.
[ 18:52:46 ] (+Davis) Died: 6,250,354 [£20,800,924,000] friendlies dead.
[ 18:52:46 ] (+Davis) You gained 3,328 effectiveness.
[ 18:52:46 ] (+Davis) You will soon be receiving £1,043,448,000 insurance.
This is what I actually Copy and Pasted:
Code:
Battle Report - Attacking xxx [xxx]
[close] 2,500,000 hostile Attack Dog attacked, killing 6,121,087 allied staff.
[close] 1,300,000 hostile Heavy Thug attacked, killing 129,267 allied staff.
Died: 6,250,354 [£20,800,924,000] friendlies dead.
You gained 3,328 effectiveness.
You will soon be receiving £1,043,448,000 insurance.