Search found 8 matches
- Sun Sep 04, 2011 4:33 am
- Forum: Runes of Magic
- Topic: Channel Timer
- Replies: 2
- Views: 874
Re: Channel Timer
yea, chaged some function names before posting but now I think is good. in onLoad it will create a code that will supposedly run a function if I press a key, and when I press it it will run a timer. and in onLeaveCombat it will check if the timer is triggered and if it is, it will run the function t...
- Sat Sep 03, 2011 9:24 pm
- Forum: Runes of Magic
- Topic: Channel Timer
- Replies: 2
- Views: 874
Channel Timer
Hello, I'm creating a channel timer, that will make the character change to the next channel every 2 hours, and I dont always need to change channel, so I need to activate the code with a keyboard press the code is the following: in the profile <onLoad> createTimer(); </onLoad> <onLeaveCombat> activ...
- Sat Sep 03, 2011 8:52 am
- Forum: Userfunctions, waypoint scripts, etc.
- Topic: Beep when whispered
- Replies: 19
- Views: 6826
Re: Beep when whispered
the only code I'm using is: <onLoad> function beepwhispers() repeat local time, moreToCome, name, msg = EventMonitorCheck("Whispers", "4,1") if time ~= nil then printf("\a\a\a"); end until moreToCome == false end EventMonitorStart("Whispers", "CHAT_MSG_WH...
- Sat Sep 03, 2011 7:16 am
- Forum: Userfunctions, waypoint scripts, etc.
- Topic: Beep when whispered
- Replies: 19
- Views: 6826
Re: Beep when whispered
Now it beeps when whispered like it should 
the problem is that 'RB Command' macro starts being pressed like crazy
and it stops executting the code, stopping at some point
and I cant even press END to pause it
probably something in the 'repeat'
the problem is that 'RB Command' macro starts being pressed like crazy
and it stops executting the code, stopping at some point
and I cant even press END to pause it
probably something in the 'repeat'
- Sat Sep 03, 2011 4:35 am
- Forum: Userfunctions, waypoint scripts, etc.
- Topic: Beep when whispered
- Replies: 19
- Views: 6826
Re: Beep when whispered
Thank you for you quick reply.
but It now appears the following error:
but It now appears the following error:
Code: Select all
scripts\rom\bot.lua:436: onLoad error: [string "..."]:5 Error: Non-function type passed to registerTimer() where a funtion is expected.- Sat Sep 03, 2011 4:18 am
- Forum: Runes of Magic
- Topic: 'player:logout(true)' possible error
- Replies: 3
- Views: 1157
Re: 'player:logout(true)' possible error
It now works Perfectly, Thank you
- Fri Sep 02, 2011 8:53 pm
- Forum: Userfunctions, waypoint scripts, etc.
- Topic: Beep when whispered
- Replies: 19
- Views: 6826
Beep when whispered
Hello, I would like that when i'm whispered, my pc beeps. I would like the code, to work a bit like the 'gmMonitor' http://www.solarstrike.net/phpBB3/viewtopic.php?f=27&t=2516&hilit=detection A code that when detects whispers, run this code: printf("\a\a\a"); Hope you can help me :...
- Fri Sep 02, 2011 8:45 pm
- Forum: Runes of Magic
- Topic: 'player:logout(true)' possible error
- Replies: 3
- Views: 1157
'player:logout(true)' possible error
Hello, when I execute the code: player:logout(true); everything is normal except one thing, it logs off normaly but then goes to the 'character select menu', and just stands there without doing anyrhing, for the code to procede I have to press ESC once, so it exits the 'character select menu', and c...