mIRC Home    About    Download    Register    News    Help

Print Thread
#240551 13/02/13 07:44 PM
Joined: Dec 2010
Posts: 89
D
Babel fish
OP Offline
Babel fish
D
Joined: Dec 2010
Posts: 89
I'm making a script, which uses Text balloons ($tip) and ever since I made the script, it's always coming up with this...
Quote:
1 Unknown command
-
1 Unknown command
-
1 Unknown command
-
1 Unknown command
-
1 Unknown command
-
1 Unknown command
-
1 Unknown command
-
1 Unknown command
-
1 Unknown command
-
1 Unknown command
-
2 Unknown command
-
1 Unknown command

loads of stuff like that when a text balloon appears, and it happens on everything, it appears in the main window thing, where you appear when you first open mIRC. where all the other stuff is echo'd.
As far as I know, I have not done anything wrong in script, so wassup with it shocked?
Quote:
if ($readini(Notes.ini,settings,Bubbles) == true) {
$tip(Minigun,Minigun hacker,AC has alerted of a possible minigun hacker,8)
}

some code which uses the $tip command (it's an alert system, alerts administrators of certain events ingame - through an echo channel)

Last edited by dominic_eddy; 13/02/13 07:44 PM.
Joined: Jun 2007
Posts: 933
5
Hoopy frood
Offline
Hoopy frood
5
Joined: Jun 2007
Posts: 933
From the help file:
Quote:
$tip(name,title,text,delay,iconfn,iconpos,alias,wid)
Returns Nth position of tip if it was successfully created, zero if not.


So for you it returns 1 or 2, which, given your script, is executed as a command. These commands/aliases don't exist of course.
Try scripting it as: noop $tip(...)

5618 #240554 13/02/13 09:08 PM
Joined: Dec 2010
Posts: 89
D
Babel fish
OP Offline
Babel fish
D
Joined: Dec 2010
Posts: 89
worked! thanks again!
*bows down to 5618*


Link Copied to Clipboard