try it without using the pipe "|" methos, especially while working out a problem
on *:TEXT:!register:#rpg: { new.account [color:red] $nick $2- [/color]}
alias -l new.account {
if ($2 == $null) {
msg $1 Please state your requested nickname. IE. !register dave the barbarian
}
elseif ( [color:green]get.name($1) [/color] != $null) {
msg $1 You have already have a registered name! ( $+ $get.name($1) $+ )
}
else {
writeini rpg_bot.ini XP $1 0
writeini rpg_bot.ini NAMES $1 [color:red]$2- [/color]
writeini rpg_bot.ini MONEY $1 2000
}
}
look over the changes I posted and test it, hopefully it will work now
also note that in scripts the "/" is assumed and you do not need to put it in the code.
and you had "halt", the "if" having failed will stop any command from triggering
get.name($1) do you have another alias somewhere? if so maybe just add a $
$get.name($1) maybe you need a $readini here ?