mIRC Home    About    Download    Register    News    Help

Print Thread
#154212 28/07/06 07:34 PM
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 a bot when somebod says !world , that they see
in a notice

Current world is <number>

and when i typ "!set PC <number>" that the curren world number will change

#154213 28/07/06 07:43 PM
Joined: Apr 2006
Posts: 464
O
Fjord artisan
Offline
Fjord artisan
O
Joined: Apr 2006
Posts: 464
I think your question was answered here already......

#154214 28/07/06 07:52 PM
Joined: Jul 2006
Posts: 4
1
1859 Offline OP
Self-satisified door
OP Offline
Self-satisified door
1
Joined: Jul 2006
Posts: 4
Its not working :S

#154215 28/07/06 08:50 PM
Joined: Feb 2006
Posts: 181
C
Vogon poet
Offline
Vogon poet
C
Joined: Feb 2006
Posts: 181
ON *:TEXT:!world:#:{ .notice $nick Current world is %number }

ON 1:INPUT:*:{
if ($1 == !set_PC) { /.set %number $2- }

!set_PC 99

-notice- Current world is 99

#154216 28/07/06 08:55 PM
Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
Code:
on *:input:*:{
  if (!set PC &amp; iswm $1-) &amp;&amp; ($3 isnum) {
    set %number $3
    haltdef
  } 
}
on *:text:!world:*: notice $nick Current world is %number


Link Copied to Clipboard