mIRC Home    About    Download    Register    News    Help

Print Thread
#99093 28/09/04 09:44 PM
M
MrDoom
MrDoom
M
ok guys i got a weird question.i have made some remote scripts for the ops in my room so they can post rules and such,but now i cannot add anymore to the list.is there some sort of limit to the rmote list or something it is very strange.i have copy and pasted the original script and then just modified what it says,but they will not work.the other still do but not the new ones.i was wondering if there was a reason.here is a script that works..as an example:

on *1:text:!rules:#my channel name here:{
if ($nick isop $chan) {
msg $chan 4ROOM RULES ARE:NO REQUESTING NO DIRECTING NO LOCKED CAMS NO PMS!
}
}

i would appreciate any help or sugestions you may have,if you need more info just ask,thank you in advance. confused

#99094 28/09/04 09:55 PM
Joined: Dec 2003
Posts: 259
M
Fjord artisan
Offline
Fjord artisan
M
Joined: Dec 2003
Posts: 259
Hi there. If you have more than one on *1:text:!rules:#my channel name here: in the same script file, only the first one will work.

#99095 28/09/04 09:58 PM
M
MrDoom
MrDoom
M
they are not all named !rules...there are !rules,!mean,!cam...etc they are different triggers but same script

#99096 28/09/04 10:00 PM
Joined: Dec 2003
Posts: 259
M
Fjord artisan
Offline
Fjord artisan
M
Joined: Dec 2003
Posts: 259
It's ok then, can you paste us the last working event and the first not working?

#99097 28/09/04 10:01 PM
Joined: Feb 2004
Posts: 714
Z
Hoopy frood
Offline
Hoopy frood
Z
Joined: Feb 2004
Posts: 714
As milosh said, only the 1st ON Text event will work if you have more than one. You can try this:
Code:
on *:text:!rules:#channel {
 msg $chan 4ROOM RULES ARE:NO REQUESTING NO DIRECTING NO LOCKED CAMS NO PMS!
 msg $chan No abuse of the trout!
 msg $chan No food talk, makes me hungry!
}
This way the script will send 3 messages to the channel. You can add as many as you want, however, it is not recommended to because you can flood yourself off the server, besides of being an annoyance in other's ppl's eyes.

Hope this helps smile
Zyzzyx.

Edit: darn I took so long to write that those 2 replies were made and I didn't see it :P

Last edited by Zyzzyx26; 28/09/04 10:03 PM.
#99098 28/09/04 10:13 PM
M
MrDoom
MrDoom
M
ok lets try it again...i have one remote script that uses !rules to work.i have a nother script,same format which uses !mean to work and has it's own message..and i have another one which uses !cam to work etc...so they all work but when i try to make a new one,even cutting and pasting one that works and changing the ! like i did for all the rest,the new ones will not work,they are written exactly the same as the working ones....
one that works..same format for all,except the !rules changes and the message changes......

on *1:text:!rules:#my channel name here:{
if ($nick isop $chan) {
msg $chan 4ROOM RULES ARE:NO REQUESTING NO DIRECTING NO LOCKED CAMS NO PMS!
}
}

i am not trying to post multiple rules at once.just add new ones to my existing ones.

Last edited by MrDoom; 28/09/04 10:14 PM.
#99099 28/09/04 10:17 PM
Joined: Dec 2003
Posts: 259
M
Fjord artisan
Offline
Fjord artisan
M
Joined: Dec 2003
Posts: 259
Like I said...
Quote:
It's ok then, can you paste us the last working event and the first not working?

#99100 28/09/04 10:33 PM
M
MrDoom
MrDoom
M
first working...

on *1:text:!rules:#my channel name here:{
if ($nick isop $chan) {
msg $chan 4ROOM RULES ARE:NO REQUESTING NO DIRECTING NO LOCKED CAMS NO PMS!
}
}

last not working..

on *1:text:!spell:#my channel name here:{
if ($nick isop $chan) {
msg $chan 2ALL SPELLING ERRORS MADE BY THE LADIES WILL REQUIRE THEM TO FLASH THE ROOM FOR 15SECONDS!.THANK YOU,THIS HAS BEEN A PUBLIC SERVICE ANNOUNCEMNT!

}
}

the first one works but the second one does not for some reason.

#99101 28/09/04 10:41 PM
Joined: Feb 2004
Posts: 714
Z
Hoopy frood
Offline
Hoopy frood
Z
Joined: Feb 2004
Posts: 714
I can't tell for sure if this is it, but try something like this:
Code:
on *:text:!*:#channel: {
 if ($nick isop $chan) {
  if ($$1 == !rules) { msg $chan bla bla }
  elseif ($$1 == !spell) { msg $chan bla bla }
  elseif ($$1 == !swear) { msg $chan bla bla }
  .
  .
 }
}
Put the rules in this same ON Text with the elseif syntax and erase the other ON Texts. Maybe it will work?

#99102 28/09/04 10:46 PM
Joined: Dec 2003
Posts: 259
M
Fjord artisan
Offline
Fjord artisan
M
Joined: Dec 2003
Posts: 259
grin

#99103 28/09/04 10:46 PM
M
MrDoom
MrDoom
M
ok i will try it ty

#99104 29/09/04 04:16 PM
M
MrDoom
MrDoom
M
this script did not work either,what is the problem here they are all the same format but none of the new ones work,is there a limit on the number of remote scripts or something?someone please help this is just killing me,i am new to it and am losing interest fast!If you need to know any other info or see any other scripts please ask,i would really like to solve this dilema!thank you!


on *:text:!*:#my channel name here: {
if ($nick isop $chan) {
if ($$1 == !couple) { msg $chan 2A MAN AND HIS COCK DO NOT MAKE A COUPLE,SO PLEASE CHOOSE THE RIGHT CATEGORY FOR YOUR CAMS..THANK YOU,THIS HAS BEEN A PUBLIC SERVICE ANNOUNCEMENT!
}
elseif ($$1 == !nops) { msg $chan 12NAKED OP TUESDAY HAS NOW BEEN MOVED TO FRIDAY NIGHTS AND WILL BEGIN WITH THE TOPLESSNESS OF THE FIRST FEMALE OP.FOLLOWED BY THE REST OF THE OPS..THANK YOU,THIS HAS BEEN A PUBLIC SERVICE ANNOUNCEMENT!
}
elseif ($$1 == !ziola) { msg $chan 13 Mrs Z IS 26,LIVES IN MICHIGAN,IS SHY,DON'T TAKE PMS,AND DOESN'T SHOW ANYTHING UNLESS MR. AND MRS D ARE ON!
}
.
.
}
}

Last edited by MrDoom; 29/09/04 04:18 PM.
#99105 29/09/04 07:42 PM
Joined: Feb 2004
Posts: 714
Z
Hoopy frood
Offline
Hoopy frood
Z
Joined: Feb 2004
Posts: 714
As far as I know there isnt a limited size for a script. It's a text file (.txt, .mrc, .ini but still text) that contains the code. What it might be possible is mIRC not being able to read/understand a very big file, but it's not likely that your channel rules exceed this possible limit. I've seen huge codes in one single file.

What you can do is put the non-working ON Text events in a new file (open notepad, paste them there) and the load that file into mIRC (/load -rs "path\to\file")

Good luck,
Zyzzyx smile

#99106 29/09/04 09:39 PM
M
MrDoom
MrDoom
M
thanks it worked.

#99107 29/09/04 09:41 PM
Joined: Feb 2004
Posts: 714
Z
Hoopy frood
Offline
Hoopy frood
Z
Joined: Feb 2004
Posts: 714
Cool smile


Link Copied to Clipboard