mIRC Home    About    Download    Register    News    Help

Print Thread
#109411 29/01/05 08:16 AM
Joined: Jan 2005
Posts: 16
D
Deviant Offline OP
Pikka bird
OP Offline
Pikka bird
D
Joined: Jan 2005
Posts: 16
on 1:JOIN:#SuGaR-CuLt:/mode #SuGaR-CuLt +o $1 | /notice $1 Welcome to #SuGaR-CuLt

Whenever someone joins the room #SuGaR-CuLt
It doesn't op them ;\

#109412 29/01/05 08:17 AM
Joined: Oct 2003
Posts: 96
J
Babel fish
Offline
Babel fish
J
Joined: Oct 2003
Posts: 96
try this instead

Code:
on @1:JOIN:#SuGaR-CuLt:/mode #SuGaR-CuLt +o $nick | /notice $nick Welcome to #SuGaR-CuLt


/help on join

#109413 29/01/05 08:31 AM
Joined: Jan 2005
Posts: 16
D
Deviant Offline OP
Pikka bird
OP Offline
Pikka bird
D
Joined: Jan 2005
Posts: 16
YaY it worked, Thank you ;D
I know it was a dumb question but I'm a n00b to scripting lol
Thanks again

#109414 29/01/05 09:06 AM
Joined: Jan 2005
Posts: 16
D
Deviant Offline OP
Pikka bird
OP Offline
Pikka bird
D
Joined: Jan 2005
Posts: 16
Theres one other thing I kinda needed help with
Code:
on 1:TOPIC:#Gothic:/topic #Gothic Gøth§, f®èåk§, ÄñÐ mê†ÅlhèåЧ uñï^`2020ê | /msg $nick 13,1A14,1uto msg: 13,1D14,1on't chage the topic in #Gothic kthnx (Set by AdAmAs) | /halt [code]  


It floods me off because when I change the topic back..it messages me too and it keeps going till I'm flooded off
Example:
(6:54pm) * Cuddlebunneh changes topic to 'hi'
(6:54pm) * Deviant changes topic to 'Gøth§, f®èåk§, ÄñÐ mê†ÅlhèåЧ uñï^`2020ê'
(6:54pm) * Deviant changes topic to 'Gøth§, f®èåk§, ÄñÐ mê†ÅlhèåЧ uñï^`2020ê'
(6:54pm) * Deviant changes topic to 'Gøth§, f®èåk§, ÄñÐ mê†ÅlhèåЧ uñï^`2020ê'
(6:54pm) * Deviant changes topic to 'Gøth§, f®èåk§, ÄñÐ mê†ÅlhèåЧ uñï^`2020ê'
(6:54pm) * Deviant changes topic to 'Gøth§, f®èåk§, ÄñÐ mê†ÅlhèåЧ uñï^`2020ê'
(6:54pm) * Deviant changes topic to 'Gøth§, f®èåk§, ÄñÐ mê†ÅlhèåЧ uñï^`2020ê'
(6:54pm) * Deviant changes topic to 'Gøth§, f®èåk§, ÄñÐ mê†ÅlhèåЧ uñï^`2020ê'
(6:54pm) * Deviant changes topic to 'Gøth§, f®èåk§, ÄñÐ mê†ÅlhèåЧ uñï^`2020ê'
(6:54pm) * Deviant changes topic to 'Gøth§, f®èåk§, ÄñÐ mê†ÅlhèåЧ uñï^`2020ê'
(6:54pm) * Deviant changes topic to 'Gøth§, f®èåk§, ÄñÐ mê†ÅlhèåЧ uñï^`2020ê'
(6:54pm) * Disconnected

#109415 29/01/05 10:59 AM
Joined: Apr 2003
Posts: 701
K
Hoopy frood
Offline
Hoopy frood
K
Joined: Apr 2003
Posts: 701
on !1:TOPIC:#Gothic:{
topic #Gothic Gøth§, f®èåk§, ÄñÐ mê†ÅlhèåЧ uñï^`2020ê
msg $nick 13,1A14,1uto msg: 13,1D14,1on't chage the topic in #Gothic kthnx (Set by AdAmAs)
}

You can read more about that ! and others in /help prefixes
Also I always use { } around multiple commands in triggers, it prevents long lines and the use of |
and it makes the code more readable imho.

Lastly: /halt is not needed at the end of events, unless you used the ^ prefix and really want to prevent the default text ** nick changed topic to 'bleh' from displaying. And even then, I'd sometimes use /haltdef smile

#109416 29/01/05 11:04 AM
Joined: Jan 2005
Posts: 16
D
Deviant Offline OP
Pikka bird
OP Offline
Pikka bird
D
Joined: Jan 2005
Posts: 16
w0o Thanks <3333333
Sorry bout' all the lame questions lol ;x

#109417 29/01/05 01:32 PM
Joined: Aug 2003
Posts: 1,831
I
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
Probably a good idea to also add the @ prefix so it only triggers when you're opped- see /help prefixes
  • on *@!:TOPIC:#Gothic:/topic #Gothic Gøt....


Link Copied to Clipboard