What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » case "/bestupid" :

case "/bestupid" :
Author: Message:
Gareth_2007
Junior Member
**


Posts: 21
Joined: Mar 2007
O.P. case "/bestupid" :
i have case "/bestupid" : the rest of the code works that has been added but in the convo when you type / it brings up the command list but my command is not in it! any ideas? cheers
03-07-2007 01:15 AM
Profile E-Mail PM Find Quote Report
pollolibredegrasa
Full Member
***

Avatar
formerly fatfreechicken

Posts: 483
Reputation: 34
35 / Male / Flag
Joined: May 2005
RE: case "/bestupid" :
Look at the Scripting Documentation for GetScriptCommands or search for it on the forums, as there are plenty of examples that should help you :)
03-07-2007 01:19 AM
Profile PM Find Quote Report
Dennis Mike
Junior Member
**

Avatar

Posts: 59
Reputation: 2
33 / Male / –
Joined: Jan 2007
RE: case "/bestupid" :
you need add a code in the scriptinfo.xml
<ScriptCommands>

example
<ScriptCommands>
        <Command>
        <Name>mmusic</Name>
             <Description>Show the Messenger Music</Description>
        </Command>
        </ScriptCommands>

This post was edited on 03-07-2007 at 02:52 AM by Dennis Mike.
03-07-2007 02:52 AM
Profile PM Web Find Quote Report
Felu
Veteran Member
*****


Posts: 2223
Reputation: 72
29 / Male / Flag
Joined: Apr 2006
Status: Away
RE: case "/bestupid" :
quote:
Originally posted by Dennis Mike
you need add a code in the scriptinfo.xml
<ScriptCommands>

example
<ScriptCommands>
        <Command>
        <Name>mmusic</Name>
             <Description>Show the Messenger Music</Description>
        </Command>
        </ScriptCommands>
This can be done within the script aswell with OnEvent_GetScriptCommands just as fatfreechicken said.
03-07-2007 03:08 AM
Profile E-Mail PM Web Find Quote Report
NanaFreak
Scripting Contest Winner
*****


Posts: 1476
Reputation: 53
32 / Male / Flag
Joined: Jul 2006
RE: case "/bestupid" :
quote:
Originally posted by Dennis Mike
you need add a code in the scriptinfo.xml
<ScriptCommands>

example
<ScriptCommands>
        <Command>
        <Name>mmusic</Name>
             <Description>Show the Messenger Music</Description>
        </Command>
        </ScriptCommands>
also if you add it into the script info file, when you turn the script off you still get the / commands in the list...
03-07-2007 07:09 AM
Profile PM Find Quote Report
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
31 / Male / Flag
Joined: Apr 2004
RE: case "/bestupid" :
quote:
Originally posted by NanaFreak
also if you add it into the script info file, when you turn the script off you still get the / commands in the list...
I didn't even know that! :O Good to know, luckily I always use OnGetScriptCommands. :)
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
03-07-2007 12:20 PM
Profile E-Mail PM Web Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: RE: case "/bestupid" :
quote:
Originally posted by NanaFreak
if you add it (cfr:commands) into the script info file, when you turn the script off you still get the / commands in the list...

that would be a bug in that case... nice find... now report it :p;)

This post was edited on 03-07-2007 at 12:26 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
03-07-2007 12:26 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On