mIRC Home    About    Download    Register    News    Help

Print Thread
#141434 09/02/06 11:44 AM
Joined: Jan 2006
Posts: 4
P
PoPcorn Offline OP
Self-satisified door
OP Offline
Self-satisified door
P
Joined: Jan 2006
Posts: 4
both these scripts
Code:
on *:JOIN:#:{
  notice $nick $+(%,$chan,onjoinmsg)
}

on *:JOIN:#:{
  notice $nick % $+ $chan $+ onjoinmsg
} 

will notice the person the variable name "%#egsampleonjoinmsg"
but i want it to sent the text in the variable
any suggestions?
( the onjoinmsg variables are allready set)

Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Code:
 on *:join:#:{
 .notice $nick $($+(%,chan,onjoinmsg),2)
 }
 

Joined: Jan 2006
Posts: 4
P
PoPcorn Offline OP
Self-satisified door
OP Offline
Self-satisified door
P
Joined: Jan 2006
Posts: 4
ty very much for the help smile

Last edited by PoPcorn; 09/02/06 12:58 PM.
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
just my personal choice here but i always find using dynamic names like $+(%,on.join.msg.,$chan) much nicer to look at (even think about)

%on.join.msg.channel vs %channelonjoinmsg
%on.join.msg.#bobcats vs %#bobcatsonjoinmsg

* Russels already given the correct answer Im just commenting about something


Link Copied to Clipboard