mIRC Home    About    Download    Register    News    Help

Print Thread
creating a name user scipt type thing #90945 19/07/04 02:33 AM
Joined: Jul 2004
Posts: 8
F
faulk Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
F
Joined: Jul 2004
Posts: 8
ok heres what I am trying to do: Basically what I want is like one of those scripts where u type something and it puts the name in for you. This is what I have so far and this is the way I like it:
i added the line n22=user:/say $$1 : in my popups config settings file. So what it does now is I have a user command when i right click on a name but the problem is it just says the name. I could add a static text after it but thats not what I want. Basically what I want to be able to do is have the user name appear before what I can type. so when i click on user it types the users name in the type box for me then i can type what i wish after that. im sorry that im saying this all confusingly and im not really sure if it can be done. i dont want to rip of any other script i want to make my own. if anyone has any suggestions id be happy smile


Nate Faulkenberry
Re: creating a name user scipt type thing #90946 19/07/04 10:26 AM
Joined: Apr 2004
Posts: 45
V
Venoman Offline
Ameglian cow
Offline
Ameglian cow
V
Joined: Apr 2004
Posts: 45
I'm not sure which 'type box' you're referring to, but the command you are looking for is /editbox . type /help /editbox in mirc to read the syntax and use information.

-Venoman

Re: creating a name user scipt type thing #90947 19/07/04 10:30 AM
Joined: Dec 2002
Posts: 1,530
L
landonsandor Offline
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,530
I hope I got the right idea for you here. Try this:

User: {
if ($?="type your text here" != $null) { say $$1 : $! }
}

When you type your message in, it'll send the message along. Also, if you cancel it or close it with NO text in the box, it wont say anything. Also, the $! is whatever you typed into the input box so you dont need to set a variable for it Hope this helps smile


Those who fail history are doomed to repeat it