mIRC Home    About    Download    Register    News    Help

Print Thread
#154034 26/07/06 10:17 AM
Joined: Jul 2006
Posts: 4
1
1859 Offline OP
Self-satisified door
OP Offline
Self-satisified door
1
Joined: Jul 2006
Posts: 4
I need something if i say !change 87 , that the topic changes in Welcome to .. ... The World is 87 .. , If somebody says !world , that they see 87 ,

Like this :

<1859 > !change 87
<bot> The topic changed .. Welcome to ..... The World is 87 ..

<1859 > !World
<bot> The Current world is 87

Can somebody help me?

Last edited by 1859; 26/07/06 10:20 AM.
#154035 26/07/06 11:43 AM
Joined: Dec 2005
Posts: 58
S
Babel fish
Offline
Babel fish
S
Joined: Dec 2005
Posts: 58
Code:
on *:TEXT:*:#urchan:{
if ($1 == !change) { set %world $2 | msg $chan The topic changed .. Welcome to ..... The World is $2 .. }
if ($1 == !world) &amp;&amp; (%world) { msg $chan The Current world is %world }
}


i like that
#154036 26/07/06 12:36 PM
Joined: Jul 2006
Posts: 1
Mostly harmless
Offline
Mostly harmless
Joined: Jul 2006
Posts: 1
on *:TEXT:*:#urchan:{
if $me = bot
{ if ($1 == !change) {
set %world $2
topic $chan %world
msg $chan The topic changed .. Welcome to ..... The World is $2 ..
}
if ($1 == !world) {
msg $chan The Current world is %world
}
}
unset %world
}


,,,, Its a Wonderful Wonderful Life ,,,,
#154037 26/07/06 11:19 PM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
Quote:
unset %world


Well thats not gonna help with the !world command now!

#154038 28/07/06 08:04 PM
Joined: Jul 2006
Posts: 4
1
1859 Offline OP
Self-satisified door
OP Offline
Self-satisified door
1
Joined: Jul 2006
Posts: 4
What one is good ?:S


Link Copied to Clipboard