This is the Commands for Admins to Use:
All Admin Commands here are done via PM
FHeal <Nick> -- Heals Nick
FEnter -- Forces Nick into Battle Arena if Registered and Logged In.FLeave <Nick> -- Forces Nick Out of Battle Arena
GiveXP -- Gives Nick Specified Amount of ExperienceFLogout <Nick> -- Forces Nick to Logout.
FLogin -- Forces Nick to login
`Ban -- Logs Nick out and Bans them from Channel. (Will not be able to Ban Admins or Bot)
on +400:NICK:{
ruser $nick
auser 400 $newnick
}
on +500:NICK:{
ruser $nick
auser 500 $newnick
}
on 400:TEXT:*:?:{
if ($1 == `FHeal) { heal $2 }
if ($1 == `FEnter) {
if ($readini(Players.ini,$2,LoggedIn) == Yes) {
writeini Players.ini $2 Fighting Yes
mode %MainChannel +h $2
msg %MainChannel $Left 15 $+ $2 $+ 14(15 $+ $readini(Players.ini,$2,Character_Name) $+ 14) has entered the Battle Arena $Right
if ($readini(Admins.ini,Admin,$2) == No) { set %BattleArena $addtok(%BattleArena,$2,32) }
if ($readini(Admins.ini,Admin,$2) == Yes) { set %BattleArena $Addtok(%BattleArena,12 $+ $2 $+ 15,32) }
}
}
if ($1 == `FLeave) {
leaveArena $2
}
if ($1 == `GiveXP) {
if (!$readini(Players.ini,$2,Registered)) { notice $nick $left $2 is not registered! $right | halt }
writeini Players.ini $2 EXP $calc($readini(Players.ini,$2,EXP) + $3)
notice $2 $Left You have Recieved $3 Experience as a Reward $right
levelcheck $2
}
if ($1 == `FLogout) && ($2 ison %MainChannel) {
if (!$readini(Players.ini,$2,Registered)) { notice $nick $left $2 is not registered! $right | halt }
writeini Players.ini $2 LoggedIn No
leaveArena $2
mode %MainChannel -v $2
msg %MainChannel $left $2 Has been Logged Out By Force. $right
}
if ($1 == `FLogin) && ($2 ison %MainChannel) {
if (!$readini(Players.ini,$2,Registered)) { notice $nick $left $2 is not registered! $right | halt }
writeini Players.ini $2 LoggedIn Yes
mode %MainChannel +v $2
msg %MainChannel $left $2 Has Logged in By Force $right
writeFile $2
}
if ($1 == `Ban) {
if ($ulevel($2) == 400) { halt }
if ($2 == $me) { halt }
if ($ulevel($2) == 500) { halt }
if (!$readini(Players.ini,$2,Registered)) { notice $nick $left $2 is not registered! $right | halt }
writeini Players.ini $2 LoggedIn No
leaveArena $2
mode %MainChannel -v $2
msg %MainChannel $left $2 Has been Logged Out By Ban. $right
ban -k %MainChannel $2 $Left Banned by Admin. $Right
}
}