Skip to content
General IRCd

Problem

A TG007 community discussion started by wizard1970.

Discussion 8 posts
Page 1 of 1
Open
Topic #11326 · 8 published posts · 2,003 views

I have a script and when I try to enter the room, gives this error

 

/dll: unable to open 'C:\DOCUME~1\....\MYDOCU~1\Os' (line 221, conn.mrc)

 

and the lines are:

 

Line 221 --> dll %m SetMircVersion $version

dll %m MarkDialog %d

dll %m SetControlMDX %d 2 ListView report grid flatsb nosortheader > $bc.ff(views.mdx)

did -i %d 2 1 headerdims 120 34 35 160

did -i %d 2 1 headertext sala $chr(9) usr $chr(9) cat $chr(9) tópico

did -i %d 2 1 seticon normal 0, $+ $bc.ff(bc.ico)

slist

 

 

Anybody know what this is?

thanks

make sure %m is set to the path of your mdx file

 

i personally wouldn't use all those vars

 

i would use an alias

 

dll $mdx SetMircVersion $version

Get information about ircWx here

...i personally wouldn't use all those vars....

 

:o !

You need to put quotes around the file path if you are going to run it from a directory with spaces in its name.

and this?

I want to put only owners doing this command

 

on 5:text:*:#: {

tokenize 32 $strip($1-)

if ($1 == !mute) {

if ($address($2,2)) mode $chan +bb ~q: $+ $v1 ~n: $+ $v1

else msg $chan No address found for $2 $+ .

mode $chan -aohv $2 $2 $2 $2

msg $chan $2 Just Muted You For Reason: $iif($3,$3-,Blatent Retardation.)

}

on 5:text:*:#:{

tokenize 32 $strip($1-)

if ($1 == !unmute) {

if ($address($2,2)) mode $chan -bb ~q: $+ $v1 ~n: $+ $v11

else msg $chan No address found for $2 $+ .

mode $chan +v $2

msg $chan You have been unmuted... That was your only warning.. Do not annoy me again or you will be banned.

}

}

 

is possible?

thanks

You cannot put those two events in the same script. The bottom one will never trigger. Put them together. Use if and elseif.

 

Only owners can make it work? Start the event with:

 

if ($nick !isowner $chan) { return }

like this

 

 

on 5:text:*:#: {

tokenize 32 $strip($1-)

if ($1 == !mute) {

if ($address($2,2)) mode $chan +bb ~q: $+ $v1 ~n: $+ $v1

else msg $chan No address found for $2 $+ .

mode $chan -aohv $2 $2 $2 $2

msg $chan $2 Just Muted You For Reason: $iif($3,$3-,Blatent Retardation.)

}

elseif ($1 == !unmute) {

if ($address($2,2)) mode $chan -bb ~q: $+ $v1 ~n: $+ $v1

else msg $chan No address found for $2 $+ .

mode $chan +v $2

msg $chan You have been unmuted... That was your only warning.. Do not annoy me again or you will be banned.

}

}

My code does NOT have bugs. It just develops random features.

works great, thanks for the good work, congratulations

thanks guys