iRPG Monitor for mIRC v1.01By: Angelus
Last Modified: Sep 07 1:49pm (r1)

I got annoyed checking my stats when i was bored on #idleirpg so i threw this together, not sure if anyone even wants it but thats upto you.
firstly you need to add 2 varibles in the alias "idle_grab", change "<your nick>" to the nickname you registered, "<your chan>" to the channel you want the message sent to, and "<title>" to whatever title you chose.
Then call the alias using /idle_grab.
Now when ever you attack/are attacked or go up a level, you will recieve a message in the channel you specified, alternatively it could be changed to send a PM or a notice.
You can add other lines to it, but these ones were the only ones i wanted to see.
++ edit ++
fixed the color issue
firstly you need to add 2 varibles in the alias "idle_grab", change "<your nick>" to the nickname you registered, "<your chan>" to the channel you want the message sent to, and "<title>" to whatever title you chose.
Then call the alias using /idle_grab.
Now when ever you attack/are attacked or go up a level, you will recieve a message in the channel you specified, alternatively it could be changed to send a PM or a notice.
You can add other lines to it, but these ones were the only ones i wanted to see.
++ edit ++
fixed the color issue

alias idle_grab {
set %irpg_user <your nick>
set %i_channel <your chan>
set %title <your title>
set %defeat /(.*) (.*) has come upon (.*) (.*) and lost!/
set %success /(.*) (.*) has challenged (.*) (.*) in combat and won!/
set %success2 /(.*) (.*) has come upon (.*) (.*) and taken them in combat!/
set %attained /(.*), the %title, has attained level (.*)! Next level/
}
on $*:text:%defeat:#idlerpg: {
if ($regml(1) == %irpg_user) {
msg %i_channel 12 $+ $regml(3) challenged you and lost :(
}
}
on $*:text:%success:#idlerpg: {
if ($regml(1) == %irpg_user) {
msg %i_channel 12 $+ You challenged $regml(3) and won!
}
}
on $*:text:%success2:#idlerpg: {
if ($regml(1) == %irpg_user) {
msg %i_channel 12 $+ You challenged $regml(3) and won!
}
if ($regml(3) == %irpg_user) {
msg %i_channel 12 $+ $regml(3) challenged you and won :(
}
}
on $*:text:%attained:#idlerpg: {
if ($regml(1) == %irpg_user) {
msg %i_channel 12 $+ You have moved upto level $regml(2)
}
}
|

Comments