on *:load: { echo -a 14Congratulations on loading Naked-Snake's Special Attack Alias.
echo -a 14Usage: 2/spec nick.
echo -a 14Usage: 2/info To send info about the script to the active channel.
echo -a 14Usage: 2/colour Number code I.e. 04 for 4red.
echo -a 14Usage: 2/usage To see this information again.
}
alias usage { echo -a 14Usage: 2/spec nick.
echo -a 14Usage: 2/info To send info about the script to the active channel.
echo -a 14Usage: 2/colour Number code I.e. 04 for 4red.
echo -a 14Usage: 2/usage To see this information again.
}
alias specinfo { msg $chan $+($chr(3),$chr(52),$chr(83),$chr(112),$chr(101),$chr(99),$chr(105),$chr(97),$chr(108),$chr(32),$chr(65),$chr(116),$chr(116),$chr(97),$chr(99),$chr(107),$chr(3),$chr(49),$chr(52),$chr(32),$chr(65),$chr(108),$chr(105),$chr(97),$chr(115),$chr(32),$chr(77),$chr(97),$chr(100),$chr(101),$chr(32),$chr(66),$chr(121),$chr(32),$chr(3),$chr(52),$chr(78),$chr(97),$chr(107),$chr(101),$chr(100),$chr(45),$chr(83),$chr(110),$chr(97),$chr(107),$chr(101),$chr(15)) }
alias colour { set %col.1 $+($chr(3), $+ $1 $+ )
echo -a %col.1 $+ This is your new set colour. }
alias spec {
set %spec.wep $read(specwep.txt) {
if (*Dragon Dagger* iswm %spec.wep) { describe $chan gets out his %col.1 $+ %spec.wep and special attacks %col.1 $+ $1- with it and hits %col.1 $+ $rand(0,50) - %col.1 $+ $rand(0,50) | halt
}
elseif (*Dragon Halberd* iswm %spec.wep) { describe $chan whips out his %col.1 $+ %spec.wep and special attacks %col.1 $+ $1- with it and hits %col.1 $+ $rand(0,50) - %col.1 $+ $rand(0,50) | halt
}
elseif (*Granite Maul* iswm %spec.wep) { describe $chan whips out his %col.1 $+ %spec.wep and hits %col.1 $+ $rand(0,35) and then special attacks %col.1 $+ $1- with it and hits %col.1 $+ $rand(0,50) - %col.1 $+ $rand(0,50) | halt
}
elseif (*Dark*bow* iswm %spec.wep) { set %spec.arrow $read(arrow.txt) {
if (*Bronze* iswm %spec.arrow) { describe $chan special attacks %col.1 $+ $1- with his %col.1 $+ %spec.wep with %col.1 $+ %spec.arrow and hits %col.1 $+ $rand(0,17) - %col.1 $+ $rand(0,17) | halt
}
elseif (*Iron* iswm %spec.arrow) { describe $chan special attacks %col.1 $+ $1- with his %col.1 $+ %spec.wep with %col.1 $+ %spec.arrow and hits %col.1 $+ $rand(0,18) - %col.1 $+ $rand(0,18) | halt
}
elseif (*Steel* iswm %spec.arrow) { describe $chan special attacks %col.1 $+ $1- with his %col.1 $+ %spec.wep with %col.1 $+ %spec.arrow and hits %col.1 $+ $rand(0,19) - %col.1 $+ $rand(0,19) | halt
}
elseif (*Mith* iswm %spec.arrow) { describe $chan special attacks %col.1 $+ $1- with his %col.1 $+ %spec.wep with %col.1 $+ %spec.arrow and hits %col.1 $+ $rand(0,21) - %col.1 $+ $rand(0,21) | halt
}
elseif (*Adamant* iswm %spec.arrow) { describe $chan special attacks %col.1 $+ $1- with his %col.1 $+ %spec.wep with %col.1 $+ %spec.arrow and hits %col.1 $+ $rand(0,23) - %col.1 $+ $rand(0,23) | halt
}
elseif (*Rune* iswm %spec.arrow) { describe $chan special attacks %col.1 $+ $1- with his %col.1 $+ %spec.wep with %col.1 $+ %spec.arrow and hits %col.1 $+ $rand(0,26) - %col.1 $+ $rand(0,26) | halt
}
elseif (*Dragon* iswm %spec.arrow) { describe $chan special attacks %%col.1 $+ $1- with his %col.1 $+ %spec.wep with %col.1 $+ %spec.arrow and hits %col.1 $+ $rand(0,47) - %col.1 $+ $rand(0,47) | halt
}
}
}
elseif (*Magic Shortbow* iswm %spec.wep) { set %spec.arrow $read(arrow.txt) {
if (*Bronze* iswm %spec.arrow) { describe $chan special attacks %col.1 $+ $1- with his %col.1 $+ %spec.wep with %col.1 $+ %spec.arrow and hits %col.1 $+ $rand(0,17) - %col.1 $+ $rand(0,17) | halt
}
elseif (*Iron* iswm %spec.arrow) { describe $chan special attacks %col.1 $+ $1- with his %col.1 $+ %spec.wep with %col.1 $+ %spec.arrow and hits %col.1 $+ $rand(0,18) - %col.1 $+ $rand(0,18) | halt
}
elseif (*Steel* iswm %spec.arrow) { describe $chan special attacks %col.1 $+ $1- with his %col.1 $+ %spec.wep with %col.1 $+ %spec.arrow and hits %col.1 $+ $rand(0,19) - %col.1 $+ $rand(0,19) | halt
}
elseif (*Mith* iswm %spec.arrow) { describe $chan special attacks %col.1 $+ $1- with his %col.1 $+ %spec.wep with %col.1 $+ %spec.arrow and hits %col.1 $+ $rand(0,21) - %col.1 $+ $rand(0,21) | halt
}
elseif (*Adamant* iswm %spec.arrow) { describe $chan special attacks %col.1 $+ $1- with his %col.1 $+ %spec.wep ith %col.1 $+ %spec.arrow and hits %col.1 $+ $rand(0,23) - %col.1 $+ $rand(0,23) | halt
}
elseif (*Rune* iswm %spec.arrow) { describe $chan special attacks %col.1 $+ $1- with his %col.1 $+ %spec.wep with %col.1 $+ %spec.arrow and hits %col.1 $+ $rand(0,26) - %col.1 $+ $rand(0,26) | halt
}
elseif (*Dragon* iswm %spec.arrow) { describe $chan special attacks %col.1 $+ $1- with his %col.1 $+ %spec.wep with %col.1 $+ Rune Arrows and hits %col.1 $+ $rand(0,26) - %col.1 $+ $rand(0,26) | halt
}
}
}
elseif (*Cull* iswm %spec.wep) { set %spec.arrow $read(arrow.txt) {
if (*Bronze* iswm %spec.arrow) { describe $chan special attacks %col.1 $+ $1- with his %col.1 $+ %spec.wep with %col.1 $+ %spec.arrow and hits %col.1 $+ $rand(0,17) | halt
}
elseif (*Iron* iswm %spec.arrow) { describe $chan special attacks %col.1 $+ $1- with his %col.1 $+ %spec.wep with %col.1 $+ %spec.arrow and hits %col.1 $+ $rand(0,18) | halt
}
elseif (*Steel* iswm %spec.arrow) { describe $chan special attacks %col.1 $+ $1- with his %col.1 $+ %spec.wep with %col.1 $+ %spec.arrow and hits %col.1 $+ $rand(0,19) | halt
}
elseif (*Mith* iswm %spec.arrow) { describe $chan special attacks %col.1 $+ $1- with his %col.1 $+ %spec.wep with %col.1 $+ %spec.arrow and hits %col.1 $+ $rand(0,21) | halt
}
elseif (*Adamant* iswm %spec.arrow) { describe $chan special attacks %col.1 $+ $1- with his %col.1 $+ %spec.wep with %col.1 $+ %spec.arrow and hits %col.1 $+ $rand(0,23) | halt
}
elseif (*Rune* iswm %spec.arrow) { describe $chan special attacks %col.1 $+ $1- with his %col.1 $+ %spec.wep with %col.1 $+ %spec.arrow and hits %col.1 $+ $rand(0,26) | halt
}
elseif (*Dragon* iswm %spec.arrow) { describe $chan special attacks %col.1 $+ $1- with his %col.1 $+ %spec.wep with %col.1 $+ Rune Arrows and hits %col.1 $+ $rand(0,26) | halt
}
}
}
elseif (*Magic Longbow* iswm %spec.wep) { set %spec.arrow $read(arrow.txt) {
if (*Bronze* iswm %spec.arrow) { describe $chan special attacks %col.1 $+ $1- with his %col.1 $+ %spec.wep with %col.1 $+ %spec.arrow and hits %col.1 $+ $rand(0,17) | halt
}
elseif (*Iron* iswm %spec.arrow) { describe $chan special attacks %col.1 $+ $1- with his %col.1 $+ %spec.wep with %col.1 $+ %spec.arrow and hits %col.1 $+ $rand(0,18) | halt
}
elseif (*Steel* iswm %spec.arrow) { describe $chan special attacks %col.1 $+ $1- with his %col.1 $+ %spec.wep with %col.1 $+ %spec.arrow and hits %col.1 $+ $rand(0,19) | halt
}
elseif (*Mith* iswm %spec.arrow) { describe $chan special attacks %col.1 $+ $1- with his %col.1 $+ %spec.wep with %col.1 $+ %spec.arrow and hits %col.1 $+ $rand(0,21) | halt
}
elseif (*Adamant* iswm %spec.arrow) { describe $chan special attacks %col.1 $+ $1- with his %col.1 $+ %spec.wep with %col.1 $+ %spec.arrow and hits %col.1 $+ $rand(0,23) | halt
}
elseif (*Rune* iswm %spec.arrow) { describe $chan special attacks %col.1 $+ $1- with his %col.1 $+ %spec.wep with %col.1 $+ %spec.arrow and hits %col.1 $+ $rand(0,26) | halt
}
elseif (*Dragon* iswm %spec.arrow) { describe $chan special attacks %col.1 $+ $1- with his %col.1 $+ %spec.wep with %col.1 $+ Rune Arrows and hits %col.1 $+ $rand(0,26) | halt
}
}
}
elseif (*Rune Cross* iswm %spec.wep) { set %spec.bolt $read(bolts.txt) {
if (*Opal* iswm %spec.bolt) { describe $chan fires at %col.1 $+ $1- with his %col.1 $+ %spec.wep and %col.1 $+ %spec.bolt $+ 's which does the special and a bolt of lightning comes down and hits a %col.1 $+ $rand(0,25) | halt
}
elseif (*Jade* iswm %spec.bolt) { describe $chan fires at %col.1 $+ $1- with his %col.1 $+ %spec.wep and %col.1 $+ %spec.bolt $+ 's which does the special and knocks them to the ground whilst dealing %col.1 $+ $rand(0,27) damage | halt
}
elseif (*Pearl* iswm %spec.bolt) { describe $chan fires at %col.1 $+ $1- with his %col.1 $+ %spec.wep and %col.1 $+ %spec.bolt $+ 's which does the special and a water bolt comes down and hits %col.1 $+ $rand(0,28) | halt
}
elseif (*Red Topaz* iswm %spec.bolt) { describe $chan fires at %col.1 $+ $1- with his %col.1 $+ %spec.wep and %col.1 $+ %spec.bolt $+ 's which does the special and it hits %col.1 $+ $rand(0,30) and lowers %col.1 $+ $1 $+ 's magic | halt
}
elseif (*Sapphire* iswm %spec.bolt) { describe $chan fires at %col.1 $+ $1- with his %col.1 $+ %spec.wep and %col.1 $+ %spec.bolt $+ 's which does the special which hits %col.1 $+ $rand(0,32) and lowers %col.1 $+ $1 $+'s prayer | halt
}
elseif (*Emerald* iswm %spec.bolt) { describe $chan fires at %col.1 $+ $1- with his %col.1 $+ %spec.wep and %col.1 $+ %spec.bolt $+ 's which does the special which hits %col.1 $+ $rand(0,34) $+ , %col.1 $+ $1- is now poisoned | halt
}
elseif (*Ruby* iswm %spec.bolt) { describe $chan fires at %col.1 $+ $1- with his %col.1 $+ %spec.wep and %col.1 $+ %spec.bolt $+ 's which does the special and %col.1 $+ $me loses 10% of his hitpoints to deal %col.1 $+ $rand(15,18) damage | halt
}
elseif (*Diamond* iswm %spec.bolt) { describe $chan fires at %col.1 $+ $1- with his %col.1 $+ %spec.wep and %col.1 $+ %spec.bolt $+ 's which does the special and hits %col.1 $+ $rand(10,50) | halt
}
elseif (*Dragon* iswm %spec.bolt) { describe $chan fires at %col.1 $+ $1- with his %col.1 $+ %spec.wep and %col.1 $+ %spec.bolt $+ 's which does the special and the dragonfire hits %col.1 $+ $rand(20,60) | halt
}
elseif (*Onyx* iswm %spec.bolt) { describe $chan fires at %col.1 $+ $1- with his %col.1 $+ %spec.wep and %col.1 $+ %spec.bolt $+ 's which does the special and hits %col.1 $+ $rand(0,50) and heals %col.1 $+ $rand(0,25) | halt
}
}
}
elseif (Saradomin Sword iswm %spec.wep) { describe $chan brings out his %col.1 $+ %spec.wep and swings at %col.1 $+ $1- with all his strength and hits %col.1 $+ $rand(0,50) with an extra %col.1 $+ $rand(5,15) damage | halt }
elseif (*Armadyl* iswm %spec.wep) { describe $chan brings out his %col.1 $+ %spec.wep and swings at %col.1 $+ $1- with all his strength and hits %col.1 $+ $rand(0,70) | halt }
elseif (*Saradomin God* iswm %spec.wep) { describe $chan brings out his %col.1 $+ %spec.wep and swings at %col.1 $+ $1- with all his strength and hits %col.1 $+ $rand(0,50) which heals 10% of the damage to $me | halt }
elseif (*Bandos* iswm %spec.wep) { describe $chan brings out his %col.1 $+ %spec.wep and swings at %col.1 $+ $1- which hits %col.1 $+ $rand(0,50) and drains all of %col.1 $+ $1- $+ 's stats to 0! | halt }
elseif (*Zamorak* iswm %spec.wep) { describe $chan brings out his %col.1 $+ %spec.wep and swings at %col.1 $+ $1- with all his strength and hits %col.1 $+ $rand(0,60) which freezes %col.1 $+ $1- in place for 20 seconds | halt }
else { describe $chan whips out his %col.1 $+ %spec.wep and does the special attack on %col.1 $+ $1- and hits %col.1 $+ $rand(0,50) | halt
}
unset %spec.*
}
}
____________________________________________________________________________________________
on *:load: { echo -a 14Congratulations on loading Naked-Snake's Mage Alias.
echo -a 14Usage:2 /mage nick.
echo -a 14Usage:2 /info To send info about the script to the active channel.
echo -a 14Usage:2 /colour2 Number code I.e. 04 for 4red.
echo -a 14Usage:2 /mageusage To see this information again.
}
alias mageusage { echo -a 14Usage:2 /spec nick.
echo -a 14Usage:2 /info To send info about the script to the active channel.
echo -a 14Usage:2 /colour2 Number code I.e. 04 for 4red.
echo -a 14Usage:2 /mageusage To see this information again.
}
alias mageinfo { msg $chan $+($chr(3),$chr(50),$chr(77),$chr(97),$chr(103),$chr(101),$chr(32),$chr(65),$chr(116),$chr(116),$chr(97),$chr(99),$chr(107),$chr(32),$chr(65),$chr(108),$chr(105),$chr(97),$chr(115),$chr(46),$chr(15),$chr(32),$chr(77),$chr(97),$chr(100),$chr(101),$chr(32),$chr(97),$chr(110),$chr(100),$chr(32),$chr(84),$chr(101),$chr(115),$chr(116),$chr(101),$chr(100),$chr(32),$chr(98),$chr(121),$chr(32),$chr(3),$chr(50),$chr(78),$chr(97),$chr(107),$chr(101),$chr(100),$chr(45),$chr(83),$chr(110),$chr(97),$chr(107),$chr(101)) }
alias colour2 { set %col.2 $+($chr(3), $+ $1 $+ )
echo -a %col.2 $+ This is your new set colour. }
alias mage { if ($1 == $null) { echo -ta 14Please specify someone to attack | halt }
set %spell.1 $read(Spell.txt) {
set %spell.2 $read(Spelltype.txt) {
set %dmg.rush $rand(0,17) {
set %dmg.burst $rand(0,21) {
set %dmg.blitz $rand(0,25) {
set %dmg.barrage $rand(0,30) {
set %dmg.strike $rand(0,7) {
set %dmg.bolt $rand(0,15) {
set %dmg.blast $rand(0,20) {
set %dmg.wave $rand(0,25) {
if (*Ice* iswm %spell.1) { set %spell.2 $read(Ancientspelltype.txt) }
elseif (*Blood* iswm %spell.1) { set %spell.2 $read(Ancientspelltype.txt) }
elseif (*Shadow* iswm %spell.1) { set %spell.2 $read(Ancientspelltype.txt) }
elseif (*Smoke* iswm %spell.1) { set %spell.2 $read(Ancientspelltype.txt) }
if (*Ice* iswm %spell.1) && (*Rush* iswm %spell.2) { if (0 iswm %dmg.rush) { describe $chan casts %col.2 $+ %spell.1 %spell.2 on %col.2 $+ $1- but it splashes. }
else { describe $chan casts %col.2 $+ %spell.1 %spell.2 on %col.2 $+ $1- and hits %col.2 $+ %dmg.rush and %col.2 $+ $1- is frozen for %col.2 $+ 5 seconds
halt
}
}
if (*Ice* iswm %spell.1) && (*burst* iswm %spell.2) { if (0 iswm %dmg.burst) { describe $chan casts %col.2 $+ %spell.1 %spell.2 on %col.2 $+ $1- but it splashes. }
else { describe $chan casts %col.2 $+ %spell.1 %spell.2 on %col.2 $+ $1- and hits %col.2 $+ %dmg.rush and %col.2 $+ $1- is frozen for %col.2 $+ 10 seconds
halt
}
}
if (*Ice* iswm %spell.1) && (*blitz* iswm %spell.2) { if (0 iswm %dmg.blitz) { describe $chan casts %col.2 $+ %spell.1 %spell.2 on %col.2 $+ $1- but it splashes. }
else { describe $chan casts %col.2 $+ %spell.1 %spell.2 on %col.2 $+ $1- and hits %col.2 $+ %dmg.rush and %col.2 $+ $1- is frozen for %col.2 $+ 15 seconds
halt
}
}
if (*Ice* iswm %spell.1) && (*barrage* iswm %spell.2) { if (0 iswm %dmg.barrage) { describe $chan casts %col.2 $+ %spell.1 %spell.2 on %col.2 $+ $1- but it splashes. }
else { describe $chan casts %col.2 $+ %spell.1 %spell.2 on %col.2 $+ $1- and hits %col.2 $+ %dmg.rush and %col.2 $+ $1- is frozen for %col.2 $+ 20 seconds
halt
}
}
if (*Burst* iswm %spell.2) { if (0 iswm %dmg.burst) { describe $chan casts %col.2 $+ %spell.1 %spell.2 on %col.2 $+ $1- but it splashes. }
else { describe $chan casts %col.2 $+ %spell.1 %spell.2 on %col.2 $+ $1- and hits %col.2 $+ %dmg.burst
}
}
elseif (*Rush* iswm %spell.2) { if (0 iswm %dmg.rush) { describe $chan casts %col.2 $+ %spell.1 %spell.2 on %col.2 $+ $1- but it splashes. }
else { describe $chan casts %col.2 $+ %spell.1 %spell.2 on %col.2 $+ $1- and hits %col.2 $+ %dmg.rush
}
}
elseif (*Blitz* iswm %spell.2) { if (0 iswm %dmg.Blitz) { describe $chan casts %col.2 $+ %spell.1 %spell.2 on %col.2 $+ $1- but it splashes. }
else { describe $chan casts %col.2 $+ %spell.1 %spell.2 on %col.2 $+ $1- and hits %col.2 $+ %dmg.blitz
}
}
elseif (*Barrage* iswm %spell.2) { if (0 iswm %dmg.barrage) { describe $chan casts %col.2 $+ %spell.1 %spell.2 on %col.2 $+ $1- but it splashes. }
else { describe $chan casts %col.2 $+ %spell.1 %spell.2 on %col.2 $+ $1- and hits %col.2 $+ %dmg.barrage
}
}
elseif (*Strike* iswm %spell.2) { if (0 iswm %dmg.Strike) { describe $chan casts %col.2 $+ %spell.1 %spell.2 on %col.2 $+ $1- but it splashes. }
else { describe $chan casts %col.2 $+ %spell.1 %spell.2 on %col.2 $+ $1- and hits %col.2 $+ %dmg.strike
}
}
elseif (*Bolt* iswm %spell.2) { if (0 iswm %dmg.bolt) { describe $chan casts %col.2 $+ %spell.1 %spell.2 on %col.2 $+ $1- but it splashes. }
else { describe $chan casts %col.2 $+ %spell.1 %spell.2 on %col.2 $+ $1- and hits %col.2 $+ %dmg.bolt
}
}
elseif (*Blast* iswm %spell.2) { if (0 iswm %dmg.blast) { describe $chan casts %col.2 $+ %spell.1 %spell.2 on %col.2 $+ $1- but it splashes. }
else { describe $chan casts %col.2 $+ %spell.1 %spell.2 on %col.2 $+ $1- and hits %col.2 $+ %dmg.blast
}
}
elseif (*Wave* iswm %spell.2) { if (0 iswm %dmg.wave) { describe $chan casts %col.2 $+ %spell.1 %spell.2 on %col.2 $+ $1- but it splashes. }
else { describe $chan casts %col.2 $+ %spell.1 %spell.2 on %col.2 $+ $1- and hits %col.2 $+ %dmg.wave
}
}
elseif (*Bind* iswm %spell.2) { set %hit $rand(1,2)
if (1 iswm %hit) { describe $chan casts %col.2 $+ %spell.2 at %col.2 $+ $1- but it splashes }
elseif (2 iswm %hit) { describe $chan casts %col.2 $+ %spell.2 at %col.2 $+ $1- which hits %col.2 $+ $rand(0,5) and %col.2 $+ $1 is stopped from moving for %col.2 $+ 5 seconds
}
}
elseif (*Entangle* iswm %spell.2) { set %hit $rand(1,2)
if (1 iswm %hit) { describe $chan casts %col.2 $+ %spell.2 at %col.2 $+ $1- but it splashes }
elseif (2 iswm %hit) { describe $chan casts %col.2 $+ %spell.2 at %col.2 $+ $1- which hits %col.2 $+ $rand(0,5) and %col.2 $+ $1 is stopped from moving for %col.2 $+ 15 seconds
}
}
elseif (*Snare* iswm %spell.2) { set %hit $rand(1,2)
if (1 iswm %hit) { describe $chan casts %col.2 $+ %spell.2 at %col.2 $+ $1- but it splashes }
elseif (2 iswm %hit) { describe $chan casts %col.2 $+ %spell.2 at %col.2 $+ $1- which hits %col.2 $+ $rand(0,5) and %col.2 $+ $1 is stopped from moving for %col.2 $+ 10 seconds
}
}
unset %spell.* %dmg.* %hit
}
}
}
}
}
}
}
}
}
}
}