gfxgfx
 
Please login or register.

Login with username, password and session length
 
gfx gfx
gfx
76777 Posts in 13503 Topics by 1651 Members - Latest Member: insider4ever May 20, 2024, 08:37:10 pm
*
gfx*gfx
gfx
WinMX World :: Forum  |  Metis Scripts and Help  |  Metis Script Help  |  Help Please
gfx
gfxgfx
 

Author Topic: Help Please  (Read 17396 times)

0 Members and 1 Guest are viewing this topic.

Offline gypsyroadhog

  • Forum Member
Help Please
« on: November 30, 2010, 09:32:47 pm »
Hi
could some1 do a little script that when 1 my bots says something it will trigger another script
E.G.
i have done a winners script...but want some thing that says  WIN
then that triggers my winner script to display
i just cant think how to do this
Cheers if any1 can help :)

Offline Pri

  • MX Hosts
  • *****
  • *****
Re: Help Please
« Reply #1 on: November 30, 2010, 10:51:59 pm »
<command type="script">
<in>!winner</in>
<out>WIN</out>
<out type="self">!winnerscript</out>
</command>

When a user types !winner the bot will output the word WIN and then try to execute another script you have loaded which uses the trigger !winnerscript edit this code for application in your room :)

Offline gypsyroadhog

  • Forum Member
Re: Help Please
« Reply #2 on: December 01, 2010, 12:03:30 pm »
Thankyou very much will give that a go :)

Offline gypsyroadhog

  • Forum Member
Re: Help Please
« Reply #3 on: December 01, 2010, 07:26:21 pm »
Thanks that worked good
but wasnt what i was after sorry
i wanted 1 my bots to trigger...say at the end of the game
i dont want users to trigger it

Offline Pri

  • MX Hosts
  • *****
  • *****
Re: Help Please
« Reply #4 on: December 01, 2010, 07:29:56 pm »
Thanks that worked good
but wasnt what i was after sorry
i wanted 1 my bots to trigger...say at the end of the game
i dont want users to trigger it

You can edit it to suit your needs. For example just adding <out type="self">!winnerscript</out> that line to your current script will make that script run another script.

Offline Joshua203

  • MX Hosts
  • *****
  • *****
  • www.DutchaGoGo.com
    • www.DutchaGoGo.com and a few more like WinMX.ComXa.com and WinMX.ExoFire.net
Re: Help Please
« Reply #5 on: December 01, 2010, 08:56:46 pm »
adding to what pri is saying ...and the other script should be limited to the bot only (usergroup)
Windows 7 Ultimate 64bit Edition, CPU Intel64 Family 6 Model 26 Stepping 5 Genuine Intel Intel(R) Core(TM) i7 CPU 930 @ 2.80GHz, RAM: 12GB

WebSite: www.DutchaGoGo.com

Offline gypsyroadhog

  • Forum Member
Re: Help Please
« Reply #6 on: December 03, 2010, 08:43:56 pm »
Thanks
would any1 have......Trivia Plugin for RoboMX
ive tried the download on the tutorials but it doesnt work  :no:

Offline Joshua203

  • MX Hosts
  • *****
  • *****
  • www.DutchaGoGo.com
    • www.DutchaGoGo.com and a few more like WinMX.ComXa.com and WinMX.ExoFire.net
Re: Help Please
« Reply #7 on: December 03, 2010, 08:54:55 pm »
you could ve looked in the archive hehehe

i asume you want this one?

Windows 7 Ultimate 64bit Edition, CPU Intel64 Family 6 Model 26 Stepping 5 Genuine Intel Intel(R) Core(TM) i7 CPU 930 @ 2.80GHz, RAM: 12GB

WebSite: www.DutchaGoGo.com

Offline gypsyroadhog

  • Forum Member
Re: Help Please
« Reply #8 on: December 03, 2010, 09:19:20 pm »
Thanks Joshua
Why does it say %NAME% will give a name without numbers after
yet it does give numbers after username?
In the Variables i mean e.g.
%NAME%          - Username without ID

Offline Stevi

  • #1 DJ
  • MX Hosts
  • *****
  • Ooops! I blew up the commercials!
    • WinMX Radio
Re: Help Please
« Reply #9 on: December 03, 2010, 09:51:42 pm »
It will not display the unique numbers that are generated by WinMX.

e.g. Username302_27974 will display as Username

However if there is more numbers after the username, it will display all except the last 8.

e.g. Username2009302_27974 will display as Username2009

Offline gypsyroadhog

  • Forum Member
Re: Help Please
« Reply #10 on: December 03, 2010, 10:02:08 pm »
okies i understand that but could you explain why my rooms displaying it like this

<Trivia> gypsyroadhog_352_31940 gave the correct answer (red)

Offline Stevi

  • #1 DJ
  • MX Hosts
  • *****
  • Ooops! I blew up the commercials!
    • WinMX Radio
Re: Help Please
« Reply #11 on: December 03, 2010, 10:43:52 pm »
Check your MXC.xml file and look in the trivia area. Make sure that it says %NAME% and not %RAWNAME%. If it already says %NAME% try and change it to %RAWNAME% and change it back. After that instead of just reloading the bot, close it and reopen it.

What chat server are you running?

Offline Joshua203

  • MX Hosts
  • *****
  • *****
  • www.DutchaGoGo.com
    • www.DutchaGoGo.com and a few more like WinMX.ComXa.com and WinMX.ExoFire.net
Re: Help Please
« Reply #12 on: December 03, 2010, 10:44:43 pm »
maybe it would help if you showed some of the code used, gave your full winmx name including ID number (maybe replaced with ***_***** for privacy)

or ... what happens if you use %NICK% for this verry special case?  :)
Windows 7 Ultimate 64bit Edition, CPU Intel64 Family 6 Model 26 Stepping 5 Genuine Intel Intel(R) Core(TM) i7 CPU 930 @ 2.80GHz, RAM: 12GB

WebSite: www.DutchaGoGo.com

Offline gypsyroadhog

  • Forum Member
Re: Help Please
« Reply #13 on: December 03, 2010, 11:06:27 pm »
I'm using RSWCS as server
Also now all im using with it is RoboMX and not using the script i said about
Could it be the fact i named myself
gypsyroadhog_352_31940
should i get rid the _   so my name is
gypsyroadhog352

Offline Stevi

  • #1 DJ
  • MX Hosts
  • *****
  • Ooops! I blew up the commercials!
    • WinMX Radio
Re: Help Please
« Reply #14 on: December 03, 2010, 11:37:48 pm »
The problem you are referring to is not located in the Trivia.xml file you downloaded from here. All that type of trivia information is located in the MXC.xml file which is the main config file for Metis. I would try as Joshua said and try the %NICK% variable and see what happens. You can try changing your name, however if other users that don't have that at the end of their name is having this problem also, then we can definitely say that your name isn't the problem.

Offline Joshua203

  • MX Hosts
  • *****
  • *****
  • www.DutchaGoGo.com
    • www.DutchaGoGo.com and a few more like WinMX.ComXa.com and WinMX.ExoFire.net
Re: Help Please
« Reply #15 on: December 04, 2010, 10:46:59 am »
off topic but ...me wonderzzz where stevi found the ON AIR sign ..... lolllllll  :D
Windows 7 Ultimate 64bit Edition, CPU Intel64 Family 6 Model 26 Stepping 5 Genuine Intel Intel(R) Core(TM) i7 CPU 930 @ 2.80GHz, RAM: 12GB

WebSite: www.DutchaGoGo.com

Offline Stevi

  • #1 DJ
  • MX Hosts
  • *****
  • Ooops! I blew up the commercials!
    • WinMX Radio
Re: Help Please
« Reply #16 on: December 04, 2010, 05:22:54 pm »
lol Google helped me find one.

Offline Joshua203

  • MX Hosts
  • *****
  • *****
  • www.DutchaGoGo.com
    • www.DutchaGoGo.com and a few more like WinMX.ComXa.com and WinMX.ExoFire.net
Re: Help Please
« Reply #17 on: December 04, 2010, 05:31:46 pm »
oooooh hehe i could ve sworn something different, at least we got the same taste  :yes:
Windows 7 Ultimate 64bit Edition, CPU Intel64 Family 6 Model 26 Stepping 5 Genuine Intel Intel(R) Core(TM) i7 CPU 930 @ 2.80GHz, RAM: 12GB

WebSite: www.DutchaGoGo.com

Offline Pri

  • MX Hosts
  • *****
  • *****
Re: Help Please
« Reply #18 on: December 04, 2010, 07:23:38 pm »
oooooh hehe i could ve sworn something different, at least we got the same taste  :yes:

The %NICK% variable in Metis doesn't work. You can only use %NAME% and %RAWNAME%

Just another one of those things that's in the documentation and not actually implemented.  :ugly:

Offline Joshua203

  • MX Hosts
  • *****
  • *****
  • www.DutchaGoGo.com
    • www.DutchaGoGo.com and a few more like WinMX.ComXa.com and WinMX.ExoFire.net
Re: Help Please
« Reply #19 on: December 04, 2010, 07:33:18 pm »
uuuhm could that depend on what version of metis is in use Pri?

i m quite sure in my metis NICK is working ..if memory serves me right .. i still  use test6
Windows 7 Ultimate 64bit Edition, CPU Intel64 Family 6 Model 26 Stepping 5 Genuine Intel Intel(R) Core(TM) i7 CPU 930 @ 2.80GHz, RAM: 12GB

WebSite: www.DutchaGoGo.com

WinMX World :: Forum  |  Metis Scripts and Help  |  Metis Script Help  |  Help Please
 

gfxgfx
gfx
©2005-2024 WinMXWorld.com. All Rights Reserved.
SMF 2.0.19 | SMF © 2021, Simple Machines | Terms and Policies
Page created in 0.016 seconds with 18 queries.
Helios Multi © Bloc
gfx
Powered by MySQL Powered by PHP Valid XHTML 1.0! Valid CSS!