Naruto NinjaRpg V1.0 (Remotes)

Platform:  mIRC
Published  Apr 08, 2007
Updated  Apr 10, 2007
Well heres my latest script. Its called The Naruto NinjaRpg. This is just a quick rough version, Its kinda dull and lame, i know, but im currently working on V2.0 which will be alot better!!! Just load it into your Remotes and set a var %Chan (Yourchan) and also on the bot make sure you have yourself set as lvl 500, if not type /auser 500 (yournick). If you need any further help feel free to ask me. One last thing, Add a var called %Power On or jsut type `Power On if you have yourself set as 500 on the bot. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Creator: FireStorm/Darkkeeper ;
; Email: Steven-Campbell1046@Hotmail.com ;
; Server: Inferno.FireServ.Za.Net ;
; Channels: #The_Criminal and #NinjaRpg ;
; Notes: If you need any help feel free to ;
; ask me! Feel free to mode the script how ;
; ever you like, just dont mess it totaly up! ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


on 1:text:`Register:#: {
if (%Power == On) {
if ($readini(Ninja.ini,$Nick,Register) == Yes) { Notice $nick You already Made a Account! | halt }
Notice $Nick Welcome to the NinjaRpg. To continue your registration plz identify your gender! Type `Gender Male or `Gender Female.
}
}
on 1:Text:`Gender*:#: {
if (%Power == On) {
if ($readini(Ninja.ini,$Nick,Register) == Yes) { Notice $nick You already Made a Account! | halt }
if (Male == $2) {
writeini Ninja.ini $Nick Gender Male
Notice $Nick Now that you have identified yourself as a Male you can now choose your character! Type `Characters to see a list!
}
if (Female == $2) {
writeini Ninja.ini $Nick Gender Female
Notice $Nick Now that you have identified yourself as a Female you can now choose your character! Type `Characters to see a list!
}
}
}
on 1:Text:`Characters:#: {
if (%Power == On) {
if ($readini(Ninja.ini,$Nick,Gender) == Male) { notice $Nick Characters: Naruto, Sasuke, Neji, Gaara, Kakashi, Kiba, Shikamaru, Choji, Deidara, Itachi, Kankuro, Haku and Orochimaru. Type `Choose (Character) to complete registration! }
if ($readini(Ninja.ini,$Nick,Gender) == Female) { notice $Nick Characters: Sakura, Ino, TenTen, Hinata and Temari. Type `Choose (Character) to complete registration! }
}
}
on 1:Text:`Choose*:#: {
if (%Power == On) {
if (Naruto == $2 || Neji == $2 || Sasuke == $2 || Gaara == $2 || Kakashi == $2 || Kiba == $2 || Shikamaru == $2 || Choji == $2 || Orochimaru == $2 || Itachi == $2 || Deidara == $2 || Kankuro == $2 || Haku == $2) {
Writeini Ninja.ini $Nick Character $2
Writeini Ninja.ini $Nick Rank Student
Writeini Ninja.ini $Nick Hp 0
Writeini Ninja.ini $Nick MHp $Rand(100,200)
Writeini Ninja.ini $Nick Cp 0
Writeini Ninja.ini $Nick MCp $Rand(50,150)
Writeini Ninja.ini $Nick Sp 0
Writeini Ninja.ini $Nick MSp $Rand(50,150)
Writeini Ninja.ini $Nick Ryo $Rand(50,200)
Writeini Ninja.ini $Nick TaiOff 10
Writeini Ninja.ini $Nick TaiDef 10
Writeini Ninja.ini $Nick NinOff 10
Writeini Ninja.ini $Nick NinDef 10
Writeini Ninja.ini $Nick GenOff 10
Writeini Ninja.ini $Nick GenDef 10
Writeini Ninja.ini $Nick WepOff 10
Writeini Ninja.ini $Nick WepDef 10
Writeini Ninja.ini $Nick Intell 10
Writeini Ninja.ini $Nick Strength 10
Writeini Ninja.ini $Nick NAttacks Strike PureChakra
Writeini Ninja.ini $Nick Jutsus None
Writeini Ninja.ini $Nick LvL 1
Writeini Ninja.ini $Nick Exp 0
Writeini Ninja.ini $Nick NExp 100
Writeini Ninja.ini $Nick Register Yes
Notice $Nick Registration is now complete! Type `Stats to see your stats and `Help if you need help!
Heal $Nick
}
if (Sakura == $2 || Ino == $2 || TenTen == $2 || Hinata == $2 || Temari == $2) {
Writeini Ninja.ini $Nick Character $2
Writeini Ninja.ini $Nick Rank Student
Writeini Ninja.ini $Nick Hp 0
Writeini Ninja.ini $Nick MHp $Rand(100,150)
Writeini Ninja.ini $Nick Cp 0
Writeini Ninja.ini $Nick MCp $Rand(50,120)
Writeini Ninja.ini $Nick Sp 0
Writeini Ninja.ini $Nick MSp $Rand(50,120)
Writeini Ninja.ini $Nick Ryo $Rand(50,170)
Writeini Ninja.ini $Nick TaiOff 10
Writeini Ninja.ini $Nick TaiDef 10
Writeini Ninja.ini $Nick NinOff 10
Writeini Ninja.ini $Nick NinDef 10
Writeini Ninja.ini $Nick GenOff 10
Writeini Ninja.ini $Nick GenDef 10
Writeini Ninja.ini $Nick WepOff 10
Writeini Ninja.ini $Nick WepDef 10
Writeini Ninja.ini $Nick Intell 10
Writeini Ninja.ini $Nick Strength 10
Writeini Ninja.ini $Nick NAttacks Strike PureChakra
Writeini Ninja.ini $Nick Jutsus None
Writeini Ninja.ini $Nick LvL 1
Writeini Ninja.ini $Nick Exp 0
Writeini Ninja.ini $Nick NExp 100
Writeini Ninja.ini $Nick Register Yes
Notice $Nick Registration is now complete! Type `Stats to see your stats and `Help if you need help!
Heal $Nick
}
}
}
on 1:Text:`Stats:#: {
if (%Power == On) {
if ($readini(Ninja.ini,$Nick,Register) !== Yes) { Notice $nick You are not registered! Plz `Register | halt }
Notice $Nick Character: $readini(Ninja.ini,$Nick,Character) || Hp: $readini(Ninja.ini,$Nick,Hp) / $readini(Ninja.ini,$Nick,MHp) || Cp: $readini(Ninja.ini,$Nick,Cp) / $readini(Ninja.ini,$Nick,MCp) || Sp: $readini(Ninja.ini,$Nick,Sp) / $readini(Ninja.ini,$Nick,MSp) || Rank: $readini(Ninja.ini,$Nick,Rank) || Level: $readini(Ninja.ini,$Nick,LvL) || Exp: $readini(Ninja.ini,$Nick,Exp) || Exp To LvL Up: $readini(Ninja.ini,$Nick,NExp)
Notice $Nick Strength: $readini(Ninja.ini,$nick,Strength) || Intell: $readini(Ninja.ini,$nick,Intell) || Bloodline: $readini(Ninja.ini,$nick,Bloodline)
Notice $Nick TaiOff: $readini(Ninja.ini,$Nick,TaiOff) || NinOff: $readini(Ninja.ini,$Nick,NinOff) || GenOff: $readini(Ninja.ini,$Nick,GenOff) || WepOff: $readini(Ninja.ini,$Nick,WepOff)
Notice $Nick TaiDef: $readini(Ninja.ini,$Nick,TaiDef) || NinDef: $readini(Ninja.ini,$Nick,NinDef) || GenDef: $readini(Ninja.ini,$Nick,GenDef) || WepDef: $readini(Ninja.ini,$Nick,WepDef)
}
}
on 1:Text:`Stats*:#: {
if (%Power == On) {
if ($readini(Ninja.ini,$2,Register) !== Yes) { Notice $nick $2 is not registered! | halt }
Notice $Nick Character: $readini(Ninja.ini,$2,Character) || Hp: $readini(Ninja.ini,$2,Hp) / $readini(Ninja.ini,$2,MHp) || Cp: $readini(Ninja.ini,$2,Cp) / $readini(Ninja.ini,$2,MCp) || Sp: $readini(Ninja.ini,$2,Sp) / $readini(Ninja.ini,$2,MSp) || Rank: $readini(Ninja.ini,$2,Rank) || Level: $readini(Ninja.ini,$2,LvL) || Exp: $readini(Ninja.ini,$2,Exp) || Exp To LvL Up: $readini(Ninja.ini,$2,NExp)
Notice $Nick Strength: $readini(Ninja.ini,$2,Strength) || Intell: $readini(Ninja.ini,$2,Intell) || Bloodline: $readini(Ninja.ini,$2,Bloodline)
Notice $Nick TaiOff: $readini(Ninja.ini,$2,TaiOff) || NinOff: $readini(Ninja.ini,$2,NinOff) || GenOff: $readini(Ninja.ini,$2,GenOff) || WepOff: $readini(Ninja.ini,$2,WepOff)
Notice $Nick TaiDef: $readini(Ninja.ini,$2,TaiDef) || NinDef: $readini(Ninja.ini,$2,NinDef) || GenDef: $readini(Ninja.ini,$2,GenDef) || WepDef: $readini(Ninja.ini,$2,WepDef)
}
}
on 1:Text:`Ryo:#: {
if (%Power == On) {
if ($readini(Ninja.ini,$nick,Register) !== Yes) { Notice $nick You are not registered! | halt }
Notice $Nick Ryo: $readini(Ninja.ini,$nick,Ryo)
}
}
on 1:Text:`Ryo*:#: {
if (%Power == On) {
if ($readini(Ninja.ini,$2,Register) !== Yes) { Notice $nick $2 is not registered | halt }
Notice $Nick $2 $+ 's Ryo: $readini(Ninja.ini,$2,Ryo)
}
}
on *:text:`Heal:#:{
if (%Power == On) {
if ($readini(Ninja.ini,$nick,Register) !== Yes) { Notice $nick You are not registered! | halt }
if ($readini(Ninja.ini,$nick,Fighting) == Yes) { /notice $nick You are Fighting! | halt }
if ($timer(Heal $+ $nick).secs != $null) { /notice $nick You Are Already Healing | halt }
Notice $nick You will Heal In 10 Seconds!
Timerheal $+ $nick 1 10 /Heal $nick
}
}
on 1:Text:`ShowStats:#: {
if (%Power == On) {
if ($readini(Ninja.ini,$Nick,Register) !== Yes) { Notice $nick You are not registered! Plz `Register | halt }
Msg %Chan Character: $readini(Ninja.ini,$Nick,Character) || Hp: $readini(Ninja.ini,$Nick,Hp) / $readini(Ninja.ini,$Nick,MHp) || Cp: $readini(Ninja.ini,$Nick,Cp) / $readini(Ninja.ini,$Nick,MCp) || Sp: $readini(Ninja.ini,$Nick,Sp) / $readini(Ninja.ini,$Nick,MSp) || Rank: $readini(Ninja.ini,$Nick,Rank) || Level: $readini(Ninja.ini,$Nick,LvL) || Exp: $readini(Ninja.ini,$Nick,Exp) || Exp To LvL Up: $readini(Ninja.ini,$Nick,NExp)
Msg %Chan Strength: $readini(Ninja.ini,$nick,Strength) || Intell: $readini(Ninja.ini,$nick,Intell) || Bloodline: $readini(Ninja.ini,$nick,Bloodline)
Msg %Chan TaiOff: $readini(Ninja.ini,$Nick,TaiOff) || NinOff: $readini(Ninja.ini,$Nick,NinOff) || GenOff: $readini(Ninja.ini,$Nick,GenOff) || WepOff: $readini(Ninja.ini,$Nick,WepOff)
Msg %Chan TaiDef: $readini(Ninja.ini,$Nick,TaiDef) || NinDef: $readini(Ninja.ini,$Nick,NinDef) || GenDef: $readini(Ninja.ini,$Nick,GenDef) || WepDef: $readini(Ninja.ini,$Nick,WepDef)
}
}
on 1:Text:`ShowStats*:#: {
if (%Power == On) {
if ($readini(Ninja.ini,$2,Register) !== Yes) { Notice $nick $2 is not registered! | halt }
Msg %Chan Character: $readini(Ninja.ini,$2,Character) || Hp: $readini(Ninja.ini,$2,Hp) / $readini(Ninja.ini,$2,MHp) || Cp: $readini(Ninja.ini,$2,Cp) / $readini(Ninja.ini,$2,MCp) || Sp: $readini(Ninja.ini,$2,Sp) / $readini(Ninja.ini,$2,MSp) || Rank: $readini(Ninja.ini,$2,Rank) || Level: $readini(Ninja.ini,$2,LvL) || Exp: $readini(Ninja.ini,$2,Exp) || Exp To LvL Up: $readini(Ninja.ini,$2,NExp)
Msg %Chan Strength: $readini(Ninja.ini,$2,Strength) || Intell: $readini(Ninja.ini,$2,Intell) || Bloodline: $readini(Ninja.ini,$2,Bloodline)
Msg %Chan TaiOff: $readini(Ninja.ini,$2,TaiOff) || NinOff: $readini(Ninja.ini,$2,NinOff) || GenOff: $readini(Ninja.ini,$2,GenOff) || WepOff: $readini(Ninja.ini,$2,WepOff)
Msg %Chan TaiDef: $readini(Ninja.ini,$2,TaiDef) || NinDef: $readini(Ninja.ini,$2,NinDef) || GenDef: $readini(Ninja.ini,$2,GenDef) || WepDef: $readini(Ninja.ini,$2,WepDef)
}
}
on *:join:#:{
if (%Power == On) {
if ($readini(Ninja.ini,$Nick,Register) != Yes) && (%Chan == $Chan) { Notice $nick Welcome to %Chan $+ ! You Have Not Registered, Type `Register | halt }
if ($readini(Ninja.ini,$nick,Register) == Yes) && (%Chan == $Chan) { Notice $nick Welcome to %Chan $+ ! You are Registered. Please Type `Help for Help! }
}
}
on *:nick:{
if (%Power == On) {
if ($readini(Ninja.ini,$nick,Register) !== Yes) { Halt }
Set %batlist $remtok(%batlist,$nick,1,32)
Writeini -n Ninja.ini $Nick Fighting No
Writeini -n Ninja.ini $Nick Attacking No
Mode %Chan -v $nick
}
}
on *:part:#:{
if (%Power == On) {
if ($readini(Ninja.ini,$nick,Register) !== Yes) { Halt }
Set %batlist $remtok(%batlist,$nick,1,32)
Writeini -n Ninja.ini $Nick Fighting No
Writeini -n Ninja.ini $Nick Attacking No
}
}
on *:Quit:{
if (%Power == On) {
if ($readini(Ninja.ini,$nick,Register) !== Yes) { Halt }
Set %batlist $remtok(%batlist,$nick,1,32)
Writeini -n Ninja.ini $Nick Fighting No
Writeini -n Ninja.ini $Nick Attacking No
}
}
on 1:Text:`Record:#: {
if (%Power == On) {
if ($readini(Ninja.ini,$nick,Register) !== Yes) { Notice $Nick You are not registered! | Halt }
Notice $Nick Wins: $readini(Ninja.ini,$nick,Wins) || Losses: $readini(Ninja.ini,$nick,Losses)
}
}
on 1:Text:`Record*:#: {
if (%Power == On) {
if ($readini(Ninja.ini,$nick,Register) !== Yes) { Notice $Nick You are not registered! | Halt }
if ($readini(Ninja.ini,$2,Register) !== Yes) { Notice $Nick $2 is not Registered! | Halt }
Notice $Nick Wins: $readini(Ninja.ini,$2,Wins) || Losses: $readini(Ninja.ini,$2,Losses)
}
}
on 1:Text:`Jutsus:#: {
if (%Power == On) {
if ($readini(Ninja.ini,$nick,Register) !== Yes) { Notice $Nick You are not registered! | Halt }
Notice $Nick Jutsus: $readini(Ninja.ini,$nick,Jutsus)
}
}
on 1:Text:`Items:#: {
if (%Power == On) {
if ($readini(Ninja.ini,$nick,Register) !== Yes) { Notice $Nick You are not registered! | Halt }
Notice $nick ChakraPills: $readini(Ninja.ini,$nick,CPills) || StaminaPills: $readini(Ninja.ini,$nick,SPills) || HealthPills: $readini(Ninja.ini,$nick,HPills)
}
}
on 1:Text:`Weapons:#: {
if (%Power == On) {
if ($readini(Ninja.ini,$nick,Register) !== Yes) { Notice $Nick You are not registered! | Halt }
Notice $Nick Weapons: $readini(Ninja.ini,$nick,Weapons)
}
}

on 1:Text:`Completion:#: {
Msg %Chan 15NinjaRpg Completion:12 45%
}
on 1:Text:`Attacks:#: {
if (%Power == On) {
if ($readini(Ninja.ini,$nick,Register) !== Yes) { Notice $Nick You are not registered! | Halt }
Notice $Nick Attacks: $readini(Ninja.ini,$nick,NAttacks)
}
}
on 1:Text:`Shop:#: {
if (%Power == On) {
if ($readini(Ninja.ini,$nick,Register) !== Yes) { Notice $nick You are not registered! | halt }
if ($readini(Ninja.ini,$nick,Fighting) == Yes) { /notice $nick You are Fighting! | halt }
Notice $Nick Welcome to the NinjaRpg Shop. Current shops: `JShop (Jutsus), `BShop (Bloodlines), `WShop (Weapons), and `IShop (Items)
}
}
on 1:Text:`JShop:#: {
if (%Power == On) {
if ($readini(Ninja.ini,$nick,Register) !== Yes) { Notice $nick You are not registered! | halt }
if ($readini(Ninja.ini,$nick,Fighting) == Yes) { /notice $nick You are Fighting! | halt }
Notice $Nick Jutsus: FireBall(1000), Chidori(1500), PrimaryLotus(1500). Type `Learn (JutsuName) to learn the jutsu, If you have the ryo for them! For help on a Jutsu type `Help (Item).
}
}
on 1:Text:`BShop:#: {
if (%Power == On) {
if ($readini(Ninja.ini,$nick,Register) !== Yes) { Notice $nick You are not registered! | halt }
if ($readini(Ninja.ini,$nick,Fighting) == Yes) { /notice $nick You are Fighting! | halt }
Notice $Nick Bloodlines: BlueBladeEyes(5,000,000), BloodEnchantedEyes(700,000), and EvilSandDemon(200,000). Type `Learn (Bloodline) to Learn the bloodline, If you have the right ammount for the BL! For help on a Bloodline type `Help (Item).
}
}
on 1:Text:`WShop:#: {
if (%Power == On) {
if ($readini(Ninja.ini,$nick,Register) !== Yes) { Notice $nick You are not registered! | halt }
if ($readini(Ninja.ini,$nick,Fighting) == Yes) { /notice $nick You are Fighting! | halt }
Notice $Nick Weapons: Kunai(500), Shuriken(1000), Tanbo(3000). SpecialWeapons: DeathStrike(500,000) and DemonicThunder(1,000,000). Type `Buy (Weapon) to buy that weapon, Only if you have the funds! For help on a Weapon type `Help (Item).
}
}
on 1:Text:`IShop:#: {
if (%Power == On) {
if ($readini(Ninja.ini,$nick,Register) !== Yes) { Notice $nick You are not registered! | halt }
if ($readini(Ninja.ini,$nick,Fighting) == Yes) { /notice $nick You are Fighting! | halt }
Notice $nick Items: ChakraPill(100), StaminaPill(100), and HeathPill(100). Type `Buy (Item) (Ammount) to buy it, Only if you have the funds! For help on a Item type `Help (Item).
}
}
on *:text:`Enter:#: {
if (%Power == On) {
if ($readini(Ninja.ini,$nick,Register) !== Yes) { Notice $nick You are not registered! | halt }
if ($readini(Ninja.ini,$Nick,Hp) <= 0) { Notice $nick Please Heal | halt }
if ($readini(Ninja.ini,$nick,fighting) == yes) { Notice $nick You are Already Battling! | halt }
if ($timer(Heal $+ $nick).secs != $null) { /notice $nick You Are Healing | halt }
Writeini Ninja.ini $nick fighting yes
Set %batlist %batlist $nick
Msg # $Nick $+ ( $+ $readini(Ninja.ini,$nick,Character) $+ ) Enters The Battle Field!
}
}
on *:text:`Leave:#: {
if (%Power == On) {
if ($readini(Ninja.ini,$nick,Register) !== Yes) { Notice $nick You are not registered! | halt }
if ($readini(Ninja.ini,$nick,fighting) != yes) { Notice $nick You Are Not Fighting | halt }
if ($timer(Leave $+ $nick).secs != $null) { /notice $nick You Are Already Leaving | halt }
TimerLeave $+ $nick 1 10 /leave $nick
Msg # $Nick $+ ( $+ $readini(Ninja.ini,$nick,Character) $+ ) is Leaving The Battle Field in 10 Seconds!
}
}
on *:text:`Entered:#: {
if (%Power == On) {
if ($readini(Ninja.ini,$nick,Register) !== Yes) { Notice $nick You are not registered! | halt }
Msg %Chan Entered: %Batlist
}
}
on 1:Text:`Learn*:#: {
if (%Power == On) {
if ($readini(Ninja.ini,$nick,Register) !== Yes) { Notice $nick You are not registered! | halt }
if ($readini(Ninja.ini,$nick,Fighting) == Yes) { notice $nick You are Fighting! | halt }
if (FireBall == $2) {
if ($readini(Ninja.ini,$nick,FJ) == Yes) { Notice $Nick You already know FireBall Jutsu! | Halt }
if ($readini(Ninja.ini,$nick,Ryo) <= 999) { Notice $Nick You do not have enough ryo! | Halt }
if ($readini(Ninja.ini,$nick,Ryo) >= 999) {
Var %Jutsus $readini(Ninja.ini,$nick,Jutsus)
Var %Jutsus %Jutsus FireBall
writeini Ninja.ini $Nick Jutsus %Jutsus
writeini Ninja.ini $Nick FJ Yes
writeini Ninja.ini $Nick Ryo $Calc($readini(Ninja.ini,$nick,Ryo) - 1000)
Notice $Nick You have now learned FireBall Jutsu!
}
}
if (Chidori == $2) {
if ($readini(Ninja.ini,$nick,CD) == Yes) { Notice $Nick You already know Chidori! | Halt }
if ($readini(Ninja.ini,$nick,Ryo) <= 999) { Notice $Nick You do not have enough ryo! | Halt }
if ($readini(Ninja.ini,$nick,Ryo) >= 999) {
Var %Jutsus $readini(Ninja.ini,$nick,Jutsus)
Var %Jutsus %Jutsus Chidori
writeini Ninja.ini $Nick Jutsus %Jutsus
writeini Ninja.ini $Nick CD Yes
writeini Ninja.ini $Nick Ryo $Calc($readini(Ninja.ini,$nick,Ryo) - 1500)
Notice $Nick You have now learned Chidori!
}
}
if (PrimaryLotus == $2) {
if ($readini(Ninja.ini,$nick,PL) == Yes) { Notice $Nick You already know PrimaryLotus! | Halt }
if ($readini(Ninja.ini,$nick,Ryo) <= 999) { Notice $Nick You do not have enough ryo! | Halt }
if ($readini(Ninja.ini,$nick,Ryo) >= 999) {
Var %Jutsus $readini(Ninja.ini,$nick,Jutsus)
Var %Jutsus %Jutsus PrimaryLotus
writeini Ninja.ini $Nick Jutsus %Jutsus
writeini Ninja.ini $Nick PL Yes
writeini Ninja.ini $Nick Ryo $Calc($readini(Ninja.ini,$nick,Ryo) - 1500)
Notice $Nick You have now learned PrimaryLotus!
}
}
}
}
on 1:Text:`ForGet*:#: {
if (%Power == On) {
if ($readini(Ninja.ini,$nick,Register) !== Yes) { Notice $nick You are not registered! | halt }
if ($readini(Ninja.ini,$nick,Fighting) == Yes) { notice $nick You are Fighting! | halt }
if (FireBall == $2) {
if ($readini(Ninja.ini,$nick,FJ) !== Yes) { Notice $Nick You do not know FireBall Jutsu! | Halt }
Var %Jutsus $readini(Ninja.ini,$nick,Jutsus)
Var %Jutsus $remtok(%Jutsus,FireBall,1,32)
writeini Ninja.ini $Nick Jutsus %Jutsus
writeini Ninja.ini $Nick FB No
Notice $Nick You have now forgotten FireBall Jutsu!
}
if (Chidori == $2) {
if ($readini(Ninja.ini,$nick,CD) !== Yes) { Notice $Nick You do not know Chidori! | Halt }
Var %Jutsus $readini(Ninja.ini,$nick,Jutsus)
Var %Jutsus $remtok(%Jutsus,Chidori,1,32)
writeini Ninja.ini $Nick Jutsus %Jutsus
writeini Ninja.ini $Nick CD No
Notice $Nick You have now forgotten Chidori!
}
if (PrimaryLotus == $2) {
if ($readini(Ninja.ini,$nick,PL) !== Yes) { Notice $Nick You do not know PrimaryLotus! | Halt }
Var %Jutsus $readini(Ninja.ini,$nick,Jutsus)
Var %Jutsus $remtok(%Jutsus,PrimaryLotus,1,32)
writeini Ninja.ini $Nick Jutsus %Jutsus
writeini Ninja.ini $Nick PL No
Notice $Nick You have now forgotten PrimaryLotus!
}
}
}
on 1:Text:`Learn*:#: {
if (%Power == On) {
if ($readini(Ninja.ini,$nick,Register) !== Yes) { Notice $nick You are not registered! | halt }
if ($readini(Ninja.ini,$nick,Fighting) == Yes) { notice $nick You are Fighting! | halt }
if (BlueBladeEyes == $2) {
if ($readini(Ninja.ini,$nick,BL) == Yes) { Notice $Nick You Already Have A BloodLine! | Halt }
if ($readini(Ninja.ini,$nick,Ryo) <= 4999999) { Notice $Nick You do not have enough ryo! | Halt }
if ($readini(Ninja.ini,$nick,Ryo) >= 4999999) {
writeini Ninja.ini $Nick BL Yes
writeini Ninja.ini $Nick TaiOff $Calc($readini(Ninja.ini,$nick,TaiOff) + 100000)
writeini Ninja.ini $Nick NinOff $Calc($readini(Ninja.ini,$nick,NinOff) + 100000)
writeini Ninja.ini $Nick GenOff $Calc($readini(Ninja.ini,$nick,GenOff) + 100000)
writeini Ninja.ini $Nick WepOff $Calc($readini(Ninja.ini,$nick,WepOff) + 100000)
writeini Ninja.ini $Nick TaiDef $Calc($readini(Ninja.ini,$nick,TaiDef) + 100000)
writeini Ninja.ini $Nick NinDef $Calc($readini(Ninja.ini,$nick,NinDef) + 100000)
writeini Ninja.ini $Nick GenDef $Calc($readini(Ninja.ini,$nick,GenDef) + 100000)
writeini Ninja.ini $Nick WepDef $Calc($readini(Ninja.ini,$nick,WepDef) + 100000)
writeini Ninja.ini $Nick Bloodline BlueBladeEyes
writeini Ninja.ini $Nick Ryo $Calc($readini(Ninja.ini,$nick,Ryo) - 5000000)
Notice $Nick You now know the Blue Blade Eyes BloodLine!
}
}
if (BloodEnchantedEyes == $2) {
if ($readini(Ninja.ini,$nick,BL) == Yes) { Notice $Nick You Already Have A BloodLine! | Halt }
if ($readini(Ninja.ini,$nick,Ryo) <= 699999) { Notice $Nick You do not have enough ryo! | Halt }
if ($readini(Ninja.ini,$nick,Ryo) >= 699999) {
writeini Ninja.ini $Nick BL Yes
writeini Ninja.ini $Nick TaiDef $Calc($readini(Ninja.ini,$nick,TaiDef) + 5000)
writeini Ninja.ini $Nick NinDef $Calc($readini(Ninja.ini,$nick,NinDef) + 5000)
writeini Ninja.ini $Nick GenDef $Calc($readini(Ninja.ini,$nick,GenDef) + 5000)
writeini Ninja.ini $Nick WepDef $Calc($readini(Ninja.ini,$nick,WepDef) + 5000)
writeini Ninja.ini $Nick Bloodline BloodEnchantedEyes
writeini Ninja.ini $Nick Ryo $Calc($readini(Ninja.ini,$nick,Ryo) - 700000)
Notice $Nick You now know the Blood Enchanted Eyes BloodLine!
}
}
if (EvilSandDemon == $2) {
if ($readini(Ninja.ini,$nick,BL) == Yes) { Notice $Nick You Already Have A BloodLine! | Halt }
if ($readini(Ninja.ini,$nick,Ryo) <= 199999) { Notice $Nick You do not have enough ryo! | Halt }
if ($readini(Ninja.ini,$nick,Ryo) >= 199999) {
writeini Ninja.ini $Nick BL Yes
writeini Ninja.ini $Nick TaiOff $Calc($readini(Ninja.ini,$nick,TaiOff) + 1000)
writeini Ninja.ini $Nick NinOff $Calc($readini(Ninja.ini,$nick,NinOff) + 1000)
writeini Ninja.ini $Nick GenOff $Calc($readini(Ninja.ini,$nick,GenOff) + 1000)
writeini Ninja.ini $Nick WepOff $Calc($readini(Ninja.ini,$nick,WepOff) + 1000)
writeini Ninja.ini $Nick Bloodline EvilSandDemon
writeini Ninja.ini $Nick Ryo $Calc($readini(Ninja.ini,$nick,Ryo) - 200000)
Notice $Nick You now know the Evil Sand Demon BloodLine!
}
}
}
}
on 1:Text:`ForGet*:#: {
if (%Power == On) {
if ($readini(Ninja.ini,$nick,Register) !== Yes) { Notice $nick You are not registered! | halt }
if ($readini(Ninja.ini,$nick,Fighting) == Yes) { notice $nick You are Fighting! | halt }
if (BlueBladeEyes == $2) {
if ($readini(Ninja.ini,$nick,BL) !== Yes) { Notice $Nick You do not know a Jutsu! | Halt }
if ($readini(Ninja.ini,$nick,Ryo) <= 99999) { Notice $Nick You do not have enough ryo! | Halt }
if ($readini(Ninja.ini,$nick,Ryo) >= 99999) {
writeini Ninja.ini $Nick BL No
writeini Ninja.ini $Nick Bloodline None
writeini Ninja.ini $Nick Ryo $Calc($readini(Ninja.ini,$nick,Ryo) - 100000)
Notice $Nick You now know the Blue Blade Eyes BloodLine!
}
}
if (BloodEnchantedEyes == $2) {
if ($readini(Ninja.ini,$nick,BL) !== Yes) { Notice $Nick You do not know a Jutsu! | Halt }
if ($readini(Ninja.ini,$nick,Ryo) <= 99999) { Notice $Nick You do not have enough ryo! | Halt }
if ($readini(Ninja.ini,$nick,Ryo) >= 99999) {
writeini Ninja.ini $Nick BL No
writeini Ninja.ini $Nick Bloodline None
writeini Ninja.ini $Nick Ryo $Calc($readini(Ninja.ini,$nick,Ryo) - 100000)
Notice $Nick You now know the Blood Enchanted Eyes BloodLine!
}
}
if (EvilSandDemon == $2) {
if ($readini(Ninja.ini,$nick,BL) !== Yes) { Notice $Nick You do not know a Jutsu! | Halt }
if ($readini(Ninja.ini,$nick,Ryo) <= 99999) { Notice $Nick You do not have enough ryo! | Halt }
if ($readini(Ninja.ini,$nick,Ryo) >= 99999) {
writeini Ninja.ini $Nick BL No
writeini Ninja.ini $Nick Bloodline None
writeini Ninja.ini $Nick Ryo $Calc($readini(Ninja.ini,$nick,Ryo) - 100000)
Notice $Nick You now know the Evil Sand Demon BloodLine!
}
}
}
}
on 1:Text:`ForGet:#: {
if (%Power == On) {
if ($readini(Ninja.ini,$nick,Register) !== Yes) { Notice $nick You are not registered! | halt }
if ($readini(Ninja.ini,$nick,Fighting) == Yes) { notice $nick You are Fighting! | halt }
Notice $Nick A new feature to NinjaRpg, You can forget jutsus and bloodlines! Forgetting a jutsu is free but forgetting a bloodline costs 100k ryo, so choose wisly if you use these features!
}
}
on 1:Text:`Buy*:#: {
if (%Power == On) {
if ($readini(Ninja.ini,$nick,Register) !== Yes) { Notice $nick You are not registered! | halt }
if ($readini(Ninja.ini,$nick,Fighting) == Yes) { notice $nick You are Fighting! | halt }
if (Kunai == $2) {
if ($readini(Ninja.ini,$nick,Kn) == Yes) { Notice $Nick You already have a Kunai! | Halt }
if ($readini(Ninja.ini,$nick,Ryo) <= 499) { Notice $Nick You do not have enough ryo! | Halt }
if ($readini(Ninja.ini,$nick,Ryo) >= 499) {
Var %Weapons $readini(Ninja.ini,$nick,Weapons)
Var %Weapons %Weapons Kunai
writeini Ninja.ini $Nick Weapons %Weapons
writeini Ninja.ini $Nick Kn Yes
writeini Ninja.ini $Nick Ryo $Calc($readini(Ninja.ini,$nick,Ryo) - 500)
Notice $Nick You have now Bought a Kunai!
}
}
if (Shuriken == $2) {
if ($readini(Ninja.ini,$nick,SK) == Yes) { Notice $Nick You already have a Shuriken! | Halt }
if ($readini(Ninja.ini,$nick,Ryo) <= 999) { Notice $Nick You do not have enough ryo! | Halt }
if ($readini(Ninja.ini,$nick,Ryo) >= 999) {
Var %Weapons $readini(Ninja.ini,$nick,Weapons)
Var %Weapons %Weapons Shuriken
writeini Ninja.ini $Nick Weapons %Weapons
writeini Ninja.ini $Nick SK Yes
writeini Ninja.ini $Nick Ryo $Calc($readini(Ninja.ini,$nick,Ryo) - 1000)
Notice $Nick You have now Bought a Shuriken!
}
}
if (Tanbo == $2) {
if ($readini(Ninja.ini,$nick,TB) == Yes) { Notice $Nick You already have a Tanbo! | Halt }
if ($readini(Ninja.ini,$nick,Ryo) <= 2999) { Notice $Nick You do not have enough ryo! | Halt }
if ($readini(Ninja.ini,$nick,Ryo) >= 2999) {
Var %Weapons $readini(Ninja.ini,$nick,Weapons)
Var %Weapons %Weapons Tanbo
writeini Ninja.ini $Nick Weapons %Weapons
writeini Ninja.ini $Nick TB Yes
writeini Ninja.ini $Nick Ryo $Calc($readini(Ninja.ini,$nick,Ryo) - 3000)
Notice $Nick You have now Bought a Tanbo!
}
}
if (DeathStrike == $2) {
if ($readini(Ninja.ini,$nick,DS) == Yes) { Notice $Nick You already have a DeathStrike! | Halt }
if ($readini(Ninja.ini,$nick,Ryo) <= 499999) { Notice $Nick You do not have enough ryo! | Halt }
if ($readini(Ninja.ini,$nick,Ryo) >= 499999) {
Var %Weapons $readini(Ninja.ini,$nick,Weapons)
Var %Weapons %Weapons DeathStrike
writeini Ninja.ini $Nick Weapons %Weapons
writeini Ninja.ini $Nick DS Yes
writeini Ninja.ini $Nick Ryo $Calc($readini(Ninja.ini,$nick,Ryo) - 500000)
Notice $Nick You have now Bought DeathStrike!
}
}
if (DemonicThunder == $2) {
if ($readini(Ninja.ini,$nick,DT) == Yes) { Notice $Nick You already have Demonic Thunder! | Halt }
if ($readini(Ninja.ini,$nick,Ryo) <= 999999) { Notice $Nick You do not have enough ryo! | Halt }
if ($readini(Ninja.ini,$nick,Ryo) >= 999999) {
Var %Weapons $readini(Ninja.ini,$nick,Weapons)
Var %Weapons %Weapons DemonicThunder
writeini Ninja.ini $Nick Weapons %Weapons
writeini Ninja.ini $Nick DT Yes
writeini Ninja.ini $Nick Ryo $Calc($readini(Ninja.ini,$nick,Ryo) - 1000000)
Notice $Nick You have now Bought Demonic Thunder!
}
}
}
}
on 1:Text:`Sell*:#: {
if (%Power == On) {
if ($readini(Ninja.ini,$nick,Register) !== Yes) { Notice $nick You are not registered! | halt }
if ($readini(Ninja.ini,$nick,Fighting) == Yes) { notice $nick You are Fighting! | halt }
if (Kunai == $2) {
if ($readini(Ninja.ini,$nick,Kn) !== Yes) { Notice $Nick You do not have a Kunai! | Halt }
Var %Weapons $readini(Ninja.ini,$nick,Weapons)
Var %Weapons $remtok(%Weapons,Kunai,1,32)
writeini Ninja.ini $Nick Weapons %Weapons
writeini Ninja.ini $Nick Kn No
writeini Ninja.ini $Nick Ryo $Calc($readini(Ninja.ini,$nick,Ryo) + 500)
Notice $Nick You have now Sold Your Kunai!
}

if (Shuriken == $2) {
if ($readini(Ninja.ini,$nick,SK) !== Yes) { Notice $Nick You do not have a Shuriken! | Halt }
Var %Weapons $readini(Ninja.ini,$nick,Weapons)
Var %Weapons $remtok(%Jutsus,Shuriken,1,32)
writeini Ninja.ini $Nick Weapons %Weapons
writeini Ninja.ini $Nick SK No
writeini Ninja.ini $Nick Ryo $Calc($readini(Ninja.ini,$nick,Ryo) + 1000)
Notice $Nick You have now Sold Your Shuriken!
}

if (Tanbo == $2) {
if ($readini(Ninja.ini,$nick,TB) !== Yes) { Notice $Nick You Do not have a Tanbo! | Halt }
Var %Weapons $readini(Ninja.ini,$nick,Weapons)
Var %Weapons $remtok(%Weapons,Tanbo,1,32)
writeini Ninja.ini $Nick Weapons %Weapons
writeini Ninja.ini $Nick TB No
writeini Ninja.ini $Nick Ryo $Calc($readini(Ninja.ini,$nick,Ryo) + 3000)
Notice $Nick You have now Sold your Tanbo!
}
if (DeathStrike == $2) {
if ($readini(Ninja.ini,$nick,DS) !== Yes) { Notice $Nick You do not have DeathStrike! | Halt }
Var %Weapons $readini(Ninja.ini,$nick,Weapons)
Var %Weapons $remtok(%Weapons,DeathStrike,1,32)
writeini Ninja.ini $Nick Weapons %Weapons
writeini Ninja.ini $Nick DS No
writeini Ninja.ini $Nick Ryo $Calc($readini(Ninja.ini,$nick,Ryo) + 500000)
Notice $Nick You have now Sold DeathStrike!
}
if (DemonicThunder == $2) {
if ($readini(Ninja.ini,$nick,DT) !== Yes) { Notice $Nick You do not have Demonic Thunder! | Halt }
Var %Weapons $readini(Ninja.ini,$nick,Weapons)
Var %Weapons $remtok(%Weapons,DemonicThunder,1,32)
writeini Ninja.ini $Nick Weapons %Weapons
writeini Ninja.ini $Nick DT No
writeini Ninja.ini $Nick Ryo $Calc($readini(Ninja.ini,$nick,Ryo) + 1000000)
Notice $Nick You have now Sold your Demonic Thunder!
}
}
}
on 1:Text:`Buy*:#: {
if (%Power == On) {
if ($readini(Ninja.ini,$nick,Register) !== Yes) { Notice $nick You are not registered! | halt }
if ($readini(Ninja.ini,$nick,Fighting) == Yes) { notice $nick You are Fighting! | halt }
if (ChakraPill == $2) {
Set %Price $Calc($3 * 100)
if ($readini(Ninja.ini,$nick,Ryo) <= %Price) { Notice $Nick You do not have enough ryo! | Halt }
if ($readini(Ninja.ini,$nick,Ryo) >= %Price) {
writeini Ninja.ini $Nick CPills $Calc($readini(Ninja.ini,$nick,CPills) + $3)
writeini Ninja.ini $Nick Ryo $Calc($readini(Ninja.ini,$nick,Ryo) - %Price)
Notice $Nick You have now Bought $3 ChakraPills!
}
}
if (StaminaPill == $2) {
Set %Price $Calc($3 * 100)
if ($readini(Ninja.ini,$nick,Ryo) <= %Price) { Notice $Nick You do not have enough ryo! | Halt }
if ($readini(Ninja.ini,$nick,Ryo) >= %Price) {
writeini Ninja.ini $Nick SPills $calc($readini(Ninja.ini,$nick,SPills) + $3)
writeini Ninja.ini $Nick Ryo $Calc($readini(Ninja.ini,$nick,Ryo) - %Price)
Notice $Nick You have now Bought $3 StaminaPills!
}
}
if (HealthPill == $2) {
Set %Price $Calc($3 * 100)
if ($readini(Ninja.ini,$nick,Ryo) <= %Price) { Notice $Nick You do not have enough ryo! | Halt }
if ($readini(Ninja.ini,$nick,Ryo) >= %Price) {
writeini Ninja.ini $Nick HPills $Calc($readini(Ninja.ini,$nick,HPills) + $3)
writeini Ninja.ini $Nick Ryo $Calc($readini(Ninja.ini,$nick,Ryo) - %Price)
Notice $Nick You have now Bought $3 HealthPills!
}
}
}
}
on 1:Text:`Sell*:#: {
if (%Power == On) {
if ($readini(Ninja.ini,$nick,Register) !== Yes) { Notice $nick You are not registered! | halt }
if ($readini(Ninja.ini,$nick,Fighting) == Yes) { notice $nick You are Fighting! | halt }
if (ChakraPill == $2) {
Set %SPrice $Calc($3 * 100)
if ($readini(Ninja.ini,$nick,CPills) <= $3) { Notice $Nick You do not have that many ChakraPills! | Halt }
writeini Ninja.ini $Nick CPills $Calc($readini(Ninja.ini,$nick,CPills) - $3)
writeini Ninja.ini $Nick Ryo $Calc($readini(Ninja.ini,$nick,Ryo) + %SPrice)
Notice $Nick You have now Sold $3 ChakraPills!
}
if (StaminaPill == $2) {
Set %SPrice $Calc($3 * 100)
if ($readini(Ninja.ini,$nick,SPills) <= $3) { Notice $Nick You do not have that many StaminaPills! | Halt }
writeini Ninja.ini $Nick CPills $Calc($readini(Ninja.ini,$nick,SPills) - $3)
writeini Ninja.ini $Nick Ryo $Calc($readini(Ninja.ini,$nick,Ryo) + %SPrice)
Notice $Nick You have now Sold $3 StaminaPills!
}
if (HealthPill == $2) {
Set %SPrice $Calc($3 * 100)
if ($readini(Ninja.ini,$nick,HPills) <= $3) { Notice $Nick You do not have that many HealthPillsPills! | Halt }
writeini Ninja.ini $Nick HPills $Calc($readini(Ninja.ini,$nick,HPills) - $3)
writeini Ninja.ini $Nick Ryo $Calc($readini(Ninja.ini,$nick,Ryo) + %SPrice)
Notice $Nick You have now Sold $3 HealthPills!
}
}
}
on 1:TEXT:`Kunai*:*:{
if (%Power == On) {
if ($readini(Ninja.ini,$nick,Register) !== Yes) { Notice $nick You are not registered! | halt }
if ($readini(Ninja.ini,$nick,Sp) <= 10) { Notice $nick You do not have enough Sp! | Halt }
if ($nick == $2) { Notice $nick Don't Attack Yourself! | halt }
if ($readini(Ninja.ini,$nick,fighting) != yes) { Notice $nick You are not Fighting! | halt }
if ($readini(Ninja.ini,$2,fighting) != yes) { Notice $nick $2 is not Fighting! | halt }
if ($readini(Ninja.ini,$nick,Attacking) == yes) { Notice $nick You are Attacking! | halt }
Set %WAttacks $readini(Ninja.ini,$nick,Weapons)
if ($istok(%Wattacks,Kunai,32) == $true) {
set %base.power [ $readini Ninja.ini $Nick Strength ]
set %ExpGain $Rand(3,10)
set %defense.power [ $readini Ninja.ini $2 WepDef + $readini Ninja.ini $2 Strength ]
set %attack.power [ $readini Ninja.ini $Nick WepOff + $readini Ninja.ini $Nick Strength + 500 ]
set %Damage $calc( %base.power + (%attack.power - %defense.power))
if (%Damage < 1) { set %Damage 1 }
msg %Chan $nick $+ ( $+ $readini(Ninja.ini,$nick,Character) $+ ) Strikes $2 $+ ( $+ $readini(Ninja.ini,$2,Character) $+ ) with a Kunai doing $bytes(%damage,b) damage! (Gained %ExpGain Exp)
writeini Ninja.ini $2 Hp $calc($readini(Ninja.ini,$2,Hp) - %Damage)
writeini Ninja.ini $nick Exp $calc($readini(Ninja.ini,$Nick,Exp) + %ExpGain)
writeini Ninja.ini $nick Sp $Calc($readini(Ninja.ini,$Nick,Sp) - 10)
LvLCheck $Nick
DeadCheck $Nick $2
}
}
}
on 1:TEXT:`Shuriken*:*:{
if (%Power == On) {
if ($readini(Ninja.ini,$nick,Register) !== Yes) { Notice $nick You are not registered! | halt }
if ($readini(Ninja.ini,$nick,Sp) <= 20) { Notice $nick You do not have enough Sp! | Halt }
if ($nick == $2) { Notice $nick Don't Attack Yourself! | halt }
if ($readini(Ninja.ini,$nick,fighting) != yes) { Notice $nick You are not Fighting! | halt }
if ($readini(Ninja.ini,$2,fighting) != yes) { Notice $nick $2 is not Fighting! | halt }
if ($readini(Ninja.ini,$nick,Attacking) == yes) { Notice $nick You are Attacking! | halt }
Set %WAttacks $readini(Ninja.ini,$nick,Weapons)
if ($istok(%Wattacks,Shuriken,32) == $true) {
set %base.power [ $readini Ninja.ini $Nick Strength ]
set %ExpGain $Rand(3,8)
set %defense.power [ $readini Ninja.ini $2 WepDef + $readini Ninja.ini $2 Strength ]
set %attack.power [ $readini Ninja.ini $Nick WepOff + $readini Ninja.ini $Nick Strength + 1000 ]
set %Damage $calc( %base.power + (%attack.power - %defense.power))
if (%Damage < 1) { set %Damage 1 }
msg %Chan $nick $+ ( $+ $readini(Ninja.ini,$nick,Character) $+ ) Strikes $2 $+ ( $+ $readini(Ninja.ini,$2,Character) $+ ) with a Shuriken doing $bytes(%damage,b) damage! (Gained %ExpGain Exp)
writeini Ninja.ini $2 Hp $calc($readini(Ninja.ini,$2,Hp) - %Damage)
writeini Ninja.ini $nick Sp $Calc($readini(Ninja.ini,$Nick,Sp) - 20)
writeini Ninja.ini $nick Exp $calc($readini(Ninja.ini,$Nick,Exp) + %ExpGain)
LvLCheck $Nick
DeadCheck $Nick $2
}
}
}
on 1:TEXT:`Tanbo*:*:{
if (%Power == On) {
if ($readini(Ninja.ini,$nick,Register) !== Yes) { Notice $nick You are not registered! | halt }
if ($readini(Ninja.ini,$nick,Sp) <= 30) { Notice $nick You do not have enough Sp! | Halt }
if ($nick == $2) { Notice $nick Don't Attack Yourself! | halt }
if ($readini(Ninja.ini,$nick,fighting) != yes) { Notice $nick You are not Fighting! | halt }
if ($readini(Ninja.ini,$2,fighting) != yes) { Notice $nick $2 is not Fighting! | halt }
if ($readini(Ninja.ini,$nick,Attacking) == yes) { Notice $nick You are Attacking! | halt }
Set %WAttacks $readini(Ninja.ini,$nick,Weapons)
if ($istok(%wattacks,Tanbo,32) == $true) {
set %base.power [ $readini Ninja.ini $Nick Strength ]
set %ExpGain $Rand(3,8)
set %defense.power [ $readini Ninja.ini $2 WepDef + $readini Ninja.ini $2 Strength ]
set %attack.power [ $readini Ninja.ini $Nick WepOff + $readini Ninja.ini $Nick Strength + 3000 ]
set %Damage $calc( %base.power + (%attack.power - %defense.power))
if (%Damage < 1) { set %Damage 1 }
msg %Chan $nick $+ ( $+ $readini(Ninja.ini,$nick,Character) $+ ) Strikes $2 $+ ( $+ $readini(Ninja.ini,$2,Character) $+ ) with a Tanbo doing $bytes(%damage,b) damage! (Gained %ExpGain Exp)
writeini Ninja.ini $2 Hp $calc($readini(Ninja.ini,$2,Hp) - %Damage)
writeini Ninja.ini $nick Exp $calc($readini(Ninja.ini,$Nick,Exp) + %ExpGain)
writeini Ninja.ini $nick Sp $Calc($readini(Ninja.ini,$Nick,Sp) - 30)
LvLCheck $Nick
DeadCheck $Nick $2
}
}
}
on 1:TEXT:`DeathStrike*:*:{
if (%Power == On) {
if ($readini(Ninja.ini,$nick,Register) !== Yes) { Notice $nick You are not registered! | halt }
if ($readini(Ninja.ini,$nick,Sp) <= 100) { Notice $nick You do not have enough Sp! | Halt }
if ($nick == $2) { Notice $nick Don't Attack Yourself! | halt }
if ($readini(Ninja.ini,$nick,fighting) != yes) { Notice $nick You are not Fighting! | halt }
if ($readini(Ninja.ini,$2,fighting) != yes) { Notice $nick $2 is not Fighting! | halt }
if ($readini(Ninja.ini,$nick,Attacking) == yes) { Notice $nick You are Attacking! | halt }
Set %WAttacks $readini(Ninja.ini,$nick,Weapons)
if ($istok(%wattacks,DeathStrike,32) == $true) {
set %base.power [ $readini Ninja.ini $Nick Strength ]
set %ExpGain $Rand(3,8)
set %defense.power [ $readini Ninja.ini $2 WepDef + $readini Ninja.ini $2 Strength ]
set %attack.power [ $readini Ninja.ini $Nick WepOff + $readini Ninja.ini $Nick Strength + 500000 ]
set %Damage $calc( %base.power + (%attack.power - %defense.power))
if (%Damage < 1) { set %Damage 1 }
msg %Chan $nick $+ ( $+ $readini(Ninja.ini,$nick,Character) $+ ) Hits $2 $+ ( $+ $readini(Ninja.ini,$2,Character) $+ ) with DeathStrike doing $bytes(%damage,b) damage! (Gained %ExpGain Exp)
writeini Ninja.ini $2 Hp $calc($readini(Ninja.ini,$2,Hp) - %Damage)
writeini Ninja.ini $nick Exp $calc($readini(Ninja.ini,$Nick,Exp) + %ExpGain)
writeini Ninja.ini $nick Sp $Calc($readini(Ninja.ini,$Nick,Sp) - 100)
LvLCheck $Nick
DeadCheck $Nick $2
}
}
}
on 1:TEXT:`DemonicThunder*:*:{
if (%Power == On) {
if ($readini(Ninja.ini,$nick,Register) !== Yes) { Notice $nick You are not registered! | halt }
if ($readini(Ninja.ini,$nick,Sp) <= 500) { Notice $nick You do not have enough Sp! | Halt }
if ($nick == $2) { Notice $nick Don't Attack Yourself! | halt }
if ($readini(Ninja.ini,$nick,fighting) != yes) { Notice $nick You are not Fighting! | halt }
if ($readini(Ninja.ini,$2,fighting) != yes) { Notice $nick $2 is not Fighting! | halt }
if ($readini(Ninja.ini,$nick,Attacking) == yes) { Notice $nick You are Attacking! | halt }
Set %WAttacks $readini(Ninja.ini,$nick,Weapons)
if ($istok(%wattacks,DemonicThunder,32) == $true) {
set %base.power [ $readini Ninja.ini $Nick Strength ]
set %ExpGain $Rand(3,8)
set %defense.power [ $readini Ninja.ini $2 WepDef + $readini Ninja.ini $2 Strength ]
set %attack.power [ $readini Ninja.ini $Nick WepOff + $readini Ninja.ini $Nick Strength + 1000000 ]
set %Damage $calc( %base.power + (%attack.power - %defense.power))
if (%Damage < 1) { set %Damage 1 }
msg %Chan $nick $+ ( $+ $readini(Ninja.ini,$nick,Character) $+ ) Hits $2 $+ ( $+ $readini(Ninja.ini,$2,Character) $+ ) with DemonicThunder doing $bytes(%damage,b) damage! (Gained %ExpGain Exp)
writeini Ninja.ini $2 Hp $calc($readini(Ninja.ini,$2,Hp) - %Damage)
writeini Ninja.ini $nick Exp $calc($readini(Ninja.ini,$Nick,Exp) + %ExpGain)
writeini Ninja.ini $nick Sp $Calc($readini(Ninja.ini,$Nick,Sp) - 500)
LvLCheck $Nick
DeadCheck $Nick $2
}
}
}
on 1:Text:`Use*:#: {
if (%Power == On) {
if ($readini(Ninja.ini,$nick,Register) !== Yes) { Notice $nick You are not registered! | halt }
if (ChakraPill == $2) {
if ($readini(Ninja.ini,$nick,CPill) == 0) { Notice $Nick You have no more ChakraPills! | Halt }
writeini Ninja.ini $Nick CPills $Calc($readini(Ninja.ini,$nick,CPills) - 1)
writeini Ninja.ini $Nick CP $readini(Ninja.ini,$nick,MCp)
Notice $Nick Your CP is now full!
}
if (StaminaPill == $2) {
if ($readini(Ninja.ini,$nick,SPill) == 0) { Notice $Nick You have no more StaminaPills! | Halt }
writeini Ninja.ini $Nick SPills $Calc($readini(Ninja.ini,$nick,SPills) - 1)
writeini Ninja.ini $Nick SP $readini(Ninja.ini,$nick,MSp)
Notice $Nick Your SP is now full!
}
if (HealthPill == $2) {
if ($readini(Ninja.ini,$nick,CPill) == 0) { Notice $Nick You have no more HealthPills! | Halt }
writeini Ninja.ini $Nick HPills $Calc($readini(Ninja.ini,$nick,HPills) - 1)
writeini Ninja.ini $Nick HP $readini(Ninja.ini,$nick,MHp)
Notice $Nick Your HP is now full!
}
}
}
on 1:Text:`Lag:#: {
if (%Power == On) {
LagTest
Msg # Bot lag: $+($calc(($ticks - %ticks) / 1000),s)
}
}

alias lagtest {
set %ticks $ticks | .raw PING 123
}
on 1:Text:`Train*:#: {
if (%Power == On) {
if ($readini(Ninja.ini,$nick,Register) !== Yes) { Notice $nick You are not registered! | halt }
if ($2 == TaiOff) {
Set %Useage $Calc($3 * 5)
if ($readini(Ninja.ini,$nick,Cp) <= %Useage) { Notice $Nick You do not have enough Cp! | Halt }
if ($readini(Ninja.ini,$nick,Sp) <= %Useage) { Notice $Nick You do not have enough Sp! | Halt }
writeini Ninja.ini $Nick TaiOff $Calc($readini(Ninja.ini,$nick,TaiOff) + $3)
writeini Ninja.ini $Nick Cp $Calc($readini(Ninja.ini,$nick,Cp) - %Useage)
writeini Ninja.ini $Nick Sp $Calc($readini(Ninja.ini,$nick,Sp) - %Useage)
Msg # $nick Trained his $2 $3 Times!
}
if ($2 == GenOff) {
Set %Useage $Calc($3 * 5)
if ($readini(Ninja.ini,$nick,Cp) <= %Useage) { Notice $Nick You do not have enough Cp! | Halt }
if ($readini(Ninja.ini,$nick,Sp) <= %Useage) { Notice $Nick You do not have enough Sp! | Halt }
writeini Ninja.ini $Nick GenOff $Calc($readini(Ninja.ini,$nick,GenOff) + $3)
writeini Ninja.ini $Nick Cp $Calc($readini(Ninja.ini,$nick,Cp) - %Useage)
writeini Ninja.ini $Nick Sp $Calc($readini(Ninja.ini,$nick,Sp) - %Useage)
Msg # $nick Trained his $2 $3 Times!
}
if ($2 == NinOff) {
Set %Useage $Calc($3 * 5)
if ($readini(Ninja.ini,$nick,Cp) <= %Useage) { Notice $Nick You do not have enough Cp! | Halt }
if ($readini(Ninja.ini,$nick,Sp) <= %Useage) { Notice $Nick You do not have enough Sp! | Halt }
writeini Ninja.ini $Nick NinOff $Calc($readini(Ninja.ini,$nick,NinOff) + $3)
writeini Ninja.ini $Nick Cp $Calc($readini(Ninja.ini,$nick,Cp) - %Useage)
writeini Ninja.ini $Nick Sp $Calc($readini(Ninja.ini,$nick,Sp) - %Useage)
Msg # $nick Trained his $2 $3 Times!
}
if ($2 == WepOff) {
Set %Useage $Calc($3 * 5)
if ($readini(Ninja.ini,$nick,Cp) <= %Useage) { Notice $Nick You do not have enough Cp! | Halt }
if ($readini(Ninja.ini,$nick,Sp) <= %Useage) { Notice $Nick You do not have enough Sp! | Halt }
writeini Ninja.ini $Nick WepOff $Calc($readini(Ninja.ini,$nick,WepOff) + $3)
writeini Ninja.ini $Nick Cp $Calc($readini(Ninja.ini,$nick,Cp) - %Useage)
writeini Ninja.ini $Nick Sp $Calc($readini(Ninja.ini,$nick,Sp) - %Useage)
Msg # $nick Trained his $2 $3 Times!
}
if ($2 == TaiDef) {
Set %Useage $Calc($3 * 5)
if ($readini(Ninja.ini,$nick,Cp) <= %Useage) { Notice $Nick You do not have enough Cp! | Halt }
if ($readini(Ninja.ini,$nick,Sp) <= %Useage) { Notice $Nick You do not have enough Sp! | Halt }
writeini Ninja.ini $Nick TaiDef $Calc($readini(Ninja.ini,$nick,TaiDef) + $3)
writeini Ninja.ini $Nick Cp $Calc($readini(Ninja.ini,$nick,Cp) - %Useage)
writeini Ninja.ini $Nick Sp $Calc($readini(Ninja.ini,$nick,Sp) - %Useage)
Msg # $nick Trained his $2 $3 Times!
}
if ($2 == GenDef) {
Set %Useage $Calc($3 * 5)
if ($readini(Ninja.ini,$nick,Cp) <= %Useage) { Notice $Nick You do not have enough Cp! | Halt }
if ($readini(Ninja.ini,$nick,Sp) <= %Useage) { Notice $Nick You do not have enough Sp! | Halt }
writeini Ninja.ini $Nick GenDef $Calc($readini(Ninja.ini,$nick,GenDef) + $3)
writeini Ninja.ini $Nick Cp $Calc($readini(Ninja.ini,$nick,Cp) - %Useage)
writeini Ninja.ini $Nick Sp $Calc($readini(Ninja.ini,$nick,Sp) - %Useage)
Msg # $nick Trained his $2 $3 Times!
}
if ($2 == NinDef) {
Set %Useage $Calc($3 * 5)
if ($readini(Ninja.ini,$nick,Cp) <= %Useage) { Notice $Nick You do not have enough Cp! | Halt }
if ($readini(Ninja.ini,$nick,Sp) <= %Useage) { Notice $Nick You do not have enough Sp! | Halt }
writeini Ninja.ini $Nick NinDef $Calc($readini(Ninja.ini,$nick,NinDef) + $3)
writeini Ninja.ini $Nick Cp $Calc($readini(Ninja.ini,$nick,Cp) - %Useage)
writeini Ninja.ini $Nick Sp $Calc($readini(Ninja.ini,$nick,Sp) - %Useage)
Msg # $nick Trained his $2 $3 Times!
}
if ($2 == WepDef) {
Set %Useage $Calc($3 * 5)
if ($readini(Ninja.ini,$nick,Cp) <= %Useage) { Notice $Nick You do not have enough Cp! | Halt }
if ($readini(Ninja.ini,$nick,Sp) <= %Useage) { Notice $Nick You do not have enough Sp! | Halt }
writeini Ninja.ini $Nick WepDef $Calc($readini(Ninja.ini,$nick,WepDef) + $3)
writeini Ninja.ini $Nick Cp $Calc($readini(Ninja.ini,$nick,Cp) - %Useage)
writeini Ninja.ini $Nick Sp $Calc($readini(Ninja.ini,$nick,Sp) - %Useage)
Msg # $nick Trained his $2 $3 Times!
}
if ($2 == Intell) {
Set %Useage $Calc($3 * 20)
if ($readini(Ninja.ini,$nick,Cp) <= %Useage) { Notice $Nick You do not have enough Cp! | Halt }
if ($readini(Ninja.ini,$nick,Sp) <= %Useage) { Notice $Nick You do not have enough Sp! | Halt }
writeini Ninja.ini $Nick Intell $Calc($readini(Ninja.ini,$nick,Intell) + $3)
writeini Ninja.ini $Nick Cp $Calc($readini(Ninja.ini,$nick,Cp) - %Useage)
writeini Ninja.ini $Nick Sp $Calc($readini(Ninja.ini,$nick,Sp) - %Useage)
Msg # $nick Trained his $2 $3 Times!
}
if ($2 == Strength) {
Set %Useage $Calc($3 * 20)
if ($readini(Ninja.ini,$nick,Cp) <= %Useage) { Notice $Nick You do not have enough Cp! | Halt }
if ($readini(Ninja.ini,$nick,Sp) <= %Useage) { Notice $Nick You do not have enough Sp! | Halt }
writeini Ninja.ini $Nick Strength $Calc($readini(Ninja.ini,$nick,Strength) + $3)
writeini Ninja.ini $Nick Cp $Calc($readini(Ninja.ini,$nick,Cp) - %Useage)
writeini Ninja.ini $Nick Sp $Calc($readini(Ninja.ini,$nick,Sp) - %Useage)
Msg # $nick Trained his $2 $3 Times!
}
}
}
on 1:TEXT:`Strike*:*:{
if (%Power == On) {
if ($readini(Ninja.ini,$nick,Register) !== Yes) { Notice $nick You are not registered! | halt }
if ($readini(Ninja.ini,$nick,Sp) <= 10) { Notice $nick You do not have enough Sp! | Halt }
if ($nick == $2) { Notice $nick Don't Attack Yourself! | halt }
if ($readini(Ninja.ini,$nick,fighting) != yes) { Notice $nick You are not Fighting! | halt }
if ($readini(Ninja.ini,$2,fighting) != yes) { Notice $nick $2 is not Fighting! | halt }
if ($readini(Ninja.ini,$nick,Attacking) == yes) { Notice $nick You are Attacking! | halt }
Set %Attacks $readini(Ninja.ini,$nick,NAttacks)
if ($istok(%attacks,Strike,32) == $true) {
set %base.power [ $readini Ninja.ini $Nick Strength ]
set %ExpGain $Rand(3,8)
set %defense.power [ $readini Ninja.ini $2 TaiDef + $readini Ninja.ini $2 Strength ]
set %attack.power [ $readini Ninja.ini $Nick TaiOff + $readini Ninja.ini $Nick Strength ]
set %Damage $calc( %base.power + (%attack.power - %defense.power))
if (%Damage < 1) { set %Damage 1 }
msg %Chan $nick $+ ( $+ $readini(Ninja.ini,$nick,Character) $+ ) Strikes $2 $+ ( $+ $readini(Ninja.ini,$2,Character) $+ ) in the back of the head doing $bytes(%damage,b) damage! (Gained %ExpGain Exp)
writeini Ninja.ini $2 Hp $calc($readini(Ninja.ini,$2,Hp) - %Damage)
writeini Ninja.ini $nick Exp $calc($readini(Ninja.ini,$Nick,Exp) + %ExpGain)
writeini Ninja.ini $nick Sp $Calc($readini(Ninja.ini,$Nick,Sp) - 10)
LvLCheck $Nick
DeadCheck $Nick $2
}
}
}
on 1:TEXT:`PureChakra*:*:{
if (%Power == On) {
if ($readini(Ninja.ini,$nick,Register) !== Yes) { Notice $nick You are not registered! | halt }
if ($readini(Ninja.ini,$nick,Cp) <= 15) { Notice $nick You do not have enough Cp! | Halt }
if ($nick == $2) { Notice $nick Don't Attack Yourself! | halt }
if ($readini(Ninja.ini,$nick,fighting) != yes) { Notice $nick You are not Fighting! | halt }
if ($readini(Ninja.ini,$2,fighting) != yes) { Notice $nick $2 is not Fighting! | halt }
if ($readini(Ninja.ini,$nick,Attacking) == yes) { Notice $nick You are Attacking! | halt }
Set %Attacks $readini(Ninja.ini,$nick,NAttacks)
if ($istok(%attacks,Strike,32) == $true) {
set %base.power [ $readini Ninja.ini $Nick Intell ]
set %ExpGain $Rand(3,8)
set %defense.power [ $readini Ninja.ini $2 NinDef + $readini Ninja.ini $2 GenDef + $readini Ninja.ini $2 Intell ]
set %attack.power [ $readini Ninja.ini $Nick NinOff + $readini Ninja.ini $Nick GenOff + $readini Ninja.ini $Nick Intell ]
set %Damage $calc( %base.power + (%attack.power - %defense.power))
if (%Damage < 1) { set %Damage 1 }
msg %Chan $nick $+ ( $+ $readini(Ninja.ini,$nick,Character) $+ ) hits $2 $+ ( $+ $readini(Ninja.ini,$2,Character) $+ ) with purechakra doing $bytes(%damage,b) damage! (Gained %ExpGain 0Exp)
writeini Ninja.ini $2 Hp $calc($readini(Ninja.ini,$2,Hp) - %Damage)
writeini Ninja.ini $Nick Exp $calc($readini(Ninja.ini,$Nick,Exp) + %ExpGain)
writeini Ninja.ini $nick Cp $Calc($readini(Ninja.ini,$Nick,Cp) - 15)
LvLCheck $Nick
DeadCheck $Nick $2
}
}
}
on 1:TEXT:`FireBall*:*:{
if (%Power == On) {
if ($readini(Ninja.ini,$nick,Register) !== Yes) { Notice $nick You are not registered! | halt }
if ($readini(Ninja.ini,$nick,Cp) <= 15) { Notice $nick You do not have enough Cp! | Halt }
if ($nick == $2) { Notice $nick Don't Attack Yourself! | halt }
if ($readini(Ninja.ini,$nick,fighting) != yes) { Notice $nick You are not Fighting! | halt }
if ($readini(Ninja.ini,$2,fighting) != yes) { Notice $nick $2 is not Fighting! | halt }
if ($readini(Ninja.ini,$nick,Attacking) == yes) { Notice $nick You are Attacking! | halt }
Set %Jutsus $readini(Ninja.ini,$nick,Jutsus)
if ($istok(%Jutsus,FireBall,32) == $false) { Notice $Nick You do not know FireBall Jutsu! | Halt }
if ($istok(%Jutsus,FireBall,32) == $true) {
set %base.power [ $readini Ninja.ini $Nick Intell ]
set %ExpGain $Rand(3,8)
set %defense.power [ $readini Ninja.ini $2 GenDef + $readini Ninja.ini $2 NinDef ]
set %attack.power [ $readini Ninja.ini $Nick GenOff + $readini Ninja.ini $Nick NinOff + $readini Ninja.ini $Nick Intell + 100 ]
set %Damage $calc( %base.power + (%attack.power - %defense.power))
if (%Damage < 1) { set %Damage 1 }
msg %Chan $nick $+ ( $+ $readini(Ninja.ini,$nick,Character) $+ ) Does handsigns and blows a huge fireball at $2 $+ ( $+ $readini(Ninja.ini,$2,Character) $+ ) hitting him and doing $bytes(%damage,b) damage! (Gained %ExpGain Exp)
writeini Ninja.ini $2 Hp $calc($readini(Ninja.ini,$2,Hp) - %Damage)
writeini Ninja.ini $nick Exp $calc($readini(Ninja.ini,$Nick,Exp) + %ExpGain)
writeini Ninja.ini $nick Cp $Calc($readini(Ninja.ini,$Nick,Cp) - 15)
LvLCheck $Nick
DeadCheck $Nick $2
}
}
}
on 1:TEXT:`Chidori*:*:{
if ($readini(Ninja.ini,$nick,Register) !== Yes) { Notice $nick You are not registered! | halt }
if ($readini(Ninja.ini,$nick,Sp) <= 20) { Notice $nick You do not have enough Sp! | Halt }
if ($readini(Ninja.ini,$nick,Cp) <= 20) { Notice $nick You do not have enough Cp! | Halt }
if ($nick == $2) { Notice $nick Don't Attack Yourself! | halt }
if ($readini(Ninja.ini,$nick,fighting) != yes) { Notice $nick You are not Fighting! | halt }
if ($readini(Ninja.ini,$2,fighting) != yes) { Notice $nick $2 is not Fighting! | halt }
if ($readini(Ninja.ini,$nick,Attacking) == yes) { Notice $nick You are Attacking! | halt }
Set %Jutsus $readini(Ninja.ini,$nick,Jutsus)
if ($istok(%Jutsus,Chidori,32) == $false) { Notice $Nick You do not know Chidori! | Halt }
if ($istok(%Jutsus,Chidori,32) == $true) {
set %base.power [ $readini Ninja.ini $Nick Intell ]
set %ExpGain $Rand(3,8)
set %defense.power [ $readini Ninja.ini $2 GenDef + $readini Ninja.ini $2 NinDef ]
set %attack.power [ $readini Ninja.ini $Nick GenOff + $readini Ninja.ini $Nick NinOff + $readini Ninja.ini $Nick Intell + 300 ]
set %Damage $calc( %base.power + (%attack.power - %defense.power))
if (%Damage < 1) { set %Damage 1 }
msg %Chan $nick $+ ( $+ $readini(Ninja.ini,$nick,Character) $+ ) Does handsigns and Chakra becomes visible in his palm, $nick $+ ( $+ $readini(Ninja.ini,$nick,Character) $+ ) Runs towards $2 $+ ( $+ $readini(Ninja.ini,$2,Character) $+ ) and jabs him in the chest doing $bytes(%damage,b) damage! (Gained %ExpGain Exp)
writeini Ninja.ini $2 Hp $calc($readini(Ninja.ini,$2,Hp) - %Damage)
writeini Ninja.ini $nick Exp $calc($readini(Ninja.ini,$Nick,Exp) + %ExpGain)
writeini Ninja.ini $nick Cp $Calc($readini(Ninja.ini,$Nick,Cp) - 20)
writeini Ninja.ini $nick Sp $Calc($readini(Ninja.ini,$Nick,Sp) - 20)
LvLCheck $Nick
DeadCheck $Nick $2
}
}
on 1:TEXT:`PrimaryLotus*:*:{
if (%Power == On) {
if ($readini(Ninja.ini,$nick,Register) !== Yes) { Notice $nick You are not registered! | halt }
if ($readini(Ninja.ini,$nick,Sp) <= 10) { Notice $nick You do not have enough Sp! | Halt }
if ($nick == $2) { Notice $nick Don't Attack Yourself! | halt }
if ($readini(Ninja.ini,$nick,fighting) != yes) { Notice $nick You are not Fighting! | halt }
if ($readini(Ninja.ini,$2,fighting) != yes) { Notice $nick $2 is not Fighting! | halt }
if ($readini(Ninja.ini,$nick,Attacking) == yes) { Notice $nick You are Attacking! | halt }
Set %Jutsus $readini(Ninja.ini,$nick,Jutsus)
if ($istok(%Jutsus,PrimaryLotus,32) == $false) { Notice $Nick You do not know PrimaryLotus! | Halt }
if ($istok(%Jutsus,PrimaryLotus,32) == $true) {
set %base.power [ $readini Ninja.ini $Nick Strength ]
set %ExpGain $Rand(3,8)
set %defense.power [ $readini Ninja.ini $2 TaiDef + $readini Ninja.ini $2 Strength ]
set %attack.power [ $readini Ninja.ini $Nick TaiOff + $readini Ninja.ini $Nick WepOffOff + $readini Ninja.ini $Nick Strength + 300 ]
set %Damage $calc( %base.power + (%attack.power - %defense.power))
if (%Damage < 1) { set %Damage 1 }
msg %Chan $nick $+ ( $+ $readini(Ninja.ini,$nick,Character) $+ ) Kicks $2 $+ ( $+ $readini(Ninja.ini,$2,Character) $+ ) into the air and appears behind him and grabs him, $nick $+ ( $+ $readini(Ninja.ini,$nick,Character) $+ ) Slams $2 $+ ( $+ $readini(Ninja.ini,$2,Character) $+ ) into the ground doing $bytes(%damage,b) damage! (Gained %ExpGain Exp)
writeini Ninja.ini $2 Hp $calc($readini(Ninja.ini,$2,Hp) - %Damage)
writeini Ninja.ini $nick Exp $calc($readini(Ninja.ini,$Nick,Exp) + %ExpGain)
writeini Ninja.ini $nick Sp $Calc($readini(Ninja.ini,$Nick,Sp) - 20)
LvLCheck $Nick
DeadCheck $Nick $2
}
}
}
on 500:Text:`Power*:#: {
if ($2 == On) {
Set %Power On
cs Topic %Chan 14||| 15NinjaRpg Status:12 Online 14|||
Msg # NinjaRpg has now been activated!
}
if ($2 == Off) {
Set %Power Off
cs Topic %Chan 14||| 15NinjaRpg Status:12 Offline 14|||
Msg # NinjaRpg is now Deactivated
}
}
on 500:Text:`AddAdmin*:#:{
if (%Power == On) {
Auser 400 $2
cs Sop # add $2
cs protect # $2
Msg # $2 has been added as an Admin of the NinjaRpg Bot!
}
}
on 500:Text:`RemAdmin*:#:{
if (%Power == On) {
Ruser $2
cs Sop # del $2
cs Deprotect # $2
Msg # $2 has been Removed of his Admin powers!
}
}
on 400:Text:`AddOper*:#:{
if (%Power == On) {
Auser 200 $2
cs Aop # add $2
cs Op # $2
Msg # $2 has been added as a Oper of the NinjaRpg bot!
}
}
on 400:Text:`AddOper*:#:{
if (%Power == On) {
Ruser $2
cs aop # del $2
cs DeOp # $2
Msg # $2 has been Removed of his Oper powers!
}
}
on 400:Text:`Set*:#: {
if (%Power == On) {
if ($readini(Ninja.ini,$2,Register) !== Yes) { Notice $nick $2 is not registered! | halt }
Writeini Ninja.ini $2 $3 $4-
Msg # $2 $+ 's $3 was set to $4- by $nick $+ !
}
}
on 400:Text:`AddRyo*:#: {
if (%Power == On) {
if ($readini(Ninja.ini,$2,Register) !== Yes) { Notice $nick $2 is not registered! | halt }
Writeini Ninja.ini $2 Ryo $Calc($readini(Ninja.ini,$2,Ryo) + $3)
Msg # $nick added $3 Ryo to $2 $+ 's Account!
}
}
on 400:Text:`RemRyo*:#: {
if (%Power == On) {
if ($readini(Ninja.ini,$2,Register) !== Yes) { Notice $nick $2 is not registered! | halt }
Writeini Ninja.ini $2 Ryo $Calc($readini(Ninja.ini,$2,Ryo) - $3)
Msg # $nick Removed $3 Ryo from $2 $+ 's Account!
}
}
on 200:Text:`FEnter*:#: {
if (%Power == On) {
if ($readini(Ninja.ini,$2,Register) !== Yes) { Notice $Nick $2 is not registered! | halt }
Writeini Ninja.ini $2 Fighting Yes
Set %batlist %batlist $2
Msg # $2 was force entered by $Nick
}
}
on 200:Text:`FLeave*:#: {
if (%Power == On) {
if ($readini(Ninja.ini,$2,Register) !== Yes) { Notice $Nick $2 is not registered! | halt }
Writeini Ninja.ini $2 Fighting No
Set %batlist $remtok(%batlist,$2,1,32)
Msg # $2 was force out of battle by $Nick
}
}
on 200:Text:`FHeal*:#: {
if (%Power == On) {
if ($readini(Ninja.ini,$2,Register) !== Yes) { Notice $Nick $2 is not registered! | halt }
writeini Ninja.ini $2 Hp $readini(Ninja.ini,$2,MHp)
writeini Ninja.ini $2 Sp $readini(Ninja.ini,$2,MSp)
writeini Ninja.ini $2 Cp $readini(Ninja.ini,$2,MCp)
Msg # $2 was healed by $Nick
}
}
on 1:Text:`Help*:#: {
if (%Power == On) {
if ($2 == $null) { notice $nick Help SubJects: AllCommands, Battling, Shop, Jutsus, Bloodlines, Ranks, Weapons, Items, Rules, Train | Halt }
if ($2 == AllCommands) { Notice $Nick All Normal users commands: `Record, `Record (User), `Stats, `Stats (User), `ShowStats, `ShowStats (User), Buy (items/Weapons) (Ammount of item), `Learn (Jutsu/Bloodlines), `ForGet, `Forget (Jutsus/Bloodlines), `Enter, `Leave, `Jutsus, `Items, `Weapons. More To come soon! | Halt }
if ($2 == Battling) { Notice $Nick To battle type `enter to enter the battle field and `leave to leave the battle field. Everytime you battle, it records your wins and losses, Typ `Record to see your record and `Record (Nick) to see somebody elses. }
if ($2 == Shop) { Notice $Nick The Shop has many items you can buy, Type `Shop to see the different shops, For instance `JShop holds jutsus that you can learn and forget. }
if ($2 == Jutsus) { Notice $Nick Jutsus can be bought in the `JShop. There will be a wide asortment of jutsus to learn in the near future, but for now there are 3 jutsus to learn, you can forget jutsus by typeing `Forget (jutsu) }
if ($2 == Bloodlines) { Notice $Nick Bloodliens can be bought in the `BShop. Bloodlines are special abilities you can have, You can only have 1 bloodline, They add certain abilities to your profile, for now there only status gains but soon they will have jutsus to go with them. You can also forget your Bloodline by typeing `Forget (Bloodline), Nut it costs 100,000 ryo to forget one so choose wisly! }
if ($2 == Ranks) { Notice $Nick There are 8 ranks in this rpg. They include: Student, Genin, Chuunin, Jounin, Special Jounin, Sennin, Kage, and God. You can only become god at lvl 1000 Kage, We dotn need everyone becoming God within a week of begining, so thats why its set at lvl 1000. }
if ($2 == Rules) { Notice $Nick Rules you MUST!! follow by or be banned! #1: No mass flooding, limit your commands used! #2: No Disrespecting other users! #3: No cheating at all, if you are caught you will be akicked from the channel! More Rules to come! }
if ($2 == Train) { Notice $Nick To train all yuo have to do it type `Train (Stat) (Ammount). But it takes 5 cp and sp for 1 tai, nin, gen or wep point and 10 cp and sp for 1 strength or intell point! }
if ($2 == Items) { Notice $Nick Items can be bought in the `IShop. You can use them in the battle arena at any time. }
if ($2 == Weapons) { Notice $Nick Weapons can be bought in the `WShop. Weapons add the price of the weapon to your attack. Example DemonicThunder is 1mil ryo, so it add 1mil attack when you use it. }
}
}

Comments

Sign in to comment.
b0sse   -  Jul 19, 2009
any news on that v2 yet?
has it been finished?
 Respond  
ChunkieMonkey   -  Jul 20, 2008
You Rawk Darkkeeper!!!
 Respond  
Darkkeeper   -  Jul 20, 2008
OK, b4 i continue my other little DCC RPG project, imm work on V2 of this bot since it will take alot less time than my DCC RPG im working on... V2 will be on here soon, but if its too large i\'ll post it on another site and give the link here.... V2 will have alot of edits, a login, a admin command to add jutsus, items, characters, and NPC\'s. i\'ve also got alot more planed for it, so you will have to wait for V2 too see ;) its been over a year since i posted V1 and i\'ve jsut been too lazy to make a newer version.... I\'ve learned alot more abotu scripting so you can expect V2 to be ALOT better.... i will also greatly test each part of it b4 releasing it....
 Respond  
Darkkeeper   -  Dec 23, 2007
once i get done with my personal bot im going to start on a new Naruto RPG, but i\'ve gotten alot better at scripting so there will be little to 0 bugs
 Respond  
Mono   -  Oct 17, 2007
i typed /auser 500 ZZZ (which is my name) and now i cant use `stats
 Respond  
Mono   -  Oct 17, 2007
and some weird reason when my friend only one friend and the rest can register it doesnt say anything when he Tries to register
 Respond  
Mono   -  Oct 15, 2007
what about when you attack it doesnt show it >_> make it where it does
 Respond  
ZabuzaMomochi   -  Apr 15, 2007
uhh, dont include the [code] things for the above comment, NEXT UPDATE FOR HAWKEE.COM(or it should be): Editing comments for snippet! Even though the BBCode is awesome.. ;D
 Respond  
ZabuzaMomochi   -  Apr 15, 2007
instead of having
Code
 

and
Code
 

You should just write all the characters on the same line in a .ini file, and then use for boy characters:
Code
 

and girl characters:
Code
 

example of what ninjachars.ini should look like:
[code]
[Chars]
BChars=Naruto,Neji,Sasuke,Gaara,Kakashi,Kiba,Shikamaru,Choji,Orochimaru,Itachi,Deidara,Kankuro,Haku
GChars=Sakura,Ino,TenTen,Hinata,Temari
[code]
Nice job otherwise.
 Respond  
mecatrix   -  Apr 12, 2007
can you make a version that all the commands is done on DCC CHAT.. and player level @ win fighting again something @ gain something is shown on the channel ( just like idlerpg but the diff is you can train your character ) .. that would be nice.. less xces FLOOD for other server =)
 Respond  
Sasuke   -  Apr 11, 2007
Are they supposed to be bots or something? And shouldn\'t there be a timer on the Arena start? Like... 30 seconds or something before it automatically starts, that way there\'s more of a balance. Oh well... it\'ll never be as good as Naruto_Labs.
 Respond  
Darkkeeper   -  Apr 10, 2007
like i said, ver one is well, lame, and sucky and all, but ver 2 will be alot better, and dragon and outlaw are messed up, you have to create a profile for them :\\
 Respond  
Sasuke   -  Apr 10, 2007
No real bugs or anything. Some EXP cutoffs, but whatever. I\'m sort of disappointed, however. I thought it was going to be turn based...
 Respond  
Sasuke   -  Apr 10, 2007
What\'s with Dragon and OutLaw?
 Respond  
Darkkeeper   -  Apr 10, 2007
just go under the
if (Naruto == $2 || Neji == $2 || Sasuke == $2 || Gaara == $2 || Kakashi == $2 || Kiba == $2 || Shikamaru == $2 || Choji == $2 || Orochimaru == $2 || Itachi == $2 || Deidara == $2 || Kankuro == $2 || Haku == $2) {

and jsut add || (Name) == $2
stuff liek that, just make sure to add the names into the list
 Respond  
Sasuke   -  Apr 10, 2007
Done.

Hey, is it possible to add characters without completely screwing it up?
 Respond  
Darkkeeper   -  Apr 10, 2007
for those of you that copyed the messed up version, erase from Alias Heal { down, erase all of it below Alias Heal { and jsut add the alias file to your aliases and it will work
 Respond  
Darkkeeper   -  Apr 10, 2007
ok guys the alias are here --> http://www.hawkee.com/snippet/2559/
just edit that into your alias
 Respond  
Darkkeeper   -  Apr 10, 2007
ok i see whats wrong guys, it was too many characters lol, i\'ll make it 2 parts, 1 alias and 1 remotes, give me jsut a sec
 Respond  
Sasuke   -  Apr 10, 2007
It\'s cutttt! Nooooo~!
 Respond  
Pass   -  Apr 10, 2007
I believe it was cut off, Darkkeeper
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.