mIRC Home    About    Download    Register    News    Help

Print Thread
#97889 18/09/04 02:46 PM
M
MrDoom
MrDoom
M
hey guys i am new to irc and i have a question about remote scripts?i think?my problem is that i would like to have a script that when i type something like !rules that it will pop up in the channel as "rules are:no requesting,no directing,no locked cams."is there a way to make a script to do that so that all the ops in my room can use that command?i hope i have worded this right so as to receive an answer.any and all help would be much appreciated!thank you if you need more info please ask.and thanks in advance for any help.

#97890 18/09/04 03:01 PM
C
croyfer
croyfer
C
Code:
alias rules /msg $chan Bla bla here are the rules !

on *:TEXT:!rules:#tester2 {
  if ($nick isreg #tester2) goto end
  /rules /msg $chan Bla bla here are the rules !
  else goto end
}


Now the ops can type !rules, and you will announce the rules.
For you to announce the rules type /rules

Last edited by croyfer; 18/09/04 03:03 PM.
#97891 18/09/04 03:18 PM
M
MrDoom
MrDoom
M
i tryed the script that you send bt i still cannot get it to work,sry!

#97892 18/09/04 03:24 PM
C
croyfer
croyfer
C
Put all the code in the remote section - and change #tester2 to YOUR channel =)

#97893 18/09/04 04:54 PM
Joined: Jun 2004
Posts: 291
W
Fjord artisan
Offline
Fjord artisan
W
Joined: Jun 2004
Posts: 291
theres no :end on that script
so you cant /goto end
try:
alias rules {
if ($1 !isop #yourchannelhere) { goto end }
msg #yourchannelhere Rules are:
msg #yourchannelhere 1) rule 1
msg #yourchannelhere 2) rule 2

:end
}

on *:TEXT:!rules*:#channel:{
rules $nick
}


or if you wanted just 1 person to see it you could use
//notice command

on *:TEXT:!rules*:#channel: {
notice $nick rules:
notice $nick 1) rule 1
notice $nick 2) rule 2
}




Link Copied to Clipboard