rendered paste bodyon *:text:!sbvoice*:#Runescape: {
if ($chan == #Ciber) { notice $nick Sorry, you can't voice yourself here. | HALT }
set %howmuchcashvoice $readini(eToken.ini,eTokens,$nick)
if (%howmuchcashvoice < 50000) { notice $nick You don't have enough eTokens. | HALT }
writeini -n etoken.ini eTokens $nick $calc( %howmuchcashvoice - 50000 )
mode $chan +v $2 $nick
msg $chan 4,1 $nick has bought voice for 50000 etokens!
halt
}
on *:text:!sbdevoice*:#Runescape: {
if ($chan == #Ciber) { notice $nick Sorry, you can't devoice here. | HALT }
set %howmuchcashvoice $readini(eToken.ini,eTokens,$nick)
if (%howmuchcashvoice < 55000) { notice $nick You don't have enough eTokens. | HALT }
writeini -n etoken.ini eTokens $nick $calc( %howmuchcashvoice - 55000 )
mode $chan -v $2
msg $chan 4,1 $nick has devoiced $2 for 55000 etokens
halt
}