Runescape !grats script

By criminal on Mar 20, 2008

Another easy, but useful script I made.. Called !gratz/!grats
If you read the title I think that would explain everything...
This is a script for RuneScape, if a player types ?gratz or ?grats
and $2 is between/or 1-99 and $3 is a runescape skill,
your bot will grats him/her.

The triggers are ?

How to get:
copy the code & paste in remote ( Alt + R )

If you don't like it, and you want to flame me, Please don't..
I'm pretty new in this stuff and still learning every second.
I hardly know mIRC and NNscript for 1.5 months..
Thanks :)

If you think this code got leached, No.
I created it with my own fingers ;)

UPDATE:
Some of the skills didn't work, So I had to remake it all over.
it works fine now.

Comments

Sign in to comment.
Bielie   -  Apr 28, 2010

add dungeoneering plz

 Respond  
criminal   -  Mar 22, 2008

Thanks :) ill remind that

 Respond  
guest598594   -  Mar 21, 2008

This could be simplified a LOT, with all those if ($3 == farming) etc...

You could do something like

or if you don\'t know regex, you could always use $istok

and rather than making two on texts, you could do

on $*:text:/\\?grat[sz]/Si:#:{

or

on *:text:grat*:#:{
  if ($istok(grats gratz,$1,32)) {
 Respond  
criminal   -  Mar 21, 2008

Thx guys, still waiting too change it, maybe there are more people with good advice =)

 Respond  
EL   -  Mar 20, 2008
guest598594   -  Mar 20, 2008

;mirc code

> 
what the nick wrote
 Respond  
criminal   -  Mar 20, 2008

Thanks guys :)
that\'s what I mean.. getting helped and people giving advice ... :D instead of flaming =)
thanks for that on $*:TEXT:/^[.!@]grat[sz]/Si:#: {
i didnt know how to set more than one :\ but now i do :)
oh and napa, i readed the $istok =) thanks =D

but I got a question :\
how do you guys post comments with \' code \' or \' quote \' ?

 Respond  
napa182   -  Mar 20, 2008

ture

 Respond  
guest598594   -  Mar 20, 2008

you can do it like this so you dont need both those parts

just one of many ways

or

on $*:TEXT:/^[.!@]grat[sz]/Si:#:{
 Respond  
napa182   -  Mar 20, 2008

you can do it like this so you dont need both those parts

just one of many ways

 Respond  
napa182   -  Mar 20, 2008

wow thats a real mess of if statements.. =/
look into /help $istok
this

if ($3 == attack) || if ($3 == att) || if ($3 == strength) || if ($3 == str) {

can be done like this

if ($istok(attack att strength str,$3,32)) {

and for the

if ($3- == $null) {

you can use

if (!$3-) {

and for the

if ($2 >= 100) || if ($2 <= 0) {

can be done like this

if ($2 !isnum 1-99) {
 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.