mIRC Home    About    Download    Register    News    Help

Print Thread
#59902 11/11/03 10:01 PM
Joined: Oct 2003
Posts: 2
D
Bowl of petunias
OP Offline
Bowl of petunias
D
Joined: Oct 2003
Posts: 2
Please understand that I am not yet versed in scripting and am not yet able to figure this out on my own. I am new to scripting and am very appreciative for any advice or constructive criticism that might be offered to us "Ignorant" but willing people out. smile

I frequent the MSN chat rooms and am considering opening up a room. If I were to kick someone from the room I would like it to happen in the following manner. Lets pretend for a moment we are in my MSN chat room, You are being very rude and I decide to kick you out of the room. The KICK text would be generated as such:

: Fires a quick flurry of shots around "USER'S NICK" head.

: Takes careful aim on "USER'S NICK" forehead...

: I know what you're thinking...I should have read the profiles

: How many bullets did he just fire? Was it five, or was it six?

: I was so absentminded that I just clean forgot...

: So if I was you, I'd be asking myself just one question....

: Not shut dawn yet I see

: Do I feel lucky?.....

: Well do ya? Do ya feel lucky PUNK?

: Go Ahead... MAKE MY DAY!

:HOST: "OWNER NICK" kicked:"USER NICK" out of the chatroom: "KICK MESSAGE"



I am interested in in putting a little humour into being kicked out of a room..lol unfortunatley I am not yet educated enough with script to do it myself If anyone could help on this it would be much appreciated..

If I am asking something that is out of line...please excuse the ignorance Im just trying to learn. confused


Thank's in advance,
dre

#59903 11/11/03 10:38 PM
Joined: Dec 2002
Posts: 417
O
Fjord artisan
Offline
Fjord artisan
O
Joined: Dec 2002
Posts: 417
The best way to go about this is put all the lines into one text
Name the Text Kick.txt Then every where you have "USER'S NICK"
I am taking as users nick is the knick replace "USER'S NICK"
with $knick Now save the text in your mirc folder then copy
this line into your remotes. This script should read one
random line each time a nick is kicked. If you use $nick in
the text it shoud reffer to the nick who kicked the UDER NICK


On *:KICK:#YOURCHAN: { msg # $read(kick.txt) }





Intelligence: It's better to ask a stupid question, then to prove it by not asking....
#59904 12/11/03 02:50 AM
Joined: Oct 2003
Posts: 2
D
Bowl of petunias
OP Offline
Bowl of petunias
D
Joined: Oct 2003
Posts: 2
shocked OMGthank you so much grin If I may ask another question of you? The kick text that I have included in my initial post.. I would like to read it one line at a time with about 2 second delay in between sentences as to avoid flooding. How much more complex does this make it...?

I was reading and what I have gathered is perhaps using something like this?

. .As Text:/play # $dir="select a txt file" $mircdir $+ *.txt 2000


I am going to go out on a limb and assume that I would have to save each line of text as a separate .txt file and repeat the line above the number of times there are sentences in my kick message so to do the kick in my inital post....Im thinking 9 times .....lol why do I think there has got to be an easier way to do this lol .. confused

Anyway thx for your time in advance grin

dre

#59905 12/11/03 04:50 AM
Joined: Dec 2002
Posts: 417
O
Fjord artisan
Offline
Fjord artisan
O
Joined: Dec 2002
Posts: 417
If you wish it to play a text then you would use this
But this would play the whole text within the Kick.txt
Where as on my other post it would read one ramdom
line on each kick.

On *:KICK:#YOURCHAN: { play kick.txt }




Intelligence: It's better to ask a stupid question, then to prove it by not asking....

Link Copied to Clipboard