mIRC Home    About    Download    Register    News    Help

Print Thread
how to use info from an inmput table #93284 08/08/04 09:03 AM
Joined: Jun 2004
Posts: 291
W
whatsthedillio Offline OP
Fjord artisan
OP Offline
Fjord artisan
W
Joined: Jun 2004
Posts: 291
i want to beable for the user to enter a channel in the box then it msg the chan something
$?="Enter Channel Name e.g #Channel "
but it says #channel is not a command
but all i want is to get the channel and msg it
like msg $1- hello
pls help me thanks

i know :
/msg $?="Enter Channel Name e.g #Channel "
but how can i make it play a text file to the nick/channel
if the txt was called play.txt
itried
/msg $?="Enter Channel Name e.g #Channel " $read(hello.txt)
but that didnt work pls help me out here
thanks alot

Last edited by whatsthedillio; 08/08/04 10:19 AM.
Re: how to use info from an inmput table #93285 08/08/04 10:44 AM
Joined: Feb 2003
Posts: 67
N
Naz Offline
Babel fish
Offline
Babel fish
N
Joined: Feb 2003
Posts: 67
Say this:msg $?="Enter Channel Name e.g #Channel " Your text here.

The above works fine as a popup or a script menu.


Those who live by the sword get shot by those who don't.
Re: how to use info from an inmput table #93286 08/08/04 10:48 AM
Joined: Mar 2004
Posts: 130
T
tsoglanos Offline
Vogon poet
Offline
Vogon poet
T
Joined: Mar 2004
Posts: 130
type this for test

Code:
 
//play $?"enter channel" versions.txt 2000
 

Re: how to use info from an inmput table #93287 08/08/04 02:16 PM
Joined: Jun 2004
Posts: 291
W
whatsthedillio Offline OP
Fjord artisan
OP Offline
Fjord artisan
W
Joined: Jun 2004
Posts: 291
yep worked great thanks alot

Re: how to use info from an input #93288 08/08/04 11:01 PM
Joined: Aug 2003
Posts: 1,831
I
Iori Offline
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
You can also use #$input()
  • //play #$$input(Enter channel,e) file.txt 1500