mIRC Home    About    Download    Register    News    Help

Print Thread
Page 1 of 2 1 2
#141773 13/02/06 02:17 AM
Joined: Feb 2006
Posts: 47
F
Ameglian cow
OP Offline
Ameglian cow
F
Joined: Feb 2006
Posts: 47
In the scripts editor on the popups menu I have:

STAB!:/me stabs $$1 with a Divine Blade!/stab
FIRE!:/me Fire blazes upon $$1!!/fire
EAT!$$2 eats $$1, and then digest $$1../eat
DIE!:/me stabs $$1 to death. ^.^/die
Slap!:/me slaps $$1 around a bit with a large trout./slap

But when I type in /slap user it says unknown command...

Why won't it work?

Last edited by FireDivine; 13/02/06 02:18 AM.
Joined: Oct 2005
Posts: 1,741
G
Hoopy frood
Offline
Hoopy frood
G
Joined: Oct 2005
Posts: 1,741
The popups editor allows you to add items to the right-click menu of various windows. If you want to type /slap, you need to add an alias to the alias editor.

Code:
slap if ($active ischan) describe $active slaps $$1 with a salmon


-genius_at_work

Joined: Feb 2006
Posts: 47
F
Ameglian cow
OP Offline
Ameglian cow
F
Joined: Feb 2006
Posts: 47
Oh ok. Thanks. Now i'll see if it works. ^.^

Joined: Feb 2006
Posts: 47
F
Ameglian cow
OP Offline
Ameglian cow
F
Joined: Feb 2006
Posts: 47
If someone typed in fish how can you make something to auto reply to fish? without me typing it in?

Last edited by FireDivine; 13/02/06 02:33 AM.
Joined: Feb 2006
Posts: 95
B
blk Offline
Babel fish
Offline
Babel fish
B
Joined: Feb 2006
Posts: 95
Place this in the Remote area of the script editor.
Code:
on *:TEXT:[color:red]fish bowl[/color]:#:{
  /msg $chan [color:green]<reply message here>[/color]
}

You could replace fish bowl with anything you want replyed to

Where <reply message here> just make that what you want fish bowl to be replyed with...


-blk-
Joined: Feb 2006
Posts: 47
F
Ameglian cow
OP Offline
Ameglian cow
F
Joined: Feb 2006
Posts: 47
Many thaks.

Joined: Feb 2006
Posts: 47
F
Ameglian cow
OP Offline
Ameglian cow
F
Joined: Feb 2006
Posts: 47
I am trying out a new code but it is not working for some reason.

I am putting it into Remote:

on *:TEXT:slowdeath $$1:#:{
/msg $active *Slowly kills $$1*
}

Where $active is the person typing the code and $$1 is the target.

Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
Code:
on *:TEXT:slowdeath *:#: msg $nick *Slowly kills $$2*

Joined: Feb 2006
Posts: 47
F
Ameglian cow
OP Offline
Ameglian cow
F
Joined: Feb 2006
Posts: 47
cool. thanks again.

Joined: Feb 2006
Posts: 47
F
Ameglian cow
OP Offline
Ameglian cow
F
Joined: Feb 2006
Posts: 47
Post deleted by FireDivine

Last edited by FireDivine; 13/02/06 04:38 AM.
Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
What is the exact error message? I haven't heard of anything like that before and it's definitely not coming from the script.

Joined: Feb 2006
Posts: 47
F
Ameglian cow
OP Offline
Ameglian cow
F
Joined: Feb 2006
Posts: 47
I'm sorry. I got it working now.

on *:TEXT:slowdeath *:#:{
/msg $chan $nick *Slowly kills $$2*
}

Last edited by FireDivine; 13/02/06 04:48 AM.
Joined: Feb 2006
Posts: 95
B
blk Offline
Babel fish
Offline
Babel fish
B
Joined: Feb 2006
Posts: 95
If you want it to make it an action -
Code:
on *:TEXT:slowdeath *:#:{
  /describe $chan Slowly kills $2
}


-blk-
Joined: Feb 2006
Posts: 47
F
Ameglian cow
OP Offline
Ameglian cow
F
Joined: Feb 2006
Posts: 47
OK thanks for the tip.

One last question I think.

How can I make the name change to something different besides my own?

$chan seems to display my name in front of everything.

What if I wanted to use another name for the intro line?

Like Monster instead of my user name.

Last edited by FireDivine; 13/02/06 05:08 AM.
Joined: Feb 2006
Posts: 95
B
blk Offline
Babel fish
Offline
Babel fish
B
Joined: Feb 2006
Posts: 95
Oh yea, you could make it
Code:
on *:TEXT:slowdeath *:#:{
  /describe $chan Slowly kills $2 for $nick
}


lol, other than that there is no other way..


-blk-
Joined: Feb 2006
Posts: 95
B
blk Offline
Babel fish
Offline
Babel fish
B
Joined: Feb 2006
Posts: 95
or like
Code:
on *:TEXT:slowdeath *:#:{
  /describe $chan has a monster slowly kill $2
}

smirk just ideas :tongue:


-blk-
Joined: Feb 2006
Posts: 47
F
Ameglian cow
OP Offline
Ameglian cow
F
Joined: Feb 2006
Posts: 47
ok I get it. Thanks for all the help.

Joined: Feb 2006
Posts: 47
F
Ameglian cow
OP Offline
Ameglian cow
F
Joined: Feb 2006
Posts: 47
Post deleted by FireDivine

Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
Could you rephrase that? I don't understand..

Joined: Feb 2006
Posts: 47
F
Ameglian cow
OP Offline
Ameglian cow
F
Joined: Feb 2006
Posts: 47
Sorry. I found out what caused the loop though.

Hiya * waits for the command
the reply hiya (name)

caused it to loop.

Now I got it like this:

on *:TEXT:Hiya *:#:{
/msg $chan <3 HIYA!
}

It got rid of the loop but after the HIYA! I would like it to have the name that originally put Hiya *

Last edited by FireDivine; 13/02/06 07:04 AM.
Page 1 of 2 1 2

Link Copied to Clipboard